> -----Original Message----- > From: Stephen Hemminger <step...@networkplumber.org> > Sent: Thursday, October 12, 2023 9:39 AM > To: Chaoyong He <chaoyong...@corigine.com> > Cc: dev@dpdk.org; oss-drivers <oss-driv...@corigine.com>; Long Wu > <long...@nephogine.com>; Nole Zhang <peng.zh...@corigine.com> > Subject: Re: [PATCH v2 05/11] net/nfp: adjust the log statement > > On Thu, 12 Oct 2023 09:26:58 +0800 > Chaoyong He <chaoyong...@corigine.com> wrote: > > > + PMD_RX_LOG(ERR, "mbuf overflow likely due to the > RX offset.\n" > > + "\t\tYour mbuf size should have extra > space for" > > + " RX offset=%u bytes.\n" > > + "\t\tCurrently you just have %u bytes > available" > > + " but the received packet is %u bytes > long", > > + hw->rx_offset, > > + rxq->mbuf_size - hw->rx_offset, > > + mb->data_len); > > Multi-line log messages with tabs look good on command line (developer) but > don't work well when application is run as a service and logging is going to > syslog. > Syslog doesn't like messages with newlines in them. > The message is way to long. Make it shorter, and put any other notes in a > comment please.. Thanks, got it. I will revise as you said in the next version.
- [PATCH 09/11] net/nfp: rename some parameter and variabl... Chaoyong He
- [PATCH 10/11] net/nfp: adjust logic to make it more read... Chaoyong He
- [PATCH 11/11] net/nfp: refact the meson build file Chaoyong He
- [PATCH v2 00/11] Unify the PMD coding style Chaoyong He
- [PATCH v2 01/11] net/nfp: explicitly compare to nul... Chaoyong He
- [PATCH v2 02/11] net/nfp: unify the indent coding s... Chaoyong He
- [PATCH v2 03/11] net/nfp: unify the type of integer... Chaoyong He
- [PATCH v2 04/11] net/nfp: standard the local variab... Chaoyong He
- [PATCH v2 05/11] net/nfp: adjust the log statement Chaoyong He
- Re: [PATCH v2 05/11] net/nfp: adjust the log st... Stephen Hemminger
- RE: [PATCH v2 05/11] net/nfp: adjust the lo... Chaoyong He
- [PATCH v2 07/11] net/nfp: standard the blank charac... Chaoyong He
- [PATCH v2 06/11] net/nfp: standard the comment styl... Chaoyong He
- [PATCH v2 08/11] net/nfp: unify the guide line of h... Chaoyong He
- [PATCH v2 09/11] net/nfp: rename some parameter and... Chaoyong He
- [PATCH v2 10/11] net/nfp: adjust logic to make it m... Chaoyong He
- [PATCH v2 11/11] net/nfp: refact the meson build fi... Chaoyong He
- [PATCH v3 00/11] Unify the PMD coding style Chaoyong He
- [PATCH v3 01/11] net/nfp: explicitly compare to... Chaoyong He
- [PATCH v3 02/11] net/nfp: unify the indent codi... Chaoyong He
- [PATCH v3 03/11] net/nfp: unify the type of int... Chaoyong He