Searched refs:proto_hdr_len (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1605 u16 proto_hdr_len = 0; in atl1e_cal_tdp_req() local 1615 proto_hdr_len = skb_tcp_all_headers(skb); in atl1e_cal_tdp_req() 1616 if (proto_hdr_len < skb_headlen(skb)) { in atl1e_cal_tdp_req() 1617 tpd_req += ((skb_headlen(skb) - proto_hdr_len + in atl1e_cal_tdp_req()
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 2354 unsigned int proto_hdr_len; in atl1_xmit_frame() local 2373 proto_hdr_len = skb_tcp_all_headers(skb); in atl1_xmit_frame() 2374 if (unlikely(proto_hdr_len > len)) { in atl1_xmit_frame() 2379 if (proto_hdr_len != len) in atl1_xmit_frame() 2380 count += (len - proto_hdr_len + in atl1_xmit_frame()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 4268 u8 proto_hdr_len, hdr; in stmmac_tso_xmit() local 4294 proto_hdr_len = skb_transport_offset(skb) + sizeof(struct udphdr); in stmmac_tso_xmit() 4297 proto_hdr_len = skb_tcp_all_headers(skb); in stmmac_tso_xmit() 4303 (((skb->len - proto_hdr_len) / TSO_MAX_BUFF_SIZE + 1)))) { in stmmac_tso_xmit() 4315 pay_len = skb_headlen(skb) - proto_hdr_len; /* no frags */ in stmmac_tso_xmit() 4335 __func__, hdr, proto_hdr_len, pay_len, mss); in stmmac_tso_xmit() 4356 stmmac_tso_allocator(priv, des + proto_hdr_len, pay_len, in stmmac_tso_xmit() 4461 stmmac_prepare_tso_tx_desc(priv, first, 1, proto_hdr_len, 0, 1, in stmmac_tso_xmit() 4463 hdr / 4, (skb->len - proto_hdr_len)); in stmmac_tso_xmit()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 2026 u16 proto_hdr_len = 0; in atl1c_cal_tpd_req() local 2031 proto_hdr_len = skb_tcp_all_headers(skb); in atl1c_cal_tpd_req() 2032 if (proto_hdr_len < skb_headlen(skb)) in atl1c_cal_tpd_req()
|