recr2_pl         7958 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_mp_hash_header_set(char *recr2_pl, int header)
recr2_pl         7960 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_outer_header_enables_set(recr2_pl, header, true);
recr2_pl         7963 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_mp_hash_field_set(char *recr2_pl, int field)
recr2_pl         7965 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_outer_header_fields_enable_set(recr2_pl, field, true);
recr2_pl         7968 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_mp4_hash_init(char *recr2_pl)
recr2_pl         7972 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_header_set(recr2_pl,
recr2_pl         7974 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_IPV4_EN_TCP_UDP);
recr2_pl         7975 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_ipv4_sip_enable(recr2_pl);
recr2_pl         7976 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_ipv4_dip_enable(recr2_pl);
recr2_pl         7979 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_EN_IPV4);
recr2_pl         7980 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_IPV4_PROTOCOL);
recr2_pl         7981 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_SPORT);
recr2_pl         7982 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_TCP_UDP_DPORT);
recr2_pl         7985 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_mp6_hash_init(char *recr2_pl)
recr2_pl         7989 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_header_set(recr2_pl,
recr2_pl         7991 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_header_set(recr2_pl, MLXSW_REG_RECR2_IPV6_EN_TCP_UDP);
recr2_pl         7992 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_ipv6_sip_enable(recr2_pl);
recr2_pl         7993 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_ipv6_dip_enable(recr2_pl);
recr2_pl         7994 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp_hash_field_set(recr2_pl, MLXSW_REG_RECR2_IPV6_NEXT_HEADER);
recr2_pl         7996 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_mp_hash_field_set(recr2_pl,
recr2_pl         7999 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_mp_hash_header_set(recr2_pl,
recr2_pl         8001 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_mp_hash_field_set(recr2_pl,
recr2_pl         8003 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_sp_mp_hash_field_set(recr2_pl,
recr2_pl         8010 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	char recr2_pl[MLXSW_REG_RECR2_LEN];
recr2_pl         8014 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_recr2_pack(recr2_pl, seed);
recr2_pl         8015 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp4_hash_init(recr2_pl);
recr2_pl         8016 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp_mp6_hash_init(recr2_pl);
recr2_pl         8018 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(recr2), recr2_pl);