summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorVlad Buslov2017-08-08 10:45:28 +0200
committerSaeed Mahameed2017-09-28 06:23:10 +0200
commitb281208911a549e391d92ee6cb680dcd3d71783b (patch)
tree04ebc96b4942a0907f881163837449aec26a455f /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5e: Disallow TC offloading of unsupported match/action combinations (diff)
downloadkernel-qcow2-linux-b281208911a549e391d92ee6cb680dcd3d71783b.tar.gz
kernel-qcow2-linux-b281208911a549e391d92ee6cb680dcd3d71783b.tar.xz
kernel-qcow2-linux-b281208911a549e391d92ee6cb680dcd3d71783b.zip
net/mlx5e: Check encap entry state when offloading tunneled flows
Encap entries cached by the driver could be invalidated due to tunnel destination neighbour state changes. When attempting to offload a flow that uses a cached encap entry, we must check the entry validity and defer the offloading if the entry exists but not valid. When EAGAIN is returned, the flow offloading to hardware takes place by the neigh update code when the tunnel destination neighbour becomes connected. Fixes: 232c001398ae ("net/mlx5e: Add support to neighbour update flow") Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions