diff options
author | Sriram Yagnaraman <sriram.yagnaraman@est.tech> | 2025-01-07 01:19:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-08 05:14:08 +0300 |
commit | 6dc75fc230eceedada4adf8c2857636a9dbd00a8 (patch) | |
tree | 713607445172b9bb4325604180222f2fe78911f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f70b864ccc84a024c765306e95e8e390834c263d (diff) | |
download | linux-6dc75fc230eceedada4adf8c2857636a9dbd00a8.tar.xz |
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