diff options
| author | Andre Guedes <[email protected]> | 2021-04-23 06:25:53 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-05-20 17:21:24 +0000 |
| commit | 859b4dfa4115d11aa1fda7d0628a93a9d61a7c46 (patch) | |
| tree | 4af1a230a63605b43541006209761af3bc263dde /drivers/net/ethernet/intel/igc/igc_base.h | |
| parent | igc: Introduce igc_unmap_tx_buffer() helper (diff) | |
| download | kernel-859b4dfa4115d11aa1fda7d0628a93a9d61a7c46.tar.gz kernel-859b4dfa4115d11aa1fda7d0628a93a9d61a7c46.zip | |
igc: Replace IGC_TX_FLAGS_XDP flag by an enum
Up to this point, Tx buffers are associated with either a skb or a xdpf,
and the IGC_TX_FLAGS_XDP flag was enough to distinguish between these
two case. However, with upcoming patches that will add AF_XDP zero-copy
support, a third case will be introduced so this flag-based approach
won't fit well.
In preparation to land AF_XDP zero-copy support, replace the
IGC_TX_FLAGS_XDP flag by an enum which will be extended once zero-copy
support is introduced to the driver.
Signed-off-by: Andre Guedes <[email protected]>
Signed-off-by: Vedang Patel <[email protected]>
Signed-off-by: Jithu Joseph <[email protected]>
Reviewed-by: Maciej Fijalkowski <[email protected]>
Tested-by: Dvora Fuxbrumer <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_base.h')
0 files changed, 0 insertions, 0 deletions
