Revision 68e66e1a69cd94f934522348ab232af49863452a authored by Moshe Shemesh on 02 October 2021, 08:15:35 UTC, committed by Saeed Mahameed on 20 October 2021, 17:42:50 UTC
During suspend flow the driver calls mlx5e_destroy_vlan_table() which
does not only delete the vlans steering flow rules, but also frees the
data on currently active vlans, thus it is not restored during resume
flow.

This fix keeps the vlan data on suspend flow and frees it only on driver
remove flow.

Fixes: 6783f0a21a3c ("net/mlx5e: Dynamic alloc vlan table for netdev when needed")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent a6f7433
History
File Mode Size
Kconfig -rw-r--r-- 716 bytes
Makefile -rw-r--r-- 204 bytes
cfg.c -rw-r--r-- 11.4 KB
cfg.h -rw-r--r-- 202 bytes
driver-ops.h -rw-r--r-- 5.8 KB
ieee802154_i.h -rw-r--r-- 5.0 KB
iface.c -rw-r--r-- 19.0 KB
llsec.c -rw-r--r-- 24.9 KB
llsec.h -rw-r--r-- 2.8 KB
mac_cmd.c -rw-r--r-- 3.8 KB
main.c -rw-r--r-- 5.6 KB
mib.c -rw-r--r-- 5.1 KB
rx.c -rw-r--r-- 7.1 KB
trace.c -rw-r--r-- 189 bytes
trace.h -rw-r--r-- 6.4 KB
tx.c -rw-r--r-- 3.0 KB
util.c -rw-r--r-- 2.3 KB

back to top