Searched refs:ipv (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core.h | 889 static inline void qeth_tx_csum(struct sk_buff *skb, u8 *flags, int ipv) in qeth_tx_csum() argument 892 if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || in qeth_tx_csum() 893 (ipv == 6 && ipv6_hdr(skb)->nexthdr == IPPROTO_UDP)) in qeth_tx_csum() 895 if (ipv == 4) { in qeth_tx_csum() 936 int ipv); 939 int ipv, int cast_type) in qeth_get_tx_queue() argument 945 return card->qdio.out_qs[qeth_get_priority_queue(card, skb, ipv)]; in qeth_get_tx_queue()
|
D | qeth_l3_main.c | 2034 struct sk_buff *skb, int ipv, int cast_type, in qeth_l3_fill_header() argument 2046 if ((ipv == 4) || (card->info.type == QETH_CARD_TYPE_IQD)) in qeth_l3_fill_header() 2054 qeth_tx_csum(skb, &hdr->hdr.l3.ext_flags, ipv); in qeth_l3_fill_header() 2060 if (!ipv) { in qeth_l3_fill_header() 2073 if (ipv == 4) { in qeth_l3_fill_header() 2165 struct qeth_qdio_out_q *queue, int ipv, in qeth_l3_xmit_offload() argument 2196 qeth_l3_fill_header(card, hdr, skb, ipv, cast_type, frame_len); in qeth_l3_xmit_offload() 2228 struct qeth_qdio_out_q *queue, int ipv, int cast_type) in qeth_l3_xmit() argument 2249 if (ipv == 4) { in qeth_l3_xmit() 2283 qeth_l3_fill_header(card, hdr, new_skb, ipv, cast_type, in qeth_l3_xmit() [all …]
|
D | qeth_l2_main.c | 645 struct qeth_qdio_out_q *queue, int cast_type, int ipv) in qeth_l2_xmit() argument 672 qeth_tx_csum(skb, &hdr->hdr.l2.flags[1], ipv); in qeth_l2_xmit() 727 int ipv = qeth_get_ip_version(skb); in qeth_l2_hard_start_xmit() local 737 queue = qeth_get_tx_queue(card, skb, ipv, cast_type); in qeth_l2_hard_start_xmit() 748 rc = qeth_l2_xmit(card, skb, queue, cast_type, ipv); in qeth_l2_hard_start_xmit()
|
D | qeth_core_main.c | 3737 int ipv) in qeth_get_priority_queue() argument 3745 switch (ipv) { in qeth_get_priority_queue()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_fs.c | 775 u8 ipv; in mlx5e_generate_ttc_rule() local 787 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_ttc_rule() 788 if (match_ipv_outer && ipv) { in mlx5e_generate_ttc_rule() 791 MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_version, ipv); in mlx5e_generate_ttc_rule() 950 u8 ipv; in mlx5e_generate_inner_ttc_rule() local 956 ipv = mlx5e_etype_to_ipv(etype); in mlx5e_generate_inner_ttc_rule() 957 if (etype && ipv) { in mlx5e_generate_inner_ttc_rule() 960 MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_version, ipv); in mlx5e_generate_inner_ttc_rule()
|