Searched refs:eth_hdr_len (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/scsi/fnic/
H A Dfnic_fcs.c1054 u32 tot_len, eth_hdr_len; fnic_send_frame() local
1066 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); fnic_send_frame()
1067 vlan_hdr = (struct vlan_ethhdr *)skb_push(skb, eth_hdr_len); fnic_send_frame()
1074 eth_hdr_len = sizeof(*eth_hdr) + sizeof(*fcoe_hdr); fnic_send_frame()
1075 eth_hdr = (struct ethhdr *)skb_push(skb, eth_hdr_len); fnic_send_frame()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
H A Dcm.c3647 u16 eth_hdr_len; build_cpl_pass_accept_req() local
3686 eth_hdr_len = is_t4(type) ? build_cpl_pass_accept_req()
3691 ETH_HDR_LEN_V(eth_hdr_len)); build_cpl_pass_accept_req()
3693 eth_hdr_len = RX_T6_ETHHDR_LEN_G(be32_to_cpu(l2info)); build_cpl_pass_accept_req()
3696 T6_ETH_HDR_LEN_V(eth_hdr_len)); build_cpl_pass_accept_req()
3791 u16 rss_qid, eth_hdr_len; rx_pkt() local
3820 eth_hdr_len = RX_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); rx_pkt()
3823 eth_hdr_len = RX_T5_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); rx_pkt()
3826 eth_hdr_len = RX_T6_ETHHDR_LEN_G(be32_to_cpu(cpl->l2info)); rx_pkt()
3834 if (eth_hdr_len == ETH_HLEN) { rx_pkt()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c1757 * eth_hdr_len - return the length of an Ethernet header
1762 static inline int eth_hdr_len(const void *data) eth_hdr_len() function
1822 skb->len > dev->mtu + eth_hdr_len(skb->data))) { t1_start_xmit()
1824 skb->len, eth_hdr_len(skb->data), dev->mtu); t1_start_xmit()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1069 int eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; hwcsum() local
1072 hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); hwcsum()
1074 hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); hwcsum()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1119 int eth_hdr_len = skb_network_offset(skb) - ETH_HLEN; hwcsum() local
1122 hdr_len |= TXPKT_ETHHDR_LEN_V(eth_hdr_len); hwcsum()
1124 hdr_len |= T6_TXPKT_ETHHDR_LEN_V(eth_hdr_len); hwcsum()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1059 unsigned int eth_hdr_len; be_lancer_xmit_workarounds() local
1066 eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ? be_lancer_xmit_workarounds()
1072 pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len)); be_lancer_xmit_workarounds()

Completed in 296 milliseconds