diff options
author | 2022-11-29 01:30:06 -0800 | |
---|---|---|
committer | 2022-11-29 08:19:59 -0800 | |
commit | 0e682f04b4b59eac0b0a030251513589c4607458 (patch) | |
tree | 8646bcc0aa9a171c09a75f996b82f6ec29e61122 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "net/mlx5e: MACsec, remove replay window size limitation in offload path" (diff) | |
download | linux-rng-0e682f04b4b59eac0b0a030251513589c4607458.tar.xz linux-rng-0e682f04b4b59eac0b0a030251513589c4607458.zip |
net/mlx5: Lag, Fix for loop when checking lag
The cited commit adds a for loop to check if each port supports lag
or not. But dev is not initialized correctly. Fix it by initializing
dev for each iteration.
Fixes: e87c6a832f88 ("net/mlx5: E-switch, Fix duplicate lag creation")
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reported-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221129093006.378840-2-saeed@kernel.org
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