Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/fnic/
Dfnic_fcs.c1080 u32 tot_len, eth_hdr_len; in fnic_send_frame() local
1092 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1093 vlan_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame()
1100 eth_hdr_len = sizeof(*eth_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame()
1101 eth_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame()
/linux-6.12.1/drivers/infiniband/hw/cxgb4/
Dcm.c3932 u16 eth_hdr_len; in build_cpl_pass_accept_req() local
3971 eth_hdr_len = is_t4(type) ? in build_cpl_pass_accept_req()
3976 ETH_HDR_LEN_V(eth_hdr_len)); in build_cpl_pass_accept_req()
3978 eth_hdr_len = RX_T6_ETHHDR_LEN_G(be32_to_cpu(l2info)); in build_cpl_pass_accept_req()
3981 T6_ETH_HDR_LEN_V(eth_hdr_len)); in build_cpl_pass_accept_req()
4077 u16 rss_qid, eth_hdr_len; in rx_pkt() local
4106 eth_hdr_len = RX_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); in rx_pkt()
4109 eth_hdr_len = RX_T5_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); in rx_pkt()
4112 eth_hdr_len = RX_T6_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); in rx_pkt()
4120 if (eth_hdr_len == ETH_HLEN) { in rx_pkt()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1114 int eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; in hwcsum() local
1117 hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); in hwcsum()
1119 hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); in hwcsum()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1798 static inline int eth_hdr_len(const void *data) in eth_hdr_len() function
1858 skb->len > dev->mtu + eth_hdr_len(skb->data))) { in t1_start_xmit()
1860 skb->len, eth_hdr_len(skb->data), dev->mtu); in t1_start_xmit()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1309 u16 eth_hdr_len; in chtls_pass_accept_request() local
1340 eth_hdr_len = T6_ETH_HDR_LEN_G(ntohl(req->hdr_len)); in chtls_pass_accept_request()
1341 if (eth_hdr_len == ETH_HLEN) { in chtls_pass_accept_request()
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1189 int eth_hdr_len, l4_len; in hwcsum() local
1197 eth_hdr_len = skb_inner_network_offset(skb) - ETH_HLEN; in hwcsum()
1200 eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; in hwcsum()
1205 hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); in hwcsum()
1207 hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); in hwcsum()
/linux-6.12.1/drivers/net/ethernet/emulex/benet/
Dbe_main.c1128 unsigned int eth_hdr_len; in be_lancer_xmit_workarounds() local
1135 eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ? in be_lancer_xmit_workarounds()
1141 if (unlikely(pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len)))) in be_lancer_xmit_workarounds()