[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200716082259.40600e03@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 16 Jul 2020 08:22:59 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Andrii Nakryiko <andriin@...com>
Cc: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>, <ast@...com>,
<daniel@...earbox.net>, <dsahern@...il.com>,
<andrii.nakryiko@...il.com>, <kernel-team@...com>
Subject: Re: [PATCH v3 bpf-next 9/9] bpf, xdp: remove XDP_QUERY_PROG and
XDP_QUERY_PROG_HW XDP commands
On Wed, 15 Jul 2020 21:56:01 -0700 Andrii Nakryiko wrote:
> Now that BPF program/link management is centralized in generic net_device
> code, kernel code never queries program id from drivers, so
> XDP_QUERY_PROG/XDP_QUERY_PROG_HW commands are unnecessary.
>
> This patch removes all the implementations of those commands in kernel, along
> the xdp_attachment_query().
>
> This patch was compile-tested on allyesconfig.
>
> Signed-off-by: Andrii Nakryiko <andriin@...com>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c: In function ‘dpaa2_eth_xdp’:
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2079:25: warning: unused variable ‘priv’ [-Wunused-variable]
2079 | struct dpaa2_eth_priv *priv = netdev_priv(dev);
| ^~~~
Powered by blists - more mailing lists