diff options
author | Paul Blakey <[email protected]> | 2020-02-16 12:01:36 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2020-02-19 17:49:49 -0800 |
commit | b8ce90370977dbe24d2ed7271b65710ec9c40166 (patch) | |
tree | f72c786c6a4c38b679651f27e0a287628239ea39 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | 6724e66b90eebb19d146b7623b3e2af15616782b (diff) |
net/mlx5e: Restore tunnel metadata on miss
In tunnel and chains setup, we decapsulate the packets on first chain hop,
if we miss on later chains, the packet will comes up without tunnel header,
so it won't be taken by the tunnel device automatically, which fills the
tunnel metadata, and further tc tunnel matches won't work.
On miss, we get the tunnel mapping id, which was set on the chain 0 rule
that decapsulated the packet. This rule matched the tunnel outer
headers. From the tunnel mapping id, we get to this tunnel matches
and restore the equivalent tunnel info metadata dst on the skb.
We also set the skb->dev to the relevant device (tunnel device).
Now further tc processing can be done on the relevant device.
Signed-off-by: Paul Blakey <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Reviewed-by: Oz Shlomo <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions