public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joe Damato <joe@dama.to>,
	netdev@vger.kernel.org, Michael Chan <michael.chan@broadcom.com>,
	Pavan Chebbi <pavan.chebbi@broadcom.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev, horms@kernel.org,
	linux-kernel@vger.kernel.org, leon@kernel.org,
	Joe Damato <joe@dama.to>
Subject: Re: [net-next v4 08/12] net: bnxt: Implement software USO
Date: Sun, 22 Mar 2026 16:43:44 +0800	[thread overview]
Message-ID: <202603221823.WbZUThzj-lkp@intel.com> (raw)
In-Reply-To: <20260320144141.260246-9-joe@dama.to>

Hi Joe,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 9f4960b94f1a044f76da98a765d6cbd294c22c92]

url:    https://github.com/intel-lab-lkp/linux/commits/Joe-Damato/net-tso-Introduce-tso_dma_map/20260322-071901
base:   9f4960b94f1a044f76da98a765d6cbd294c22c92
patch link:    https://lore.kernel.org/r/20260320144141.260246-9-joe%40dama.to
patch subject: [net-next v4 08/12] net: bnxt: Implement software USO
config: i386-randconfig-012-20260322 (https://download.01.org/0day-ci/archive/20260322/202603221823.WbZUThzj-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260322/202603221823.WbZUThzj-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603221823.WbZUThzj-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c: In function 'bnxt_sw_udp_gso_xmit':
>> drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c:43:20: warning: variable 'last_unmap_addr' set but not used [-Wunused-but-set-variable]
      43 |         dma_addr_t last_unmap_addr = 0;
         |                    ^~~~~~~~~~~~~~~
>> drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c:41:22: warning: variable 'last_unmap_len' set but not used [-Wunused-but-set-variable]
      41 |         unsigned int last_unmap_len = 0;
         |                      ^~~~~~~~~~~~~~


vim +/last_unmap_addr +43 drivers/net/ethernet/broadcom/bnxt/bnxt_gso.c

    33	
    34	netdev_tx_t bnxt_sw_udp_gso_xmit(struct bnxt *bp,
    35					 struct bnxt_tx_ring_info *txr,
    36					 struct netdev_queue *txq,
    37					 struct sk_buff *skb)
    38	{
    39		struct bnxt_sw_tx_bd *last_unmap_buf = NULL;
    40		unsigned int hdr_len, mss, num_segs;
  > 41		unsigned int last_unmap_len = 0;
    42		struct pci_dev *pdev = bp->pdev;
  > 43		dma_addr_t last_unmap_addr = 0;

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-03-22  8:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-20 14:41 [net-next v4 00/12] Add TSO map-once DMA helpers and bnxt SW USO support Joe Damato
2026-03-20 14:41 ` [net-next v4 01/12] net: tso: Introduce tso_dma_map Joe Damato
2026-03-20 14:41 ` [net-next v4 02/12] net: tso: Add tso_dma_map helpers Joe Damato
2026-03-20 14:41 ` [net-next v4 03/12] net: bnxt: Export bnxt_xmit_get_cfa_action Joe Damato
2026-03-20 14:41 ` [net-next v4 04/12] net: bnxt: Add a helper for tx_bd_ext Joe Damato
2026-03-20 14:41 ` [net-next v4 05/12] net: bnxt: Use dma_unmap_len for TX completion unmapping Joe Damato
2026-03-20 14:41 ` [net-next v4 06/12] net: bnxt: Add TX inline buffer infrastructure Joe Damato
2026-03-21  7:27   ` Pavan Chebbi
2026-03-20 14:41 ` [net-next v4 07/12] net: bnxt: Add boilerplate GSO code Joe Damato
2026-03-21  7:28   ` Pavan Chebbi
2026-03-20 14:41 ` [net-next v4 08/12] net: bnxt: Implement software USO Joe Damato
2026-03-21  7:29   ` Pavan Chebbi
2026-03-22  8:43   ` kernel test robot [this message]
2026-03-20 14:41 ` [net-next v4 09/12] net: bnxt: Add SW GSO completion and teardown support Joe Damato
2026-03-21  7:30   ` Pavan Chebbi
2026-03-20 14:41 ` [net-next v4 10/12] net: bnxt: Dispatch to SW USO Joe Damato
2026-03-21  7:30   ` Pavan Chebbi
2026-03-20 14:41 ` [net-next v4 11/12] net: netdevsim: Add support for " Joe Damato
2026-03-21  8:02   ` Pavan Chebbi
2026-03-20 14:41 ` [net-next v4 12/12] selftests: drv-net: Add USO test Joe Damato
2026-03-21  8:01   ` Pavan Chebbi
2026-03-21  8:15 ` [net-next v4 00/12] Add TSO map-once DMA helpers and bnxt SW USO support Pavan Chebbi

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=202603221823.WbZUThzj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=joe@dama.to \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=pavan.chebbi@broadcom.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox