Home
last modified time | relevance | path

Searched refs:ipv (Results 1 – 4 of 4) sorted by relevance

/drivers/net/dsa/sja1105/
Dsja1105_vl.c480 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links()
571 int ipv = -1; in sja1105_vl_gate() local
659 if (ipv == -1) { in sja1105_vl_gate()
660 ipv = entries[i].ipv; in sja1105_vl_gate()
661 } else if (ipv != entries[i].ipv) { in sja1105_vl_gate()
671 if (ipv == -1) { in sja1105_vl_gate()
673 ipv = key->vl.pcp; in sja1105_vl_gate()
675 ipv = 0; in sja1105_vl_gate()
680 rule->vl.ipv = ipv; in sja1105_vl_gate()
Dsja1105.h209 int ipv; member
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c202 u8 ipv; in mlx5_generate_ttc_rule() local
214 ipv = mlx5_etype_to_ipv(etype); in mlx5_generate_ttc_rule()
215 if (match_ipv_outer && ipv) { in mlx5_generate_ttc_rule()
218 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5_generate_ttc_rule()
363 u8 ipv; in mlx5_generate_inner_ttc_rule() local
369 ipv = mlx5_etype_to_ipv(etype); in mlx5_generate_inner_ttc_rule()
370 if (etype && ipv) { in mlx5_generate_inner_ttc_rule()
373 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5_generate_inner_ttc_rule()
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c815 if (from->ipv >= 0) in enetc_streamgate_hw_set()
816 to->multi |= ((from->ipv & 0x7) << 5) | 0x08; in enetc_streamgate_hw_set()
1220 e[i].ipv = entryg->gate.entries[i].ipv; in enetc_psfp_parse_clsflower()