linux/drivers/net/ethernet/mellanox
Moshe Shemesh 68e66e1a69 net/mlx5e: Fix vlan data lost during suspend flow
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: 6783f0a21a ("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>
2021-10-20 10:42:50 -07:00
..
mlx4 net/mlx4_en: Don't allow aRFS for encapsulated packets 2021-09-23 13:17:39 +01:00
mlx5/core net/mlx5e: Fix vlan data lost during suspend flow 2021-10-20 10:42:50 -07:00
mlxbf_gige mlxbf_gige: clear valid_polarity upon open 2021-09-16 14:31:58 +01:00
mlxfw net/mlxfw: Use kzalloc for allocating only one thing 2021-01-05 16:01:02 -08:00
mlxsw mlxsw: thermal: Fix out-of-bounds memory accesses 2021-10-14 07:13:26 -07:00
Kconfig Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00
Makefile Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00