Lines Matching refs:recr2_pl

7296 static void mlxsw_sp_mp_hash_header_set(char *recr2_pl, int header)  in mlxsw_sp_mp_hash_header_set()  argument
7298 mlxsw_reg_recr2_outer_header_enables_set(recr2_pl, header, true); in mlxsw_sp_mp_hash_header_set()
7301 static void mlxsw_sp_mp_hash_field_set(char *recr2_pl, int field) in mlxsw_sp_mp_hash_field_set() argument
7303 mlxsw_reg_recr2_outer_header_fields_enable_set(recr2_pl, field, true); in mlxsw_sp_mp_hash_field_set()
7306 static void mlxsw_sp_mp4_hash_init(char *recr2_pl) in mlxsw_sp_mp4_hash_init() argument
7310 mlxsw_sp_mp_hash_header_set(recr2_pl, in mlxsw_sp_mp4_hash_init()
7312 mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_IPV4_EN_TCP_UDP); in mlxsw_sp_mp4_hash_init()
7313 mlxsw_reg_recr2_ipv4_sip_enable(recr2_pl); in mlxsw_sp_mp4_hash_init()
7314 mlxsw_reg_recr2_ipv4_dip_enable(recr2_pl); in mlxsw_sp_mp4_hash_init()
7317 mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_EN_IPV4); in mlxsw_sp_mp4_hash_init()
7318 mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_IPV4_PROTOCOL); in mlxsw_sp_mp4_hash_init()
7319 mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_SPORT); in mlxsw_sp_mp4_hash_init()
7320 mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_DPORT); in mlxsw_sp_mp4_hash_init()
7323 static void mlxsw_sp_mp6_hash_init(char *recr2_pl) in mlxsw_sp_mp6_hash_init() argument
7327 mlxsw_sp_mp_hash_header_set(recr2_pl, in mlxsw_sp_mp6_hash_init()
7329 mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_IPV6_EN_TCP_UDP); in mlxsw_sp_mp6_hash_init()
7330 mlxsw_reg_recr2_ipv6_sip_enable(recr2_pl); in mlxsw_sp_mp6_hash_init()
7331 mlxsw_reg_recr2_ipv6_dip_enable(recr2_pl); in mlxsw_sp_mp6_hash_init()
7332 mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_IPV6_NEXT_HEADER); in mlxsw_sp_mp6_hash_init()
7334 mlxsw_sp_mp_hash_field_set(recr2_pl, in mlxsw_sp_mp6_hash_init()
7337 mlxsw_sp_mp_hash_header_set(recr2_pl, in mlxsw_sp_mp6_hash_init()
7339 mlxsw_sp_mp_hash_field_set(recr2_pl, in mlxsw_sp_mp6_hash_init()
7341 mlxsw_sp_mp_hash_field_set(recr2_pl, in mlxsw_sp_mp6_hash_init()
7348 char recr2_pl[MLXSW_REG_RECR2_LEN]; in mlxsw_sp_mp_hash_init() local
7352 mlxsw_reg_recr2_pack(recr2_pl, seed); in mlxsw_sp_mp_hash_init()
7353 mlxsw_sp_mp4_hash_init(recr2_pl); in mlxsw_sp_mp_hash_init()
7354 mlxsw_sp_mp6_hash_init(recr2_pl); in mlxsw_sp_mp_hash_init()
7356 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(recr2), recr2_pl); in mlxsw_sp_mp_hash_init()