summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorTonghao Zhang2019-02-26 13:28:32 +0100
committerSaeed Mahameed2019-03-29 20:24:42 +0100
commit84be899f6fd233ff2aeaf14cc43e6457425122b2 (patch)
tree4a8b59dd6db2c7507eccf27e8bd60b2edc16a343 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parentnet/mlx5: E-Switch, Fix access to invalid memory when toggling esw modes (diff)
downloadkernel-qcow2-linux-84be899f6fd233ff2aeaf14cc43e6457425122b2.tar.gz
kernel-qcow2-linux-84be899f6fd233ff2aeaf14cc43e6457425122b2.tar.xz
kernel-qcow2-linux-84be899f6fd233ff2aeaf14cc43e6457425122b2.zip
net/mlx5e: Correctly use the namespace type when allocating pedit action
The capacity of FDB offloading and NIC offloading table are different, and when allocating the pedit actions, we should use the correct namespace type. Fixes: c500c86b0c75d ("net/mlx5e: support for two independent packet edit actions") Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions