Home
last modified time | relevance | path

Searched refs:hdr_size (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c965 uint32_t hdr_size; in virtio_recv_pkts() local
984 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts()
1008 RTE_PKTMBUF_HEADROOM - hdr_size); in virtio_recv_pkts()
1072 uint32_t hdr_size; in virtio_recv_pkts_packed() local
1087 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts_packed()
1111 RTE_PKTMBUF_HEADROOM - hdr_size); in virtio_recv_pkts_packed()
1178 uint32_t hdr_size; in virtio_recv_pkts_inorder() local
1194 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts_inorder()
1216 - hdr_size); in virtio_recv_pkts_inorder()
1286 RTE_PKTMBUF_HEADROOM - hdr_size; in virtio_recv_pkts_inorder()
[all …]
H A Dvirtio_rxtx_packed_avx.c209 uint16_t hdr_size = hw->vtnet_hdr_size; in virtqueue_enqueue_single_packed_vec() local
219 rte_pktmbuf_headroom(txm) >= hdr_size) in virtqueue_enqueue_single_packed_vec()
363 uint16_t hdr_size = hw->vtnet_hdr_size; in virtqueue_dequeue_batch_packed_vec() local
418 (uint32_t)-hdr_size); in virtqueue_dequeue_batch_packed_vec()
436 RTE_PKTMBUF_HEADROOM - hdr_size; in virtqueue_dequeue_batch_packed_vec()
465 uint32_t hdr_size = hw->vtnet_hdr_size; in virtqueue_dequeue_single_packed_vec() local
488 cookie->pkt_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec()
489 cookie->data_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec()
492 RTE_PKTMBUF_HEADROOM - hdr_size); in virtqueue_dequeue_single_packed_vec()
/f-stack/dpdk/drivers/common/sfc_efx/base/
H A Def10_image.c39 uint32_t hdr_size; member
72 cursor->hdr_size = 2; in efx_asn1_parse_header_match_tag()
94 cursor->hdr_size = 2 + nbytes; in efx_asn1_parse_header_match_tag()
96 for (offset = 2; offset < cursor->hdr_size; offset++) { in efx_asn1_parse_header_match_tag()
102 if ((cursor->hdr_size + cursor->val_size) > cursor->length) { in efx_asn1_parse_header_match_tag()
153 cursor->buffer += cursor->hdr_size; in efx_asn1_enter_tag()
200 cursor->buffer += cursor->hdr_size + cursor->val_size; in efx_asn1_match_tag_value()
201 cursor->length -= cursor->hdr_size + cursor->val_size; in efx_asn1_match_tag_value()
235 cursor->buffer += cursor->hdr_size + cursor->val_size; in efx_asn1_skip_tag()
236 cursor->length -= cursor->hdr_size + cursor->val_size; in efx_asn1_skip_tag()
[all …]
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_kernel.c326 int hdr_size; in vhost_kernel_enable_queue_pair() local
363 hdr_size = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_kernel_enable_queue_pair()
365 hdr_size = sizeof(struct virtio_net_hdr); in vhost_kernel_enable_queue_pair()
367 tapfd = vhost_kernel_open_tap(&dev->ifname, hdr_size, req_mq, in vhost_kernel_enable_queue_pair()
H A Dvhost_kernel_tap.c69 vhost_kernel_open_tap(char **p_ifname, int hdr_size, int req_mq, in vhost_kernel_open_tap() argument
136 if (ioctl(tapfd, TUNSETVNETHDRSZ, &hdr_size) < 0) { in vhost_kernel_open_tap()
H A Dvhost_kernel_tap.h42 int vhost_kernel_open_tap(char **p_ifname, int hdr_size, int req_mq,
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_mng.c109 u32 hdr_size = sizeof(struct txgbe_hic_hdr); in txgbe_host_interface_command() local
136 dword_len = hdr_size >> 2; in txgbe_host_interface_command()
153 hdr_size += (2 << 2); in txgbe_host_interface_command()
160 if (length < buf_len + hdr_size) { in txgbe_host_interface_command()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_txr.c230 uint16_t hdr_size; in bnxt_start_xmit() local
235 hdr_size = tx_pkt->l2_len + tx_pkt->l3_len + in bnxt_start_xmit()
237 hdr_size += (tx_pkt->ol_flags & PKT_TX_TUNNEL_MASK) ? in bnxt_start_xmit()
244 txbd1->kid_or_ts_low_hdr_size = hdr_size >> 1; in bnxt_start_xmit()
/f-stack/freebsd/sys/disk/
H A Dgpt.h60 uint32_t hdr_size; member
/f-stack/dpdk/drivers/net/qede/
H A Dqede_rxtx.c2382 uint16_t hdr_size; local
2416 hdr_size = 0;
2548 hdr_size = mbuf->l2_len + mbuf->l3_len + mbuf->l4_len;
2550 hdr_size += mbuf->outer_l2_len +
2637 hdr_size);
2639 QEDE_BD_SET_ADDR_LEN(bd2, (hdr_size +
2641 mbuf->data_len - hdr_size);
/f-stack/dpdk/drivers/net/i40e/base/
H A Dvirtchnl.h299 u16 hdr_size; member
/f-stack/dpdk/drivers/common/iavf/
H A Dvirtchnl.h327 u16 hdr_size; member
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c4557 u32 hdr_size = sizeof(struct ixgbe_hic_hdr); in ixgbe_host_interface_command() local
4584 dword_len = hdr_size >> 2; in ixgbe_host_interface_command()
4606 hdr_size += (2 << 2); in ixgbe_host_interface_command()
4613 if (length < buf_len + hdr_size) { in ixgbe_host_interface_command()
/f-stack/dpdk/drivers/net/dpaa/fmlib/
H A Dfm_pcd_ext.h2681 uint8_t hdr_size; member
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_pf.c375 rx_ctx.hbuff = rxq->hdr_size >> I40E_RXQ_CTX_HBUFF_SHIFT; in i40e_pf_host_hmc_config_rxq()