]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove useless proto_support field in struct hclge_fd_cfg
authorGuojia Liao <liaoguojia@huawei.com>
Mon, 20 Apr 2020 02:17:29 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:49:17 +0000 (12:49 -0700)
commit323cc8aa5aae4113ad3ebc584ecac37474e60df1
tree6d5888ba50ba145bfecb72544d1f28f9c8e8fe55
parent46d47542f0a8020c1c13ea38de90ca7f8e2d5b73
net: hns3: remove useless proto_support field in struct hclge_fd_cfg

proto_support field in struct hclge_fd_cfg shows what protocols
in flow direct table are supported now. It is unnecessary since
checking which one is unsupported will be more efficient,
so this patch removes it.

Signed-off-by: Guojia Liao <liaoguojia@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
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h