diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2023-07-19 15:24:12 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-07-19 09:56:50 -0700 |
commit | eeb2b5381038201133b52829634d2f95a4a8ac5e (patch) | |
tree | fac5712d2fba24b2cd158e7fc95b1fc10e9ea8a0 /drivers/net/ethernet/intel/i40e | |
parent | d5581966040f313c76b0f54ad76b3fb4095fddcd (diff) | |
download | linux-stable-eeb2b5381038201133b52829634d2f95a4a8ac5e.tar.gz linux-stable-eeb2b5381038201133b52829634d2f95a4a8ac5e.tar.bz2 linux-stable-eeb2b5381038201133b52829634d2f95a4a8ac5e.zip |
ice: xsk: Tx multi-buffer support
Most of this patch is about actually supporting XDP_TX action. Pure Tx
ZC support is only about looking at XDP_PKT_CONTD presence at options
field and based on that generating EOP bit on Tx HW descriptor. This is
that simple due to the implementation on
xsk_tx_peek_release_desc_batch() where we are making sure that last
produced descriptor is an EOP one.
Overwrite xdp_zc_max_segs with a value that defines max scatter-gatter
count on Tx side that HW can handle.
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/r/20230719132421.584801-16-maciej.fijalkowski@intel.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e')
0 files changed, 0 insertions, 0 deletions