mirror of
https://github.com/torvalds/linux.git
synced 2026-04-25 18:12:26 -04:00
ixgbe: adds x550 specific FCoE offloads
Adds x550 specific FCoE offloads for DDP context programming and increased DDP exchanges. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#define IXGBE_FCBUFF_MAX 65536 /* 64KB max */
|
||||
#define IXGBE_FCBUFF_MIN 4096 /* 4KB min */
|
||||
#define IXGBE_FCOE_DDP_MAX 512 /* 9 bits xid */
|
||||
#define IXGBE_FCOE_DDP_MAX_X550 2048 /* 11 bits xid */
|
||||
|
||||
/* Default traffic class to use for FCoE */
|
||||
#define IXGBE_FCOE_DEFTC 3
|
||||
@@ -77,7 +78,7 @@ struct ixgbe_fcoe {
|
||||
struct ixgbe_fcoe_ddp_pool __percpu *ddp_pool;
|
||||
atomic_t refcnt;
|
||||
spinlock_t lock;
|
||||
struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX];
|
||||
struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX_X550];
|
||||
void *extra_ddp_buffer;
|
||||
dma_addr_t extra_ddp_buffer_dma;
|
||||
unsigned long mode;
|
||||
|
||||
Reference in New Issue
Block a user