summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavan Chebbi <pavan.chebbi@broadcom.com>2022-04-01 20:21:10 -0400
committerDavid S. Miller <davem@davemloft.net>2022-04-04 12:44:50 +0100
commit4f81def272de17dc4bbd89ac38f49b2676c9b3d2 (patch)
tree0c65c2d7d7bc7e2d37b9eee8649b0b0e895566da /tools/perf/scripts/python
parent20921c0c86092b4082c91bd7c88305da74e5520b (diff)
bnxt_en: Synchronize tx when xdp redirects happen on same ring
If there are more CPUs than the number of TX XDP rings, multiple XDP redirects can select the same TX ring based on the CPU on which XDP redirect is called. Add locking when needed and use static key to decide whether to take the lock. Fixes: f18c2b77b2e4 ("bnxt_en: optimized XDP_REDIRECT support") Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions