]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add support for traffic class tuple support for flow director by ethtool
authorJian Shen <shenjian15@huawei.com>
Mon, 22 Mar 2021 03:51:59 +0000 (11:51 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 20:04:18 +0000 (13:04 -0700)
commitceef09808a20fb35dd8c86169f16ab53ace51343
treec54980680f3cda6f62f074672cc155524b85d84b
parentd60094c193175931e0b0e17713d8c109dea0f964
net: hns3: add support for traffic class tuple support for flow director by ethtool

The hardware supports to parse and match the traffic class field
of IPv6 packet for flow director, uses the same tuple as ip tos.
So removes the limitation of configure 'tclass' by driver.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c