From: kernel test robot <lkp@intel.com>
To: Paolo Valerio <pvalerio@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC net-next 6/6] cadence: macb/gem: introduce xmit support
Date: Sun, 23 Nov 2025 04:49:43 +0800 [thread overview]
Message-ID: <202511230432.HbfOQLRw-lkp@intel.com> (raw)
In-Reply-To: <20251119135330.551835-7-pvalerio@redhat.com>
Hi Paolo,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Paolo-Valerio/cadence-macb-gem-Add-page-pool-support/20251119-222149
base: net-next/main
patch link: https://lore.kernel.org/r/20251119135330.551835-7-pvalerio%40redhat.com
patch subject: [PATCH RFC net-next 6/6] cadence: macb/gem: introduce xmit support
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20251123/202511230432.HbfOQLRw-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e9fe08b16ea2c4d9867fb4974edf2a3776d6ece)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251123/202511230432.HbfOQLRw-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/202511230432.HbfOQLRw-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/cadence/macb_main.c:1515:3: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
1515 | struct xdp_frame *xdpf = xdp_convert_buff_to_frame(xdp);
| ^
1 warning generated.
vim +1515 drivers/net/ethernet/cadence/macb_main.c
1491
1492 static u32 gem_xdp_run(struct macb_queue *queue, struct xdp_buff *xdp,
1493 struct net_device *dev, dma_addr_t addr)
1494 {
1495 struct bpf_prog *prog;
1496 u32 act = XDP_PASS;
1497
1498 rcu_read_lock();
1499
1500 prog = rcu_dereference(queue->bp->prog);
1501 if (!prog)
1502 goto out;
1503
1504 act = bpf_prog_run_xdp(prog, xdp);
1505 switch (act) {
1506 case XDP_PASS:
1507 goto out;
1508 case XDP_REDIRECT:
1509 if (unlikely(xdp_do_redirect(dev, xdp, prog))) {
1510 act = XDP_DROP;
1511 break;
1512 }
1513 goto out;
1514 case XDP_TX:
> 1515 struct xdp_frame *xdpf = xdp_convert_buff_to_frame(xdp);
1516
1517 if (!xdpf || macb_xdp_submit_frame(queue->bp, xdpf, dev, addr))
1518 act = XDP_DROP;
1519 goto out;
1520 default:
1521 bpf_warn_invalid_xdp_action(dev, prog, act);
1522 fallthrough;
1523 case XDP_ABORTED:
1524 trace_xdp_exception(dev, prog, act);
1525 fallthrough;
1526 case XDP_DROP:
1527 break;
1528 }
1529
1530 page_pool_put_full_page(queue->page_pool,
1531 virt_to_head_page(xdp->data), true);
1532 out:
1533 rcu_read_unlock();
1534
1535 return act;
1536 }
1537
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-22 20:49 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-19 13:53 [PATCH RFC net-next 0/6] net: macb: Add XDP support and page pool integration Paolo Valerio
2025-11-19 13:53 ` [PATCH RFC net-next 1/6] cadence: macb/gem: Add page pool support Paolo Valerio
2025-11-27 13:21 ` Théo Lebrun
2025-12-02 17:30 ` Paolo Valerio
2025-11-19 13:53 ` [PATCH RFC net-next 2/6] cadence: macb/gem: handle multi-descriptor frame reception Paolo Valerio
2025-11-27 13:38 ` Théo Lebrun
2025-12-02 17:32 ` Paolo Valerio
2025-12-08 10:21 ` Théo Lebrun
2025-12-08 10:22 ` [PATCH 1/8] net: macb: move Rx buffers alloc from link up to open Théo Lebrun
2025-12-08 12:53 ` [PATCH RFC net-next 2/6] cadence: macb/gem: handle multi-descriptor frame reception Paolo Valerio
2025-12-09 9:01 ` Théo Lebrun
2025-11-19 13:53 ` [PATCH RFC net-next 3/6] cadence: macb/gem: use the current queue number for stats Paolo Valerio
2025-11-19 13:53 ` [PATCH RFC net-next 4/6] cadence: macb/gem: add XDP support for gem Paolo Valerio
2025-11-27 14:41 ` Théo Lebrun
2025-12-02 17:32 ` Paolo Valerio
2025-12-08 10:59 ` Théo Lebrun
2025-11-19 13:53 ` [PATCH RFC net-next 5/6] cadence: macb/gem: make tx path skb agnostic Paolo Valerio
2025-11-27 14:49 ` Théo Lebrun
2025-12-02 17:33 ` Paolo Valerio
2025-11-19 13:53 ` [PATCH RFC net-next 6/6] cadence: macb/gem: introduce xmit support Paolo Valerio
2025-11-22 20:49 ` kernel test robot [this message]
2025-11-27 15:07 ` Théo Lebrun
2025-12-02 17:34 ` Paolo Valerio
2025-12-08 11:01 ` Théo Lebrun
2025-11-25 16:50 ` [PATCH RFC net-next 0/6] net: macb: Add XDP support and page pool integration Théo Lebrun
2025-11-25 23:11 ` Paolo Valerio
2025-11-26 18:08 ` Théo Lebrun
2025-12-02 17:24 ` Paolo Valerio
2025-12-03 14:28 ` Théo Lebrun
-- strict thread matches above, loose matches on Subject: below --
2025-12-11 7:35 [PATCH RFC net-next 6/6] cadence: macb/gem: introduce xmit support kernel test robot
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=202511230432.HbfOQLRw-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pvalerio@redhat.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 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.