Re: [PATCH RESEND 3/3] net: core: fix some kernel-doc markups
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-10-27 03:06:51
Also in:
linux-doc, lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-10-27 03:06:51
Also in:
linux-doc, lkml
On Mon, 26 Oct 2020 10:47:38 +0100 Mauro Carvalho Chehab wrote:
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: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
@@ -3590,6 +3590,13 @@ static inline bool __netif_subqueue_stopped(const struct net_device *dev, return netif_tx_queue_stopped(txq); } +/** + * netif_subqueue_stopped - test status of subqueue + * @dev: network device + * @skb: sub queue buffer pointer
Ah, no: "socket buffer from which to get the mapping"
+ *
+ * Check individual transmit queue of a device with multiple transmit queues.
+ */
static inline bool netif_subqueue_stopped(const struct net_device *dev,
struct sk_buff *skb)
{