diff options
| author | Vlad Buslov <vladbu@nvidia.com> | 2021-09-02 11:42:36 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-04 18:10:55 -0700 |
| commit | a1a6e7217eacf2c19a518d3adbe8ae3b4fd93a73 (patch) | |
| tree | 09c853a15771f5dc656c7021ef71ffe797828cf8 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | net/mlx5e: Support accept action (diff) | |
| download | linux-a1a6e7217eacf2c19a518d3adbe8ae3b4fd93a73.tar.gz linux-a1a6e7217eacf2c19a518d3adbe8ae3b4fd93a73.zip | |
net/mlx5: Bridge, refactor eswitch instance usage
Several functions in bridge.c excessively obtain pointer to parent eswitch
instance by dereferencing br_offloads->esw on every usage and following
patches in this series add even more usages of eswitch. Introduce local
variable 'esw' and use it instead.
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
