>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of Kurt
>Kanzenbach
>Sent: Friday, July 12, 2024 2:26 PM
>To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw
><[email protected]>
>Cc: Jesper Dangaard Brouer <[email protected]>; Daniel Borkmann
><[email protected]>; Sriram Yagnaraman
><[email protected]>; Richard Cochran
><[email protected]>; Kurt Kanzenbach <[email protected]>; John
>Fastabend <[email protected]>; Alexei Starovoitov <[email protected]>;
>Benjamin Steinke <[email protected]>; Eric Dumazet
><[email protected]>; Sriram Yagnaraman
><[email protected]>; [email protected];
>[email protected]; Jakub Kicinski <[email protected]>;
>[email protected]; Paolo Abeni <[email protected]>; David S. Miller
><[email protected]>; Sebastian Andrzej Siewior <[email protected]>
>Subject: [Intel-wired-lan] [PATCH iwl-next v5 4/4] igb: add AF_XDP zero-copy
>Tx support
>
>From: Sriram Yagnaraman <[email protected]>
>
>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 performs the actual packet transmit when AF_XDP zero-copy is
>enabled. We share the TX ring between slow path, XDP and AF_XDP zero-copy,
>so we use the netdev queue lock to ensure mutual exclusion.
>
>Signed-off-by: Sriram Yagnaraman <[email protected]>
>[Kurt: Set olinfo_status in igb_xmit_zc() so that frames are transmitted]
>Signed-off-by: Kurt Kanzenbach <[email protected]>
>---
> drivers/net/ethernet/intel/igb/igb.h      |  2 ++
> drivers/net/ethernet/intel/igb/igb_main.c | 56
>++++++++++++++++++++++++++-----
>drivers/net/ethernet/intel/igb/igb_xsk.c  | 53
>+++++++++++++++++++++++++++++
> 3 files changed, 102 insertions(+), 9 deletions(-)
>

Tested-by: Chandan Kumar Rout <[email protected]> (A Contingent Worker at 
Intel)

Reply via email to