]> 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)
commit99f79eaaef1087de24d360bd376f9fc029365cd2
tree6d5888ba50ba145bfecb72544d1f28f9c8e8fe55
parentd8ec69c355b6c82c05a371fa0a45437dfe3ee561
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