diff options
author | Huy Nguyen <huyn@mellanox.com> | 2020-11-03 12:56:18 -0600 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-11-17 11:50:52 -0800 |
commit | 6248ce991f8eed4f2f0fdec694f5749156105629 (patch) | |
tree | 95dc9f6a8fb34cf4b4fb2ed2297eebb686793784 /drivers/net/ethernet/sfc/ptp.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 <huyn@mellanox.com>
Reviewed-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/ptp.c')
0 files changed, 0 insertions, 0 deletions