Commit f3ecab38 authored by Mintz, Yuval's avatar Mintz, Yuval Committed by David S. Miller

net: Remove ndo_dfwd_start_xmit

Looks like commit f663dd9a ("net: core: explicitly select a txq before doing l2 forwarding")
has removed the need for this dedicated xmit function [it even explicitly
states so in its commit log message] but it hasn't removed the definition
of the ndo.
Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@cavium.com>
CC: Jason Wang <jasowang@redhat.com>
CC: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb725770
...@@ -1114,12 +1114,6 @@ struct xfrmdev_ops { ...@@ -1114,12 +1114,6 @@ struct xfrmdev_ops {
* by 'ndo_dfwd_add_station'. 'pdev' is the net device backing * by 'ndo_dfwd_add_station'. 'pdev' is the net device backing
* the station and priv is the structure returned by the add * the station and priv is the structure returned by the add
* operation. * operation.
* netdev_tx_t (*ndo_dfwd_start_xmit)(struct sk_buff *skb,
* struct net_device *dev,
* void *priv);
* Callback to use for xmit over the accelerated station. This
* is used in place of ndo_start_xmit on accelerated net
* devices.
* int (*ndo_set_tx_maxrate)(struct net_device *dev, * int (*ndo_set_tx_maxrate)(struct net_device *dev,
* int queue_index, u32 maxrate); * int queue_index, u32 maxrate);
* Called when a user wants to set a max-rate limitation of specific * Called when a user wants to set a max-rate limitation of specific
...@@ -1316,9 +1310,6 @@ struct net_device_ops { ...@@ -1316,9 +1310,6 @@ struct net_device_ops {
void (*ndo_dfwd_del_station)(struct net_device *pdev, void (*ndo_dfwd_del_station)(struct net_device *pdev,
void *priv); void *priv);
netdev_tx_t (*ndo_dfwd_start_xmit) (struct sk_buff *skb,
struct net_device *dev,
void *priv);
int (*ndo_get_lock_subclass)(struct net_device *dev); int (*ndo_get_lock_subclass)(struct net_device *dev);
int (*ndo_set_tx_maxrate)(struct net_device *dev, int (*ndo_set_tx_maxrate)(struct net_device *dev,
int queue_index, int queue_index,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment