Home
last modified time | relevance | path

Searched refs:is_udp (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c520 bool is_udp; in tc_add_ports_flow() local
529 is_udp = false; in tc_add_ports_flow()
532 is_udp = true; in tc_add_ports_flow()
543 is_udp, true, inv, hw_match); in tc_add_ports_flow()
551 is_udp, false, inv, hw_match); in tc_add_ports_flow()
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2237 bool is_udp = false; in bnxt_re_build_qp1_send_v2() local
2263 is_udp = sgid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP; in bnxt_re_build_qp1_send_v2()
2264 if (is_udp) { in bnxt_re_build_qp1_send_v2()
2282 ip_version, is_udp, 0, &qp->qp1_hdr); in bnxt_re_build_qp1_send_v2()
2316 if (is_udp) { in bnxt_re_build_qp1_send_v2()
2363 if (is_udp && ip_version == 4) in bnxt_re_build_qp1_send_v2()
2370 if (!is_udp) in bnxt_re_build_qp1_send_v2()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c604 bool is_udp = false; in ice_vc_validate_pattern() local
627 is_udp = true; in ice_vc_validate_pattern()
656 ptype = is_udp ? ICE_MAC_IPV4_NAT_T_ESP : in ice_vc_validate_pattern()
659 ptype = is_udp ? ICE_MAC_IPV6_NAT_T_ESP : in ice_vc_validate_pattern()
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dqp.c3034 bool is_udp = false; in build_mlx_header() local
3059 is_udp = gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP; in build_mlx_header()
3060 if (is_udp) { in build_mlx_header()
3077 ip_version, is_udp, 0, &sqp->ud_header); in build_mlx_header()
3136 if (is_udp) { in build_mlx_header()
3175 ether_type = (!is_udp) ? ETH_P_IBOE: in build_mlx_header()
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dfarch.c2240 bool is_udp = (spec->type == EFX_FARCH_FILTER_UDP_FULL || in efx_farch_filter_build() local
2248 FRF_BZ_TCP_UDP, is_udp, in efx_farch_filter_build()
2253 data3 = is_udp; in efx_farch_filter_build()
/Linux-v6.6/drivers/net/ethernet/sfc/falcon/
Dfarch.c2171 bool is_udp = (spec->type == EF4_FARCH_FILTER_UDP_FULL || in ef4_farch_filter_build() local
2179 FRF_BZ_TCP_UDP, is_udp, in ef4_farch_filter_build()
2184 data3 = is_udp; in ef4_farch_filter_build()
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c1810 bool is_tcp, is_udp; in ath10k_htt_rx_get_csum_state() local
1824 is_udp = !!(info & RX_MSDU_START_INFO1_UDP_PROTO); in ath10k_htt_rx_get_csum_state()
1830 if (!is_tcp && !is_udp) in ath10k_htt_rx_get_csum_state()
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c4826 bool is_udp = false; in hns_roce_v2_set_path() local
4854 is_udp = (gid_attr->gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP); in hns_roce_v2_set_path()
4881 is_udp ? rdma_get_udp_sport(grh->flow_label, ibqp->qp_num, in hns_roce_v2_set_path()