net/hns3: check input RSS type when creating flow with RSS
authorLijun Ou <oulijun@huawei.com>
Tue, 22 Sep 2020 12:03:23 +0000 (20:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:11 +0000 (19:19 +0200)
commit23d7a14d117cd37281415385e77ab48414ad03b5
treee2ef39e3f2a471158a10f7dc417f6a7000fc131b
parenta22bff98ac3a49f91daba984b4e16e8214c261e5
net/hns3: check input RSS type when creating flow with RSS

This patch adds checking the input RSS type when creating a flow with RSS.
If the input RSS type are not supported based on hns3 network engine, an
error is returned.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_flow.c