From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9DBEC43466 for ; Sun, 20 Sep 2020 17:17:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A3E6207BB for ; Sun, 20 Sep 2020 17:17:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726416AbgITRRY (ORCPT ); Sun, 20 Sep 2020 13:17:24 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:46148 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726333AbgITRRX (ORCPT ); Sun, 20 Sep 2020 13:17:23 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kK2xi-00FUYg-Nt; Sun, 20 Sep 2020 19:17:18 +0200 From: Andrew Lunn To: David Miller Cc: netdev , Florian Fainelli , Heiner Kallweit , Andrew Lunn , Andrii Nakryiko Subject: [PATCH net-next 2/5] net: netdevice.h: Document xdp_state Date: Sun, 20 Sep 2020 19:17:00 +0200 Message-Id: <20200920171703.3692328-3-andrew@lunn.ch> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200920171703.3692328-1-andrew@lunn.ch> References: <20200920171703.3692328-1-andrew@lunn.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix the Sphinx warning: Function parameter or member 'xdp_state' not described in 'net_device' by documenting xdp_state. Cc: Andrii Nakryiko Signed-off-by: Andrew Lunn --- include/linux/netdevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9ea53cb92766..99cab8c0a292 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1842,6 +1842,8 @@ enum netdev_priv_flags { * offload capabilities of the device * @udp_tunnel_nic: UDP tunnel offload state * + * @xdp_state: Info on attached XDP BPF programs + * * FIXME: cleanup struct net_device such that network protocol info * moves out. */ -- 2.28.0