diff options
| author | Govindarajulu Varadarajan <_govind@gmx.com> | 2016-11-02 03:58:50 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-02 22:32:53 +0300 |
| commit | 17197236d62c44da127be461c63ac5cc2cce1e53 (patch) | |
| tree | 1ef9fed744bcc22ce321623bd3d0d79634285096 /include | |
| parent | f7a5537cd2a56b5fdd043f89d37d500b6c698422 (diff) | |
| download | linux-17197236d62c44da127be461c63ac5cc2cce1e53.tar.xz | |
enic: set skb->hash type properly
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: bf751ba802fe ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
