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
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
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
>
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
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
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
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(
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
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)
>
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
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()
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
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
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
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
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
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-
17 matches
Mail list logo