Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_xdp.c26 int push_len = 0; in ena_xdp_tx_map_frame() local
37 push_len = min_t(u32, size, tx_ring->tx_max_header_size); in ena_xdp_tx_map_frame()
41 size -= push_len; in ena_xdp_tx_map_frame()
42 data += push_len; in ena_xdp_tx_map_frame()
45 ena_tx_ctx->header_len = push_len; in ena_xdp_tx_map_frame()
Dena_netdev.c2461 u16 push_len = 0; in ena_tx_map_skb() local
2480 push_len = min_t(u32, skb->len, tx_ring->tx_max_header_size); in ena_tx_map_skb()
2481 *push_hdr = skb_header_pointer(skb, 0, push_len, in ena_tx_map_skb()
2483 *header_len = push_len; in ena_tx_map_skb()
2488 delta = push_len - skb_head_len; in ena_tx_map_skb()
2498 *push_hdr, push_len); in ena_tx_map_skb()
2500 if (skb_head_len > push_len) { in ena_tx_map_skb()
2501 dma = dma_map_single(tx_ring->dev, skb->data + push_len, in ena_tx_map_skb()
2502 skb_head_len - push_len, DMA_TO_DEVICE); in ena_tx_map_skb()
2507 ena_buf->len = skb_head_len - push_len; in ena_tx_map_skb()
/drivers/s390/net/
Dqeth_core_main.c4332 int push_len, rc; in qeth_xmit() local
4346 push_len = qeth_add_hw_header(queue, skb, &hdr, hw_hdr_len, proto_len, in qeth_xmit()
4348 if (push_len < 0) in qeth_xmit()
4349 return push_len; in qeth_xmit()
4350 if (is_tso || !push_len) { in qeth_xmit()
4353 data_offset = push_len + proto_len; in qeth_xmit()
4373 if (rc && !push_len) in qeth_xmit()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c482 int j, push_len; in bnxt_start_xmit() local
535 push_len = (length + sizeof(*tx_push) + 7) / 8; in bnxt_start_xmit()
536 if (push_len > 16) { in bnxt_start_xmit()
539 (push_len - 16) << 1); in bnxt_start_xmit()
541 __iowrite64_copy(db, tx_push_buf, push_len); in bnxt_start_xmit()