Home
last modified time | relevance | path

Searched refs:l4_hdr (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c75 u8 l4_type, u16 l4_hdr) in opa_vnic_make_header() argument
82 h[4] = l4_hdr << OPA_VNIC_L4_HDR_SHFT; in opa_vnic_make_header()
488 u16 len, l4_hdr; in opa_vnic_encap_skb() local
499 l4_hdr = info->vesw.vesw_id; in opa_vnic_encap_skb()
512 OPA_VNIC_L4_ETHR, l4_hdr); in opa_vnic_encap_skb()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c684 u8 l4_hdr = 0, inner_l4_hdr = 0, inner_l4_hlen; in fm10k_tx_encap_offload() local
693 l4_hdr = ip_hdr(skb)->protocol; in fm10k_tx_encap_offload()
696 l4_hdr = ipv6_hdr(skb)->nexthdr; in fm10k_tx_encap_offload()
702 switch (l4_hdr) { in fm10k_tx_encap_offload()
808 u8 l4_hdr = 0; in fm10k_tx_csum() local
833 l4_hdr = network_hdr.ipv4->protocol; in fm10k_tx_csum()
836 l4_hdr = network_hdr.ipv6->nexthdr; in fm10k_tx_csum()
842 &l4_hdr, &frag_off); in fm10k_tx_csum()
844 l4_hdr = NEXTHDR_FRAGMENT; in fm10k_tx_csum()
850 switch (l4_hdr) { in fm10k_tx_csum()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c781 u8 l4_hdr; in nfp_net_tx_csum() local
798 l4_hdr = iph->protocol; in nfp_net_tx_csum()
800 l4_hdr = ipv6h->nexthdr; in nfp_net_tx_csum()
806 switch (l4_hdr) { in nfp_net_tx_csum()
814 nn_dp_warn(dp, "partial checksum but l4 proto=%x!\n", l4_hdr); in nfp_net_tx_csum()
3492 u8 l4_hdr; in nfp_net_features_check() local
3517 l4_hdr = ip_hdr(skb)->protocol; in nfp_net_features_check()
3520 l4_hdr = ipv6_hdr(skb)->nexthdr; in nfp_net_features_check()
3528 (l4_hdr != IPPROTO_UDP && l4_hdr != IPPROTO_GRE) || in nfp_net_features_check()
3529 (l4_hdr == IPPROTO_UDP && in nfp_net_features_check()
/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c51 #define TRANSPORT_OFFSET(l4_hdr, skb) ((u32)((l4_hdr) - (skb)->data)) argument
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c735 unsigned char *l4_hdr; in hns3_get_l4_protocol() local
742 l4_hdr = skb_transport_header(skb); in hns3_get_l4_protocol()
747 if (l4_hdr != exthdr) in hns3_get_l4_protocol()
766 l4_hdr = skb_inner_transport_header(skb); in hns3_get_l4_protocol()
771 if (l4_hdr != exthdr) in hns3_get_l4_protocol()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1283 u8 l4_hdr = 0; in cxgb_encap_offload_supported() local
1294 l4_hdr = ip_hdr(skb)->protocol; in cxgb_encap_offload_supported()
1297 l4_hdr = ipv6_hdr(skb)->nexthdr; in cxgb_encap_offload_supported()
1303 switch (l4_hdr) { in cxgb_encap_offload_supported()
/drivers/net/ethernet/emulex/benet/
Dbe_main.c5079 u8 l4_hdr = 0; in be_features_check() local
5115 l4_hdr = ip_hdr(skb)->protocol; in be_features_check()
5118 l4_hdr = ipv6_hdr(skb)->nexthdr; in be_features_check()
5124 if (l4_hdr != IPPROTO_UDP || in be_features_check()