提交 270f3385 编写于 作者: M Mauro Carvalho Chehab 提交者: Jakub Kicinski

net: core: fix some kernel-doc markups

Some identifiers have different names between their prototypes
and the kernel-doc markup.

In the specific case of netif_subqueue_stopped(), keep the
current markup for __netif_subqueue_stopped(), adding a
new one for netif_subqueue_stopped().
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: NJakub Kicinski <kuba@kernel.org>
上级 c1639be9
...@@ -1490,7 +1490,7 @@ struct net_device_ops { ...@@ -1490,7 +1490,7 @@ struct net_device_ops {
}; };
/** /**
* enum net_device_priv_flags - &struct net_device priv_flags * enum netdev_priv_flags - &struct net_device priv_flags
* *
* These are the &struct net_device, they are only set internally * These are the &struct net_device, they are only set internally
* by drivers and used in the kernel. These flags are invisible to * by drivers and used in the kernel. These flags are invisible to
...@@ -3602,7 +3602,7 @@ static inline void netif_stop_subqueue(struct net_device *dev, u16 queue_index) ...@@ -3602,7 +3602,7 @@ static inline void netif_stop_subqueue(struct net_device *dev, u16 queue_index)
} }
/** /**
* netif_subqueue_stopped - test status of subqueue * __netif_subqueue_stopped - test status of subqueue
* @dev: network device * @dev: network device
* @queue_index: sub queue index * @queue_index: sub queue index
* *
...@@ -3616,6 +3616,13 @@ static inline bool __netif_subqueue_stopped(const struct net_device *dev, ...@@ -3616,6 +3616,13 @@ static inline bool __netif_subqueue_stopped(const struct net_device *dev,
return netif_tx_queue_stopped(txq); return netif_tx_queue_stopped(txq);
} }
/**
* netif_subqueue_stopped - test status of subqueue
* @dev: network device
* @skb: sub queue buffer pointer
*
* Check individual transmit queue of a device with multiple transmit queues.
*/
static inline bool netif_subqueue_stopped(const struct net_device *dev, static inline bool netif_subqueue_stopped(const struct net_device *dev,
struct sk_buff *skb) struct sk_buff *skb)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册