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@xxxxxx> 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); | ^~~~