net/hns3: fix offload flag for RSS hash
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Fri, 25 Oct 2019 12:37:03 +0000 (20:37 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:23 +0000 (19:23 +0200)
commitad7cf94823e826c85c6ba3db268ddf6c35d30db4
tree5411f9aad039169a08209523410b52e2606c3026
parent1e627b8d9956d149caa2cd4ba22479491b97b4ff
net/hns3: fix offload flag for RSS hash

This patch adds PKT_RX_RSS_HASH flag to rx packet's ol_flags
to repair the bug that hns3 pmd driver doesn't set
PKT_RX_RSS_HASH flag. In hns3 network engine RSS is always
enabled.

Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")

Signed-off-by: Hao Chen <chenhao164@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_rxtx.c