/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v0.c | 274 static void dr_ste_v0_set_lu_type(u8 *hw_ste_p, u16 lu_type) in dr_ste_v0_set_lu_type() argument 276 MLX5_SET(ste_general, hw_ste_p, entry_sub_type, lu_type); in dr_ste_v0_set_lu_type() 279 static void dr_ste_v0_set_next_lu_type(u8 *hw_ste_p, u16 lu_type) in dr_ste_v0_set_next_lu_type() argument 281 MLX5_SET(ste_general, hw_ste_p, next_lu_type, lu_type); in dr_ste_v0_set_next_lu_type() 302 static void dr_ste_v0_init_full(u8 *hw_ste_p, u16 lu_type, in dr_ste_v0_init_full() argument 306 dr_ste_v0_set_lu_type(hw_ste_p, lu_type); in dr_ste_v0_init_full() 317 static void dr_ste_v0_init(u8 *hw_ste_p, u16 lu_type, in dr_ste_v0_init() argument 323 dr_ste_v0_init_full(hw_ste_p, lu_type, entry_type, gvmi); in dr_ste_v0_init() 786 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL2_SRC_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l2_src_dst_init() 812 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL3_IPV6_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l3_ipv6_dst_init() [all …]
|
D | dr_ste_v1.c | 308 static void dr_ste_v1_set_lu_type(u8 *hw_ste_p, u16 lu_type) in dr_ste_v1_set_lu_type() argument 310 MLX5_SET(ste_match_bwc_v1, hw_ste_p, entry_format, lu_type >> 8); in dr_ste_v1_set_lu_type() 311 MLX5_SET(ste_match_bwc_v1, hw_ste_p, match_definer_ctx_idx, lu_type & 0xFF); in dr_ste_v1_set_lu_type() 314 void dr_ste_v1_set_next_lu_type(u8 *hw_ste_p, u16 lu_type) in dr_ste_v1_set_next_lu_type() argument 316 MLX5_SET(ste_match_bwc_v1, hw_ste_p, next_entry_format, lu_type >> 8); in dr_ste_v1_set_next_lu_type() 317 MLX5_SET(ste_match_bwc_v1, hw_ste_p, hash_definer_ctx_idx, lu_type & 0xFF); in dr_ste_v1_set_next_lu_type() 341 void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi) in dr_ste_v1_init() argument 343 dr_ste_v1_set_lu_type(hw_ste_p, lu_type); in dr_ste_v1_init() 1167 sb->lu_type = DR_STE_CALC_DFNR_TYPE(ETHL2_SRC_DST, sb->inner); in dr_ste_v1_build_eth_l2_src_dst_init() 1191 sb->lu_type = DR_STE_CALC_DFNR_TYPE(IPV6_DES, sb->inner); in dr_ste_v1_build_eth_l3_ipv6_dst_init() [all …]
|
D | dr_ste_v1.h | 15 void dr_ste_v1_set_next_lu_type(u8 *hw_ste_p, u16 lu_type); 18 void dr_ste_v1_init(u8 *hw_ste_p, u16 lu_type, bool is_rx, u16 gvmi);
|
D | dr_ste.h | 150 void (*ste_init)(u8 *hw_ste_p, u16 lu_type, 152 void (*set_next_lu_type)(u8 *hw_ste_p, u16 lu_type);
|
D | dr_ste.c | 160 ste_ctx->set_next_lu_type(hw_ste, next_htbl->lu_type); in dr_ste_always_hit_htbl() 411 ste_ctx->ste_init(formatted_ste, htbl->lu_type, is_rx, gvmi); in mlx5dr_ste_set_formatted_ste() 498 u16 lu_type, u16 byte_mask) in mlx5dr_ste_htbl_alloc() argument 514 htbl->lu_type = lu_type; in mlx5dr_ste_htbl_alloc() 766 sb->lu_type, in mlx5dr_ste_build_ste_arr() 782 ste_ctx->set_next_lu_type(ste_arr, sb->lu_type); in mlx5dr_ste_build_ste_arr() 1226 sb->lu_type = MLX5DR_STE_LU_TYPE_DONT_CARE; in mlx5dr_ste_build_empty_always_hit()
|
D | dr_types.h | 191 u16 lu_type; member 220 u16 lu_type; member 231 u16 lu_type, u16 byte_mask);
|
D | dr_dbg.c | 396 builder->lu_type); in dr_dump_matcher_builder()
|
D | dr_matcher.c | 860 nic_matcher->ste_builder[0].lu_type, in dr_matcher_init_nic()
|
D | dr_rule.c | 424 cur_htbl->lu_type, in dr_rule_rehash_htbl()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 464 u8 lu_type) in mvpp2_cls_flow_lu_type_set() argument 467 fe->data[1] |= MVPP2_CLS_FLOW_TBL1_LU_TYPE(lu_type); in mvpp2_cls_flow_lu_type_set()
|