Home
last modified time | relevance | path

Searched refs:recr2_pl (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c7950 static void mlxsw_sp_mp_hash_header_set(char *recr2_pl, int header) in mlxsw_sp_mp_hash_header_set() argument
7952 mlxsw_reg_recr2_outer_header_enables_set(recr2_pl, header, true); in mlxsw_sp_mp_hash_header_set()
7955 static void mlxsw_sp_mp_hash_field_set(char *recr2_pl, int field) in mlxsw_sp_mp_hash_field_set() argument
7957 mlxsw_reg_recr2_outer_header_fields_enable_set(recr2_pl, field, true); in mlxsw_sp_mp_hash_field_set()
7960 static void mlxsw_sp_mp4_hash_init(struct mlxsw_sp *mlxsw_sp, char *recr2_pl) in mlxsw_sp_mp4_hash_init() argument
7965 mlxsw_sp_mp_hash_header_set(recr2_pl, in mlxsw_sp_mp4_hash_init()
7967 mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_IPV4_EN_TCP_UDP); in mlxsw_sp_mp4_hash_init()
7968 mlxsw_reg_recr2_ipv4_sip_enable(recr2_pl); in mlxsw_sp_mp4_hash_init()
7969 mlxsw_reg_recr2_ipv4_dip_enable(recr2_pl); in mlxsw_sp_mp4_hash_init()
7972 mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_EN_IPV in mlxsw_sp_mp4_hash_init()
7978 mlxsw_sp_mp6_hash_init(struct mlxsw_sp *mlxsw_sp, char *recr2_pl) mlxsw_sp_mp6_hash_init() argument
8003 char recr2_pl[MLXSW_REG_RECR2_LEN]; mlxsw_sp_mp_hash_init() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c11186 char recr2_pl[MLXSW_REG_RECR2_LEN]; in mlxsw_sp_mp_hash_init() local
11192 mlxsw_reg_recr2_pack(recr2_pl, seed); in mlxsw_sp_mp_hash_init()
11205 mlxsw_reg_recr2_outer_header_enables_set(recr2_pl, bit, 1); in mlxsw_sp_mp_hash_init()
11207 mlxsw_reg_recr2_outer_header_fields_enable_set(recr2_pl, bit, 1); in mlxsw_sp_mp_hash_init()
11209 mlxsw_reg_recr2_inner_header_enables_set(recr2_pl, bit, 1); in mlxsw_sp_mp_hash_init()
11211 mlxsw_reg_recr2_inner_header_fields_enable_set(recr2_pl, bit, 1); in mlxsw_sp_mp_hash_init()
11213 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(recr2), recr2_pl); in mlxsw_sp_mp_hash_init()

Completed in 32 milliseconds