commit | 4f91da26c81145f255cb153152ffed70014b1c41 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Wed Jul 11 20:36:38 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 13 20:26:35 2018 +0200 |
tree | baad6f18b9cbf7ecaf19831d3681dcaa7236fbb8 | |
parent | 9c48b1d116cd0ab44f1a4a55be84b2b3d4a11b9b [diff] |
xdp: add per mode attributes for attached programs In preparation for support of simultaneous driver and hardware XDP support add per-mode attributes. The catch-all IFLA_XDP_PROG_ID will still be reported, but user space can now also access the program ID in a new IFLA_XDP_<mode>_PROG_ID attribute. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>