Lines Matching refs:hlen
3288 struct eth_tx_start_bd **tx_bd, u16 hlen, in bnx2x_tx_split() argument
3297 h_tx_bd->nbytes = cpu_to_le16(hlen); in bnx2x_tx_split()
3308 le32_to_cpu(h_tx_bd->addr_lo)) + hlen; in bnx2x_tx_split()
3312 d_tx_bd->nbytes = cpu_to_le16(old_len - hlen); in bnx2x_tx_split()
3405 int to_copy = 0, hlen = 0; in bnx2x_pkt_req_lin() local
3422 hlen = skb_inner_tcp_all_headers(skb); in bnx2x_pkt_req_lin()
3424 hlen = skb_tcp_all_headers(skb); in bnx2x_pkt_req_lin()
3427 first_bd_sz = skb_headlen(skb) - hlen; in bnx2x_pkt_req_lin()
3471 skb_shinfo(skb)->nr_frags, hlen, first_bd_sz); in bnx2x_pkt_req_lin()
3598 u8 hlen = (skb_network_header(skb) - skb->data) >> 1; in bnx2x_set_pbd_csum() local
3602 cpu_to_le16(hlen | in bnx2x_set_pbd_csum()
3609 hlen += pbd->ip_hlen_w; in bnx2x_set_pbd_csum()
3613 hlen += tcp_hdrlen(skb) / 2; in bnx2x_set_pbd_csum()
3615 hlen += sizeof(struct udphdr) / 2; in bnx2x_set_pbd_csum()
3617 pbd->total_hlen_w = cpu_to_le16(hlen); in bnx2x_set_pbd_csum()
3618 hlen = hlen*2; in bnx2x_set_pbd_csum()
3639 return hlen; in bnx2x_set_pbd_csum()
3753 u8 hlen = 0; in bnx2x_start_xmit() local
3940 hlen = bnx2x_set_pbd_csum_enc(bp, skb, in bnx2x_start_xmit()
3974 hlen = bnx2x_set_pbd_csum_e2(bp, skb, in bnx2x_start_xmit()
4020 hlen = bnx2x_set_pbd_csum(bp, skb, pbd_e1x, xmit_type); in bnx2x_start_xmit()
4044 skb->len, hlen, skb_headlen(skb), in bnx2x_start_xmit()
4049 if (unlikely(skb_headlen(skb) > hlen)) { in bnx2x_start_xmit()
4052 &tx_start_bd, hlen, in bnx2x_start_xmit()