From patchwork Sun Sep 20 17:17:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 1367938 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lunn.ch Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4BvZ575ycpz9sTN for ; Mon, 21 Sep 2020 03:17:31 +1000 (AEST) 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 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. */