niu: Add skb->rxhash support.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2010-04-22 15:48:17 -07:00
parent 927b1375f9
commit 3cfa856d6d
2 changed files with 45 additions and 14 deletions

View File

@ -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. */