]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix error mask definition of flow director
authorJian Shen <shenjian15@huawei.com>
Sat, 27 Feb 2021 07:24:51 +0000 (15:24 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 28 Feb 2021 20:03:59 +0000 (12:03 -0800)
commit59e26270b9ca73191cdbfc4872c6723336221cf9
tree635aff4f9b802b2e825cd0465d7cd5f2d52582a9
parent1cc1b8a89f283f4dca6a3d118590948e9539f0d4
net: hns3: fix error mask definition of flow director

Currently, some bit filed definitions of flow director TCAM
configuration command are incorrect. Since the wrong MSB is
always 0, and these fields are assgined in order, so it still works.

Fix it by redefine them.

Fixes: 5202709818f8 ("net: hns3: Add input key and action config support for flow director")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h