Home
last modified time | relevance | path

Searched refs:outer_c (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c642 const void *outer_c = MLX5_ADDR_OF(fte_match_param, match_c, in mlx5_is_fpga_egress_ipsec_rule() local
644 bool is_dmac = MLX5_GET(fte_match_set_lyr_2_4, outer_c, dmac_47_16) || in mlx5_is_fpga_egress_ipsec_rule()
645 MLX5_GET(fte_match_set_lyr_2_4, outer_c, dmac_15_0); in mlx5_is_fpga_egress_ipsec_rule()
646 bool is_smac = MLX5_GET(fte_match_set_lyr_2_4, outer_c, smac_47_16) || in mlx5_is_fpga_egress_ipsec_rule()
647 MLX5_GET(fte_match_set_lyr_2_4, outer_c, smac_15_0); in mlx5_is_fpga_egress_ipsec_rule()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c2542 static int set_proto(void *outer_c, void *outer_v, u8 mask, u8 val) in set_proto() argument
2551 entry_mask = MLX5_GET(fte_match_set_lyr_2_4, outer_c, in set_proto()
2556 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_protocol, mask); in set_proto()
2583 static void set_tos(void *outer_c, void *outer_v, u8 mask, u8 val) in set_tos() argument
2585 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_ecn, mask); in set_tos()
2587 MLX5_SET(fte_match_set_lyr_2_4, outer_c, ip_dscp, mask >> 2); in set_tos()