From: Martin KaFai Lau Date: Fri, 15 Sep 2023 16:18:10 +0000 (-0700) Subject: Merge branch 'bpf: expose information about netdev xdp-metadata kfunc support' X-Git-Tag: io_uring-6.7-2023-11-10~40^2~322^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=45ee73a0722b9e1d0b7a524d06756291b13b5912;p=linux-block.git 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 ==================== Signed-off-by: Martin KaFai Lau --- 45ee73a0722b9e1d0b7a524d06756291b13b5912