]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
idpf: add 4-byte completion descriptor definition
authorMichal Kubiak <michal.kubiak@intel.com>
Tue, 26 Aug 2025 15:54:59 +0000 (17:54 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 8 Sep 2025 18:05:17 +0000 (11:05 -0700)
commitcfe5efec9177c42f0c172713151af95a073d3359
treea183862ae43620451df6e550b0da8430233075d8
parentbd74a86bc75d35adefbebcec7c3a743d02c06230
idpf: add 4-byte completion descriptor definition

In the queue-based scheduling mode, Tx completion descriptor is 4 bytes
comparing to 8 bytes in flow-based.
Add definition for it and allocate the corresponding amount of memory
for the descriptors during the completion queue creation.
This does not include handling 4-byte completions during Tx polling, as
for now, the only user of QB will be XDP, which has its own routines.

Signed-off-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Tested-by: Ramu R <ramu.r@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_lan_txrx.h
drivers/net/ethernet/intel/idpf/idpf_txrx.c
drivers/net/ethernet/intel/idpf/idpf_txrx.h