aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorPaul Blakey <[email protected]>2020-02-16 10:01:35 +0000
committerSaeed Mahameed <[email protected]>2020-02-20 01:49:49 +0000
commit6724e66b90eebb19d146b7623b3e2af15616782b (patch)
tree464602da54bd094152b0b54340af08abd30715b8 /net/ipv4/tcp_input.c
parentnet/mlx5e: Support inner header rewrite with goto action (diff)
downloadkernel-6724e66b90eebb19d146b7623b3e2af15616782b.tar.gz
kernel-6724e66b90eebb19d146b7623b3e2af15616782b.zip
net/mlx5: E-Switch, Get reg_c1 value on miss
The HW model implicitly decapsulates tunnels on chain 0 and sets reg_c1 with the mapped tunnel id. On miss, the packet does not have the outer header and the driver restores the tunnel information from the tunnel id. Getting reg_c1 value in software requires enabling reg_c1 loopback and copying reg_c1 to reg_b. reg_b comes up on CQE as cqe->imm_inval_pkey. Use the reg_c0 restoration rules to also copy reg_c1 to reg_B. Signed-off-by: Paul Blakey <[email protected]> Reviewed-by: Oz Shlomo <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions