OSDN Git Service

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)
commit16505f878e3065f2c0457e38ec867cdd6d3ce243
tree6d5888ba50ba145bfecb72544d1f28f9c8e8fe55
parente9368c4094f54c1af44a842814c1d87d4365c684
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