diff options
author | Huy Nguyen <[email protected]> | 2020-11-03 12:56:18 -0600 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2020-11-17 11:50:52 -0800 |
commit | 6248ce991f8eed4f2f0fdec694f5749156105629 (patch) | |
tree | 95dc9f6a8fb34cf4b4fb2ed2297eebb686793784 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5cfb540ef27b5b763a3b181d142847ef0411728e (diff) |
net/mlx5e: Fix IPsec packet drop by mlx5e_tc_update_skb
Both TC and IPsec crypto offload use metadata_regB to store
private information. Since TC does not use bit 31 of regB, IPsec
will use bit 31 as the IPsec packet marker. The IPsec's regB usage
is changed to:
Bit31: IPsec marker
Bit30-24: IPsec syndrome
Bit23-0: IPsec obj id
Fixes: b2ac7541e377 ("net/mlx5e: IPsec: Add Connect-X IPsec Rx data path offload")
Signed-off-by: Huy Nguyen <[email protected]>
Reviewed-by: Raed Salem <[email protected]>
Reviewed-by: Ariel Levkovich <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions