Home
last modified time | relevance | path

Searched refs:proto_hdr_len (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c2920 u8 proto_hdr_len; in stmmac_tso_xmit() local
2928 proto_hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in stmmac_tso_xmit()
2932 (((skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1)))) { in stmmac_tso_xmit()
2944 pay_len = skb_headlen(skb) - proto_hdr_len; /* no frags */ in stmmac_tso_xmit()
2959 __func__, tcp_hdrlen(skb), proto_hdr_len, pay_len, mss); in stmmac_tso_xmit()
2990 first->des1 = cpu_to_le32(des + proto_hdr_len); in stmmac_tso_xmit()
2997 des += proto_hdr_len; in stmmac_tso_xmit()
3070 proto_hdr_len, in stmmac_tso_xmit()
3073 tcp_hdrlen(skb) / 4, (skb->len - proto_hdr_len)); in stmmac_tso_xmit()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1598 u16 proto_hdr_len = 0; in atl1e_cal_tdp_req() local
1608 proto_hdr_len = skb_transport_offset(skb) + in atl1e_cal_tdp_req()
1610 if (proto_hdr_len < skb_headlen(skb)) { in atl1e_cal_tdp_req()
1611 tpd_req += ((skb_headlen(skb) - proto_hdr_len + in atl1e_cal_tdp_req()
/drivers/net/ethernet/atheros/atlx/
Datl1.c2351 unsigned int proto_hdr_len; in atl1_xmit_frame() local
2370 proto_hdr_len = (skb_transport_offset(skb) + in atl1_xmit_frame()
2372 if (unlikely(proto_hdr_len > len)) { in atl1_xmit_frame()
2377 if (proto_hdr_len != len) in atl1_xmit_frame()
2378 count += (len - proto_hdr_len + in atl1_xmit_frame()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1955 u16 proto_hdr_len = 0; in atl1c_cal_tpd_req() local
1960 proto_hdr_len = skb_transport_offset(skb) + tcp_hdrlen(skb); in atl1c_cal_tpd_req()
1961 if (proto_hdr_len < skb_headlen(skb)) in atl1c_cal_tpd_req()