]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Determine tcp/ipv6 RSS hash type correctly.
authorMichael Chan <mchan@broadcom.com>
Thu, 5 Nov 2015 21:25:48 +0000 (16:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Nov 2015 21:33:08 +0000 (16:33 -0500)
commita8e9acca6988fe6ca047982a7a4b206192648663
tree49e7deb7fb3a077b4fc75bf60dd798ef0a582ad1
parent50e24a441ef17ef7659302d70529c746861a1692
bnxt_en: Determine tcp/ipv6 RSS hash type correctly.

The profile ID in the completion record needs to be ANDed with the
profile ID mask of 0x1f.  This bug was causing the SKB hash type
and the gso_type to be wrong in some cases.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.h