Re: [Intel-wired-lan] [PATCH net-next] igbvf: Remove two unused declarations

2024-08-16 Thread Simon Horman
On Fri, Aug 16, 2024 at 06:16:38PM +0800, Yue Haibing wrote: > There is no caller and implementations in tree. > > Signed-off-by: Yue Haibing Reviewed-by: Simon Horman

[Intel-wired-lan] [tnguy-next-queue:dev-queue] BUILD SUCCESS 9f6517a0930f644e14f3eef6787a686d0ff48ac3

2024-08-16 Thread kernel test robot
allnoconfig gcc-13.2.0 arc allyesconfig gcc-13.2.0 arc randconfig-001-20240816 gcc-13.2.0 arc randconfig-002-20240816 gcc-13.2.0 arm allmodconfig gcc-14.1.0 arm allnoconfig

Re: [Intel-wired-lan] [PATCH iwl-next v6 0/6] igb: Add support for AF_XDP zero-copy

2024-08-16 Thread Maciej Fijalkowski
On Fri, Aug 16, 2024 at 11:23:59AM +0200, Kurt Kanzenbach wrote: > This is version 6 of the AF_XDP zero-copy support for igb. Since Sriram's > duties changed I am sending this instead. Additionally, I've tested this on > real hardware, Intel i210 [1]. > > Changes since v5: > > - Rebase to 6.11 >

Re: [Intel-wired-lan] [PATCH net-next v13 04/14] mm: page_frag: add '_va' suffix to page_frag API

2024-08-16 Thread Yunsheng Lin
On 2024/8/15 23:00, Alexander Duyck wrote: > On Wed, Aug 14, 2024 at 8:00 PM Yunsheng Lin wrote: >> >> On 2024/8/14 23:49, Alexander H Duyck wrote: >>> On Thu, 2024-08-08 at 20:37 +0800, Yunsheng Lin wrote: Currently the page_frag API is returning 'virtual address' or 'va' when allocing

[Intel-wired-lan] [PATCH net-next] igbvf: Remove two unused declarations

2024-08-16 Thread Yue Haibing
There is no caller and implementations in tree. Signed-off-by: Yue Haibing --- drivers/net/ethernet/intel/igbvf/igbvf.h | 1 - drivers/net/ethernet/intel/igbvf/mbx.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igbvf/igbvf.h b/drivers/net/ethernet/intel/igbv

[Intel-wired-lan] [tnguy-net-queue:dev-queue] BUILD SUCCESS 9c2544f4a20b3c5a29974524b706ef84c3c8714d

2024-08-16 Thread kernel test robot
fig gcc-13.2.0 arc allyesconfig gcc-13.2.0 arc randconfig-001-20240816 gcc-13.2.0 arc randconfig-002-20240816 gcc-13.2.0 arm allmodconfig gcc-14.1.0 arm allnocon

Re: [Intel-wired-lan] [PATCH iwl-next v6 1/6] igb: Always call igb_xdp_ring_update_tail() under Tx lock

2024-08-16 Thread Kurt Kanzenbach
On Fri Aug 16 2024, Sebastian Andrzej Siewior wrote: > On 2024-08-16 11:24:00 [+0200], Kurt Kanzenbach wrote: >> index 11be39f435f3..4d5e5691c9bd 100644 >> --- a/drivers/net/ethernet/intel/igb/igb_main.c >> +++ b/drivers/net/ethernet/intel/igb/igb_main.c >> @@ -2914,6 +2914,7 @@ static int igb_xdp(

Re: [Intel-wired-lan] [PATCH iwl-net v3] igb: Fix not clearing TimeSync interrupts for 82580

2024-08-16 Thread Kurt Kanzenbach
On Tue Aug 13 2024, Daiwei Li wrote: > 82580 NICs have a hardware bug that makes it > necessary to write into the TSICR (TimeSync Interrupt Cause) register > to clear it: > https://lore.kernel.org/all/cdcb8be0.1ec2c%25matthew.v...@intel.com/ > > Add a conditional so only for 82580 we write into the

Re: [Intel-wired-lan] [PATCH iwl-next v6 1/6] igb: Always call igb_xdp_ring_update_tail() under Tx lock

2024-08-16 Thread Sebastian Andrzej Siewior
On 2024-08-16 11:24:00 [+0200], Kurt Kanzenbach wrote: > index 11be39f435f3..4d5e5691c9bd 100644 > --- a/drivers/net/ethernet/intel/igb/igb_main.c > +++ b/drivers/net/ethernet/intel/igb/igb_main.c > @@ -2914,6 +2914,7 @@ static int igb_xdp(struct net_device *dev, struct > netdev_bpf *xdp) >

[Intel-wired-lan] [PATCH iwl-next v6 5/6] igb: Add AF_XDP zero-copy Rx support

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add support for AF_XDP zero-copy receive path. When AF_XDP zero-copy is enabled, the rx buffers are allocated from the xsk buff pool using igb_alloc_rx_buffers_zc(). Use xsk_pool_get_rx_frame_size() to set SRRCTL rx buf size when zero-copy is enabled. Signed-off-by: Sri

[Intel-wired-lan] [PATCH iwl-next v6 6/6] igb: Add AF_XDP zero-copy Tx support

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add support for AF_XDP zero-copy transmit path. A new TX buffer type IGB_TYPE_XSK is introduced to indicate that the Tx frame was allocated from the xsk buff pool, so igb_clean_tx_ring() and igb_clean_tx_irq() can clean the buffers correctly based on type. igb_xmit_zc()

[Intel-wired-lan] [PATCH iwl-next v6 4/6] igb: Introduce XSK data structures and helpers

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Add the following ring flag: - IGB_RING_FLAG_TX_DISABLED (when xsk pool is being setup) Add a xdp_buff array for use with XSK receive batch API, and a pointer to xsk_pool in igb_adapter. Add enable/disable functions for TX and RX rings. Add enable/disable functions for X

[Intel-wired-lan] [PATCH iwl-next v6 2/6] igb: Remove static qualifiers

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Remove static qualifiers on the following functions to be able to call from XSK specific file that is added in the later patches: - igb_xdp_tx_queue_mapping() - igb_xdp_ring_update_tail() - igb_clean_tx_ring() - igb_clean_rx_ring() - igb_xdp_xmit_back() - igb_process_skb_f

[Intel-wired-lan] [PATCH iwl-next v6 0/6] igb: Add support for AF_XDP zero-copy

2024-08-16 Thread Kurt Kanzenbach
This is version 6 of the AF_XDP zero-copy support for igb. Since Sriram's duties changed I am sending this instead. Additionally, I've tested this on real hardware, Intel i210 [1]. Changes since v5: - Rebase to 6.11 - Fix set-but-unused variable warnings - Split first patches (Maciej) - Add R

[Intel-wired-lan] [PATCH iwl-next v6 3/6] igb: Introduce igb_xdp_is_enabled()

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Introduce igb_xdp_is_enabled() to check if an XDP program is assigned to the device. Use that wherever xdp_prog is read and evaluated. Signed-off-by: Sriram Yagnaraman [Kurt: Split patches and use READ_ONCE()] Signed-off-by: Kurt Kanzenbach --- drivers/net/ethernet/int

[Intel-wired-lan] [PATCH iwl-next v6 1/6] igb: Always call igb_xdp_ring_update_tail() under Tx lock

2024-08-16 Thread Kurt Kanzenbach
From: Sriram Yagnaraman Always call igb_xdp_ring_update_tail() under __netif_tx_lock(), add a comment to indicate that. This is needed to share the same TX ring between XDP, XSK and slow paths. Signed-off-by: Sriram Yagnaraman [Kurt: Split patches] Signed-off-by: Kurt Kanzenbach --- drivers/n

[Intel-wired-lan] [tnguy-next-queue:10GbE] BUILD SUCCESS a9c60712d71ff07197b2982899b9db28ed548ded

2024-08-16 Thread kernel test robot
13.2.0 arc nsimosci_hs_smp_defconfig gcc-13.2.0 arc randconfig-001-20240815 gcc-13.2.0 arc randconfig-001-20240816 gcc-13.2.0 arc randconfig-002-20240815 gcc-13.2.0 arc randconfig-002-20240816 gcc-