mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
enic: set skb->hash type properly
commit17197236d6upstream. Driver sets the skb l4/l3 hash based on NIC_CFG_RSS_HASH_TYPE_*, which is bit mask. This is wrong. Hw actually provides us enum. Use CQ_ENET_RQ_DESC_RSS_TYPE_* to set l3 and l4 hash type. Fixes:bf751ba802("driver/net: enic: record q_number and rss_hash for skb") Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net> [bwh: Backported to 3.16: drop the version bump] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
be2bf38e91
commit
1035bb5f0a
1 changed files with 12 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue