Merge branch 'bpf: expose information about netdev xdp-metadata kfunc support'
authorMartin KaFai Lau <martin.lau@kernel.org>
Fri, 15 Sep 2023 16:18:10 +0000 (09:18 -0700)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 15 Sep 2023 18:26:58 +0000 (11:26 -0700)
commit45ee73a0722b9e1d0b7a524d06756291b13b5912
treee7289b549a2a43c1ccae951f99284042f14cb57a
parentd609f3d228a8efe991f44f11f24146e2a5209755
parent0c6c9b105ee90d7415dc796bcf632147b3d267ce
Merge branch 'bpf: expose information about netdev xdp-metadata kfunc support'

Stanislav Fomichev says:

====================
Extend netdev netlink family to expose the bitmask with the
kfuncs that the device implements. The source of truth is the
device's xdp_metadata_ops. There is some amount of auto-generated
netlink boilerplate; the change itself is super minimal.

v2:
- add netdev->xdp_metadata_ops NULL check when dumping to netlink (Martin)

Cc: netdev@vger.kernel.org
Cc: Willem de Bruijn <willemb@google.com>
====================

Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>