]> 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)
commitae4811913f576d3a891e2ca8a3ad11746f644c69
treec54980680f3cda6f62f074672cc155524b85d84b
parentfb72699dfef8706abe203ec8c8fc69a023c161ce
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