From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH net-next 2/3] dpaa2-eth: add rx copybreak support
Date: Fri, 02 Apr 2021 05:44:12 +0800 [thread overview]
Message-ID: <202104020528.GtxgPLPb-lkp@intel.com> (raw)
In-Reply-To: <20210401163956.766628-3-ciorneiioana@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2595 bytes --]
Hi Ioana,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Ioana-Ciornei/dpaa2-eth-add-rx-copybreak-support/20210402-022225
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 040806343bb4ef6365166eae666ced8a91b95321
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/0550b91894796909d20b7cfdcd4a751a49d708a3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ioana-Ciornei/dpaa2-eth-add-rx-copybreak-support/20210402-022225
git checkout 0550b91894796909d20b7cfdcd4a751a49d708a3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:421:17: warning: no previous prototype for 'dpaa2_eth_copybreak' [-Wmissing-prototypes]
421 | struct sk_buff *dpaa2_eth_copybreak(struct dpaa2_eth_channel *ch,
| ^~~~~~~~~~~~~~~~~~~
vim +/dpaa2_eth_copybreak +421 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
420
> 421 struct sk_buff *dpaa2_eth_copybreak(struct dpaa2_eth_channel *ch,
422 const struct dpaa2_fd *fd, void *fd_vaddr)
423 {
424 u16 fd_offset = dpaa2_fd_get_offset(fd);
425 u32 fd_length = dpaa2_fd_get_len(fd);
426 struct sk_buff *skb = NULL;
427 unsigned int skb_len;
428
429 if (fd_length > DPAA2_ETH_DEFAULT_COPYBREAK)
430 return NULL;
431
432 skb_len = fd_length + dpaa2_eth_needed_headroom(NULL);
433
434 skb = napi_alloc_skb(&ch->napi, skb_len);
435 if (!skb)
436 return NULL;
437
438 skb_reserve(skb, dpaa2_eth_needed_headroom(NULL));
439 skb_put(skb, fd_length);
440
441 memcpy(skb->data, fd_vaddr + fd_offset, fd_length);
442
443 dpaa2_eth_recycle_buf(ch->priv, ch, dpaa2_fd_get_addr(fd));
444
445 return skb;
446 }
447
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76947 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Ioana Ciornei <ciorneiioana@gmail.com>,
davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, ruxandra.radulescu@nxp.com,
Ioana Ciornei <ioana.ciornei@nxp.com>
Subject: Re: [PATCH net-next 2/3] dpaa2-eth: add rx copybreak support
Date: Fri, 2 Apr 2021 05:44:12 +0800 [thread overview]
Message-ID: <202104020528.GtxgPLPb-lkp@intel.com> (raw)
In-Reply-To: <20210401163956.766628-3-ciorneiioana@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2529 bytes --]
Hi Ioana,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Ioana-Ciornei/dpaa2-eth-add-rx-copybreak-support/20210402-022225
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 040806343bb4ef6365166eae666ced8a91b95321
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/0550b91894796909d20b7cfdcd4a751a49d708a3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ioana-Ciornei/dpaa2-eth-add-rx-copybreak-support/20210402-022225
git checkout 0550b91894796909d20b7cfdcd4a751a49d708a3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:421:17: warning: no previous prototype for 'dpaa2_eth_copybreak' [-Wmissing-prototypes]
421 | struct sk_buff *dpaa2_eth_copybreak(struct dpaa2_eth_channel *ch,
| ^~~~~~~~~~~~~~~~~~~
vim +/dpaa2_eth_copybreak +421 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
420
> 421 struct sk_buff *dpaa2_eth_copybreak(struct dpaa2_eth_channel *ch,
422 const struct dpaa2_fd *fd, void *fd_vaddr)
423 {
424 u16 fd_offset = dpaa2_fd_get_offset(fd);
425 u32 fd_length = dpaa2_fd_get_len(fd);
426 struct sk_buff *skb = NULL;
427 unsigned int skb_len;
428
429 if (fd_length > DPAA2_ETH_DEFAULT_COPYBREAK)
430 return NULL;
431
432 skb_len = fd_length + dpaa2_eth_needed_headroom(NULL);
433
434 skb = napi_alloc_skb(&ch->napi, skb_len);
435 if (!skb)
436 return NULL;
437
438 skb_reserve(skb, dpaa2_eth_needed_headroom(NULL));
439 skb_put(skb, fd_length);
440
441 memcpy(skb->data, fd_vaddr + fd_offset, fd_length);
442
443 dpaa2_eth_recycle_buf(ch->priv, ch, dpaa2_fd_get_addr(fd));
444
445 return skb;
446 }
447
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76947 bytes --]
next prev parent reply other threads:[~2021-04-01 21:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 16:39 [PATCH net-next 0/3] dpaa2-eth: add rx copybreak support Ioana Ciornei
2021-04-01 16:39 ` [PATCH net-next 1/3] dpaa2-eth: rename dpaa2_eth_xdp_release_buf into dpaa2_eth_recycle_buf Ioana Ciornei
2021-04-01 23:42 ` Andrew Lunn
2021-04-01 16:39 ` [PATCH net-next 2/3] dpaa2-eth: add rx copybreak support Ioana Ciornei
2021-04-01 18:49 ` Andrew Lunn
2021-04-01 20:13 ` Ioana Ciornei
2021-04-01 20:19 ` Andrew Lunn
2021-04-01 21:44 ` kernel test robot [this message]
2021-04-01 21:44 ` kernel test robot
2021-04-01 16:39 ` [PATCH net-next 3/3] dpaa2-eth: export the rx copybreak value as an ethtool tunable Ioana Ciornei
2021-04-01 23:41 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202104020528.GtxgPLPb-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.