diff options
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index e6a2153e8b95..8354efc1111d 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -332,6 +332,11 @@ struct l2_fhdr { | |||
332 | #define BNX2_L2CTX_NX_BDHADDR_LO 0x00000014 | 332 | #define BNX2_L2CTX_NX_BDHADDR_LO 0x00000014 |
333 | #define BNX2_L2CTX_NX_BDIDX 0x00000018 | 333 | #define BNX2_L2CTX_NX_BDIDX 0x00000018 |
334 | 334 | ||
335 | #define BNX2_L2CTX_HOST_PG_BDIDX 0x00000044 | ||
336 | #define BNX2_L2CTX_PG_BUF_SIZE 0x00000048 | ||
337 | #define BNX2_L2CTX_RBDC_KEY 0x0000004c | ||
338 | #define BNX2_L2CTX_NX_PG_BDHADDR_HI 0x00000050 | ||
339 | #define BNX2_L2CTX_NX_PG_BDHADDR_LO 0x00000054 | ||
335 | 340 | ||
336 | /* | 341 | /* |
337 | * pci_config_l definition | 342 | * pci_config_l definition |
@@ -6336,7 +6341,7 @@ struct l2_fhdr { | |||
6336 | #define MAX_ETHERNET_PACKET_SIZE 1514 | 6341 | #define MAX_ETHERNET_PACKET_SIZE 1514 |
6337 | #define MAX_ETHERNET_JUMBO_PACKET_SIZE 9014 | 6342 | #define MAX_ETHERNET_JUMBO_PACKET_SIZE 9014 |
6338 | 6343 | ||
6339 | #define RX_COPY_THRESH 92 | 6344 | #define RX_COPY_THRESH 128 |
6340 | 6345 | ||
6341 | #define BNX2_MISC_ENABLE_DEFAULT 0x7ffffff | 6346 | #define BNX2_MISC_ENABLE_DEFAULT 0x7ffffff |
6342 | 6347 | ||
@@ -6513,6 +6518,7 @@ struct bnx2 { | |||
6513 | u32 rx_offset; | 6518 | u32 rx_offset; |
6514 | u32 rx_buf_use_size; /* useable size */ | 6519 | u32 rx_buf_use_size; /* useable size */ |
6515 | u32 rx_buf_size; /* with alignment */ | 6520 | u32 rx_buf_size; /* with alignment */ |
6521 | u32 rx_copy_thresh; | ||
6516 | u32 rx_max_ring_idx; | 6522 | u32 rx_max_ring_idx; |
6517 | 6523 | ||
6518 | u32 rx_prod_bseq; | 6524 | u32 rx_prod_bseq; |