]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Correctly use the namespace type when allocating pedit action
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Tue, 26 Feb 2019 12:28:32 +0000 (04:28 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 Mar 2019 19:24:42 +0000 (12:24 -0700)
commite21b6b8e23278b2af7db4838320cadc8324db3be
tree4a8b59dd6db2c7507eccf27e8bd60b2edc16a343
parent2d35bb00a96299cd270f886659f4e6394bf89663
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: 417823c717a49 ("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>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c