Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp644704pxu; Fri, 23 Oct 2020 09:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR671dUdMSKfaRcItSWp0PENt524mrBNuWC0n35Hs5buai+Qocks0z7yMx/d6FkXG1cKic X-Received: by 2002:a50:e79d:: with SMTP id b29mr3068381edn.57.1603471259832; Fri, 23 Oct 2020 09:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603471259; cv=none; d=google.com; s=arc-20160816; b=hBnsR46129/4xMpOlu2B46nOBw/0c4RVZFVPkCPc5iJy7FYteElOrSziK++S7GhXnZ F/60vcLLvcMa8lwPm6/v6zs6oNTntdj3nA/l8957K7ixc7w6FZBFR27syqQzXl3JPom1 LzW9QuE2DBOQh7lkrKyujOcBT1W8aa55ONilOv1UQh54Kd4cicq7U0/WAyIqasPqEBhb egZFvWieqkIR45+EZFyI5sM0SnvMb700UceP63JKuJuPXCaE0OXQug8NvrIDzPwh8B6f M3UfGlh/RCAkaAbgfVM23r8OTZMxEbOQBwtd5t3TV/jYRtHdRRSnSpee5cp1ktB8d0yf qOHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rH3LuE4x2Xo8K8RtO2qvbNuonEBOImwZ8gvcGeRA51Y=; b=KJq9iKA5qOiDi5w7QNxw9u3JYmG4AwBDg5coa7Wym1Z3i143vfL2vcGYpq/b5gEBwq QWtdVY/q5CpIymQkZZzKHYrfZNyJvOE06UQZqgpBS7uk0xqqD1lJGli+lumeGuekFOLz 4dXAzyTO8lVfySqvDCdexFraTWEU1vc4kdpukmvZY/SgnTC2xBkLf70nHlHA4QjC7m01 LzjWIGZT0iG5hkhHxMtmGl5ozEXD1YeryBqoeSC7d43RjrNjcfEbq++rG2BfVE5T55YD DDqUrKp+yAfJqmyoAS5MBHcEx0W2QIrAhl65OffqH73oO3UWAi7xOh7g9U6MH0FEmCsv tcWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MhMmMVS5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r19si1153814ejr.323.2020.10.23.09.40.36; Fri, 23 Oct 2020 09:40:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MhMmMVS5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752328AbgJWQiX (ORCPT + 99 others); Fri, 23 Oct 2020 12:38:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:33336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751822AbgJWQds (ORCPT ); Fri, 23 Oct 2020 12:33:48 -0400 Received: from mail.kernel.org (ip5f5ad5a3.dynamic.kabel-deutschland.de [95.90.213.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9599A24687; Fri, 23 Oct 2020 16:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603470827; bh=gJmp8cTYgH9MZLys45Ah0xGqa1fV26E8JRNpZkLrsiQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MhMmMVS5CJYbiKztHHUURNljwpTUMbkH8LBuDEPfp1Vt1uku1HlNTj/ysswk3cpCp W+yFL3Pk/Ud3BjmUwFrQaQfeL+XB3ewA5dhHIXtgDpQyQDgkjPb7cSzQzEAoELt+Em b3Uz+w74LdYoinZlvf1XiqCZGG1psnFMTVi3VJQ4= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kW00f-002AwB-Gw; Fri, 23 Oct 2020 18:33:45 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "David S. Miller" , "Jonathan Corbet" , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 20/56] net: core: fix some kernel-doc markups Date: Fri, 23 Oct 2020 18:33:07 +0200 Message-Id: <492b5ee3aca655ffad6e95e61d9b4019e69b8e3a.1603469755.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- include/linux/netdevice.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 964b494b0e8d..db79ab7580dd 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -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 * by drivers and used in the kernel. These flags are invisible to @@ -3576,7 +3576,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 * @queue_index: sub queue index * @@ -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 + * + * 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) { -- 2.26.2