aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_hw.h')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_hw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_hw.h b/drivers/net/ethernet/emulex/benet/be_hw.h
index 295ee0835ba0..6d7b3a4d3cff 100644
--- a/drivers/net/ethernet/emulex/benet/be_hw.h
+++ b/drivers/net/ethernet/emulex/benet/be_hw.h
@@ -311,6 +311,11 @@ struct amap_eth_hdr_wrb {
311 u8 vlan_tag[16]; 311 u8 vlan_tag[16];
312} __packed; 312} __packed;
313 313
314#define TX_HDR_WRB_COMPL 1 /* word 2 */
315#define TX_HDR_WRB_EVT (1 << 1) /* word 2 */
316#define TX_HDR_WRB_NUM_SHIFT 13 /* word 2: bits 13:17 */
317#define TX_HDR_WRB_NUM_MASK 0x1F /* word 2: bits 13:17 */
318
314struct be_eth_hdr_wrb { 319struct be_eth_hdr_wrb {
315 u32 dw[4]; 320 u32 dw[4];
316}; 321};