diff options
author | 2025-01-06 14:19:10 -0800 | |
---|---|---|
committer | 2025-01-07 18:14:08 -0800 | |
commit | 6dc75fc230eceedada4adf8c2857636a9dbd00a8 (patch) | |
tree | 713607445172b9bb4325604180222f2fe78911f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | igb: Remove static qualifiers (diff) | |
download | wireguard-linux-6dc75fc230eceedada4adf8c2857636a9dbd00a8.tar.xz wireguard-linux-6dc75fc230eceedada4adf8c2857636a9dbd00a8.zip |
igb: Introduce igb_xdp_is_enabled()
Introduce igb_xdp_is_enabled() to check if an XDP program is assigned to
the device. Use that wherever xdp_prog is read and evaluated.
Signed-off-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
[Kurt: Split patches and use READ_ONCE()]
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250106221929.956999-3-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions