]> 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)
commit772f369bc4623966490ac96be1ffcc0c6f9d07ce
tree49e7deb7fb3a077b4fc75bf60dd798ef0a582ad1
parent1f0daa0f9f0544472c2b4322bf8e29b3e8a21f4f
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