diff options
| author | David S. Miller <davem@davemloft.net> | 2014-01-14 17:37:09 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-01-14 17:42:42 -0500 |
| commit | 0a379e21c503b2ff66b44d588df9f231e9b0b9ca (patch) | |
| tree | 22b875fcf4b67fcd007726f00c5fc1748ce985d0 /include/linux/netdevice.h | |
| parent | a49da8811e71c5355b52c65ee32976741d5834cd (diff) | |
| parent | fdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index a2a70cc70e7b..5c88ab19b3eb 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -769,7 +769,8 @@ struct netdev_phys_port_id { | |||
| 769 | * (can also return NETDEV_TX_LOCKED iff NETIF_F_LLTX) | 769 | * (can also return NETDEV_TX_LOCKED iff NETIF_F_LLTX) |
| 770 | * Required can not be NULL. | 770 | * Required can not be NULL. |
| 771 | * | 771 | * |
| 772 | * u16 (*ndo_select_queue)(struct net_device *dev, struct sk_buff *skb); | 772 | * u16 (*ndo_select_queue)(struct net_device *dev, struct sk_buff *skb, |
| 773 | * void *accel_priv); | ||
| 773 | * Called to decide which queue to when device supports multiple | 774 | * Called to decide which queue to when device supports multiple |
| 774 | * transmit queues. | 775 | * transmit queues. |
| 775 | * | 776 | * |
| @@ -990,7 +991,8 @@ struct net_device_ops { | |||
| 990 | netdev_tx_t (*ndo_start_xmit) (struct sk_buff *skb, | 991 | netdev_tx_t (*ndo_start_xmit) (struct sk_buff *skb, |
| 991 | struct net_device *dev); | 992 | struct net_device *dev); |
| 992 | u16 (*ndo_select_queue)(struct net_device *dev, | 993 | u16 (*ndo_select_queue)(struct net_device *dev, |
| 993 | struct sk_buff *skb); | 994 | struct sk_buff *skb, |
| 995 | void *accel_priv); | ||
| 994 | void (*ndo_change_rx_flags)(struct net_device *dev, | 996 | void (*ndo_change_rx_flags)(struct net_device *dev, |
| 995 | int flags); | 997 | int flags); |
| 996 | void (*ndo_set_rx_mode)(struct net_device *dev); | 998 | void (*ndo_set_rx_mode)(struct net_device *dev); |
| @@ -1532,7 +1534,8 @@ static inline void netdev_for_each_tx_queue(struct net_device *dev, | |||
| 1532 | } | 1534 | } |
| 1533 | 1535 | ||
| 1534 | struct netdev_queue *netdev_pick_tx(struct net_device *dev, | 1536 | struct netdev_queue *netdev_pick_tx(struct net_device *dev, |
| 1535 | struct sk_buff *skb); | 1537 | struct sk_buff *skb, |
| 1538 | void *accel_priv); | ||
| 1536 | u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb); | 1539 | u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb); |
| 1537 | 1540 | ||
| 1538 | /* | 1541 | /* |
| @@ -1834,6 +1837,7 @@ int dev_close(struct net_device *dev); | |||
| 1834 | void dev_disable_lro(struct net_device *dev); | 1837 | void dev_disable_lro(struct net_device *dev); |
| 1835 | int dev_loopback_xmit(struct sk_buff *newskb); | 1838 | int dev_loopback_xmit(struct sk_buff *newskb); |
| 1836 | int dev_queue_xmit(struct sk_buff *skb); | 1839 | int dev_queue_xmit(struct sk_buff *skb); |
| 1840 | int dev_queue_xmit_accel(struct sk_buff *skb, void *accel_priv); | ||
| 1837 | int register_netdevice(struct net_device *dev); | 1841 | int register_netdevice(struct net_device *dev); |
| 1838 | void unregister_netdevice_queue(struct net_device *dev, struct list_head *head); | 1842 | void unregister_netdevice_queue(struct net_device *dev, struct list_head *head); |
| 1839 | void unregister_netdevice_many(struct list_head *head); | 1843 | void unregister_netdevice_many(struct list_head *head); |
| @@ -2486,7 +2490,7 @@ int dev_change_carrier(struct net_device *, bool new_carrier); | |||
| 2486 | int dev_get_phys_port_id(struct net_device *dev, | 2490 | int dev_get_phys_port_id(struct net_device *dev, |
| 2487 | struct netdev_phys_port_id *ppid); | 2491 | struct netdev_phys_port_id *ppid); |
| 2488 | int dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, | 2492 | int dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev, |
| 2489 | struct netdev_queue *txq, void *accel_priv); | 2493 | struct netdev_queue *txq); |
| 2490 | int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); | 2494 | int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); |
| 2491 | 2495 | ||
| 2492 | extern int netdev_budget; | 2496 | extern int netdev_budget; |
