commit | 26a0f6e82997d5c8345782b55d3a7894421f777f | [log] [tgz] |
---|---|---|
author | Eugenia Emantayev <eugenia@mellanox.com> | Wed Jan 31 09:36:29 2018 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Feb 20 12:53:00 2018 -0800 |
tree | 1c279efdea268759dc4d4bd40dea678c9ed12829 | |
parent | 96de67a77293b4da48a05f6ec0385f60006a7ba6 [diff] |
net/mlx5: E-Switch, Fix drop counters use before creation First use of drop counters happens in esw_apply_vport_conf function, while they are allocated later in the flow. Fix that by moving esw_vport_create_drop_counters function to be called before the first use. Fixes: b8a0dbe3a90b ("net/mlx5e: E-switch, Add steering drop counters") Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>