summaryrefslogtreecommitdiff
path: root/drivers/net/niu.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-04-22 15:48:17 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-22 15:48:17 -0700
commit3cfa856d6d43894ebffdc28d2f0587595280893b (patch)
tree73d38c87c33a9c856eb36406d03f39f6b63d83dd /drivers/net/niu.h
parent927b1375f9c53456b309ae12d048d41388f9f963 (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.h7
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 {
#if defined(__LITTLE_ENDIAN_BITFIELD)
u8 inputport:2,
maccheck:1,
- class:4;
+ class:5;
u8 vlan:1,
llcsnap:1,
noport:1,
@@ -2715,7 +2715,7 @@ struct rx_pkt_hdr0 {
tres:2,
tzfvld:1;
#elif defined(__BIG_ENDIAN_BITFIELD)
- u8 class:4,
+ u8 class:5,
maccheck:1,
inputport:2;
u8 tzfvld:1,
@@ -2775,6 +2775,9 @@ struct rx_pkt_hdr1 {
/* Bits 7:0 of hash value, H1. */
u8 hashval1_2;
+ u8 hwrsvd5;
+ u8 hwrsvd6;
+
u8 usrdata_0; /* Bits 39:32 of user data. */
u8 usrdata_1; /* Bits 31:24 of user data. */
u8 usrdata_2; /* Bits 23:16 of user data. */