]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove add/del_tunnel_udp in hns3_enet module
authorYunsheng Lin <linyunsheng@huawei.com>
Wed, 9 May 2018 16:24:39 +0000 (17:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 May 2018 21:27:10 +0000 (17:27 -0400)
commitbef9022d0a1e5360dcc473f8d42e310cd6d93461
treeee85c886e98e06d6df18d4b5d742167d98b957fb
parent55d82d36817ad00aa2f9b885ee0b1fb481a6ebe3
net: hns3: remove add/del_tunnel_udp in hns3_enet module

The add/del_tunnel_udp is not implemented in hclge_main moulde,
the NETIF_F_RX_UDP_TUNNEL_PORT feature bit is added automatically
by stack when ndo_udp_tunnel_add is not null in dev->netdev_ops.

This patch removes the add/del_tunnel_udp related function, for
we do not support this feature now.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c