sfc: define inner/outer csum offload TXQ types
Nothing yet creates inner csum TXQs; just change all references to EFX_TXQ_TYPE_OFFLOAD to the new EFX_TXQ_TYPE_OUTER_CSUM. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
12804793b1
commit
044588b963
@@ -63,9 +63,11 @@
|
||||
* queues. */
|
||||
#define EFX_MAX_TX_TC 2
|
||||
#define EFX_MAX_CORE_TX_QUEUES (EFX_MAX_TX_TC * EFX_MAX_CHANNELS)
|
||||
#define EFX_TXQ_TYPE_OFFLOAD 1 /* flag */
|
||||
#define EFX_TXQ_TYPE_HIGHPRI 2 /* flag */
|
||||
#define EFX_TXQ_TYPES 4
|
||||
#define EFX_TXQ_TYPE_OUTER_CSUM 1 /* Outer checksum offload */
|
||||
#define EFX_TXQ_TYPE_INNER_CSUM 2 /* Inner checksum offload */
|
||||
#define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */
|
||||
#define EFX_TXQ_TYPES 8
|
||||
/* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */
|
||||
#define EFX_MAX_TXQ_PER_CHANNEL 4
|
||||
#define EFX_MAX_TX_QUEUES (EFX_MAX_TXQ_PER_CHANNEL * EFX_MAX_CHANNELS)
|
||||
|
||||
|
Reference in New Issue
Block a user