diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-22 18:48:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-22 18:48:17 -0400 |
commit | 3cfa856d6d43894ebffdc28d2f0587595280893b (patch) | |
tree | 73d38c87c33a9c856eb36406d03f39f6b63d83dd /drivers/net/niu.h | |
parent | 927b1375f9c53456b309ae12d048d41388f9f963 (diff) |
niu: Add skb->rxhash support.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.h')
-rw-r--r-- | drivers/net/niu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/niu.h b/drivers/net/niu.h index 3bd0b5933d59..d6715465f35d 100644 --- a/drivers/net/niu.h +++ b/drivers/net/niu.h | |||
@@ -2706,7 +2706,7 @@ struct rx_pkt_hdr0 { | |||
2706 | #if defined(__LITTLE_ENDIAN_BITFIELD) | 2706 | #if defined(__LITTLE_ENDIAN_BITFIELD) |
2707 | u8 inputport:2, | 2707 | u8 inputport:2, |
2708 | maccheck:1, | 2708 | maccheck:1, |
2709 | class:4; | 2709 | class:5; |
2710 | u8 vlan:1, | 2710 | u8 vlan:1, |
2711 | llcsnap:1, | 2711 | llcsnap:1, |
2712 | noport:1, | 2712 | noport:1, |
@@ -2715,7 +2715,7 @@ struct rx_pkt_hdr0 { | |||
2715 | tres:2, | 2715 | tres:2, |
2716 | tzfvld:1; | 2716 | tzfvld:1; |
2717 | #elif defined(__BIG_ENDIAN_BITFIELD) | 2717 | #elif defined(__BIG_ENDIAN_BITFIELD) |
2718 | u8 class:4, | 2718 | u8 class:5, |
2719 | maccheck:1, | 2719 | maccheck:1, |
2720 | inputport:2; | 2720 | inputport:2; |
2721 | u8 tzfvld:1, | 2721 | u8 tzfvld:1, |
@@ -2775,6 +2775,9 @@ struct rx_pkt_hdr1 { | |||
2775 | /* Bits 7:0 of hash value, H1. */ | 2775 | /* Bits 7:0 of hash value, H1. */ |
2776 | u8 hashval1_2; | 2776 | u8 hashval1_2; |
2777 | 2777 | ||
2778 | u8 hwrsvd5; | ||
2779 | u8 hwrsvd6; | ||
2780 | |||
2778 | u8 usrdata_0; /* Bits 39:32 of user data. */ | 2781 | u8 usrdata_0; /* Bits 39:32 of user data. */ |
2779 | u8 usrdata_1; /* Bits 31:24 of user data. */ | 2782 | u8 usrdata_1; /* Bits 31:24 of user data. */ |
2780 | u8 usrdata_2; /* Bits 23:16 of user data. */ | 2783 | u8 usrdata_2; /* Bits 23:16 of user data. */ |