Searched refs:ipv (Results 1 – 8 of 8) sorted by relevance
/drivers/net/dsa/sja1105/ |
D | sja1105_vl.c | 480 vl_fwd[sharindx].priority = rule->vl.ipv; in sja1105_init_virtual_links() 574 int ipv = -1; in sja1105_vl_gate() local 665 if (ipv == -1) { in sja1105_vl_gate() 666 ipv = entries[i].ipv; in sja1105_vl_gate() 667 } else if (ipv != entries[i].ipv) { in sja1105_vl_gate() 677 if (ipv == -1) { in sja1105_vl_gate() 679 ipv = key->vl.pcp; in sja1105_vl_gate() 681 ipv = 0; in sja1105_vl_gate() 686 rule->vl.ipv = ipv; in sja1105_vl_gate()
|
D | sja1105.h | 172 int ipv; member
|
/drivers/s390/net/ |
D | qeth_l3_main.c | 1585 int ipv) in qeth_l3_get_cast_type_rcu() argument 1604 switch (ipv) { in qeth_l3_get_cast_type_rcu() 1621 int ipv = qeth_get_ip_version(skb); in qeth_l3_get_cast_type() local 1626 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_get_cast_type() 1627 cast_type = qeth_l3_get_cast_type_rcu(skb, dst, ipv); in qeth_l3_get_cast_type() 1646 int ipv, unsigned int data_len) in qeth_l3_fill_header() argument 1670 qeth_tx_csum(skb, &hdr->hdr.l3.ext_flags, ipv); in qeth_l3_fill_header() 1672 if (ipv == 4) in qeth_l3_fill_header() 1677 if (ipv == 4 || IS_IQD(card)) { in qeth_l3_fill_header() 1689 dst = qeth_dst_check_rcu(skb, ipv); in qeth_l3_fill_header() [all …]
|
D | qeth_core.h | 979 static inline struct dst_entry *qeth_dst_check_rcu(struct sk_buff *skb, int ipv) in qeth_dst_check_rcu() argument 986 dst = dst_check(dst, (ipv == 6) ? rt6_get_cookie(rt) : 0); in qeth_dst_check_rcu() 1009 static inline void qeth_tx_csum(struct sk_buff *skb, u8 *flags, int ipv) in qeth_tx_csum() argument 1012 if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || in qeth_tx_csum() 1013 (ipv == 6 && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP)) in qeth_tx_csum() 1142 struct qeth_qdio_out_q *queue, int ipv, 1145 int ipv, unsigned int data_len));
|
D | qeth_l2_main.c | 160 int ipv, unsigned int data_len) in qeth_l2_fill_header() argument 172 qeth_tx_csum(skb, &hdr->hdr.l2.flags[1], ipv); in qeth_l2_fill_header()
|
D | qeth_core_main.c | 4357 struct qeth_qdio_out_q *queue, int ipv, in qeth_xmit() argument 4360 int ipv, unsigned int data_len)) in qeth_xmit() 4393 fill_header(queue, hdr, skb, ipv, frame_len); in qeth_xmit()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 829 u8 ipv; in mlx5e_generate_ttc_rule() local 841 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_ttc_rule() 842 if (match_ipv_outer && ipv) { in mlx5e_generate_ttc_rule() 845 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5e_generate_ttc_rule() 1001 u8 ipv; in mlx5e_generate_inner_ttc_rule() local 1007 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_inner_ttc_rule() 1008 if (etype && ipv) { in mlx5e_generate_inner_ttc_rule() 1011 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5e_generate_inner_ttc_rule()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 817 if (from->ipv >= 0) in enetc_streamgate_hw_set() 818 to->multi |= ((from->ipv & 0x7) << 5) | 0x08; in enetc_streamgate_hw_set() 1221 e[i].ipv = entryg->gate.entries[i].ipv; in enetc_psfp_parse_clsflower()
|