| /dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx.c | 994 uint32_t hdr_size; in virtio_recv_pkts() local 1013 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts() 1037 RTE_PKTMBUF_HEADROOM - hdr_size); in virtio_recv_pkts() 1101 uint32_t hdr_size; in virtio_recv_pkts_packed() local 1116 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts_packed() 1140 RTE_PKTMBUF_HEADROOM - hdr_size); in virtio_recv_pkts_packed() 1207 uint32_t hdr_size; in virtio_recv_pkts_inorder() local 1223 hdr_size = hw->vtnet_hdr_size; in virtio_recv_pkts_inorder() 1245 - hdr_size); in virtio_recv_pkts_inorder() 1315 RTE_PKTMBUF_HEADROOM - hdr_size; in virtio_recv_pkts_inorder() [all …]
|
| H A D | virtio_rxtx_packed.h | 109 uint16_t hdr_size = hw->vtnet_hdr_size; in virtqueue_enqueue_single_packed_vec() local 117 txm->nb_segs == 1 && rte_pktmbuf_headroom(txm) >= hdr_size) in virtqueue_enqueue_single_packed_vec() 131 rte_pktmbuf_headroom(txm) >= hdr_size; in virtqueue_enqueue_single_packed_vec() 216 uint32_t hdr_size = hw->vtnet_hdr_size; in virtqueue_dequeue_single_packed_vec() local 239 cookie->pkt_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec() 240 cookie->data_len = (uint32_t)(len - hdr_size); in virtqueue_dequeue_single_packed_vec() 243 RTE_PKTMBUF_HEADROOM - hdr_size); in virtqueue_dequeue_single_packed_vec()
|
| H A D | virtio_rxtx_packed_avx.h | 147 uint16_t hdr_size = hw->vtnet_hdr_size; in virtqueue_dequeue_batch_packed_vec() local 202 (uint32_t)-hdr_size); in virtqueue_dequeue_batch_packed_vec() 220 RTE_PKTMBUF_HEADROOM - hdr_size; in virtqueue_dequeue_batch_packed_vec()
|
| /dpdk/drivers/common/sfc_efx/base/ |
| H A D | ef10_image.c | 39 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 …]
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_mng.c | 113 u32 hdr_size = sizeof(struct txgbe_hic_hdr); in txgbe_host_interface_command() local 138 dword_len = hdr_size >> 2; in txgbe_host_interface_command() 155 hdr_size += (2 << 2); in txgbe_host_interface_command() 162 if (length < buf_len + hdr_size) { in txgbe_host_interface_command()
|
| /dpdk/drivers/net/ngbe/base/ |
| H A D | ngbe_mng.c | 89 u32 hdr_size = sizeof(struct ngbe_hic_hdr); in ngbe_host_interface_command() local 114 dword_len = hdr_size >> 2; in ngbe_host_interface_command() 131 hdr_size += (2 << 2); in ngbe_host_interface_command() 138 if (length < buf_len + hdr_size) { in ngbe_host_interface_command()
|
| /dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_kernel_tap.c | 167 vhost_kernel_tap_setup(int tapfd, int hdr_size, uint64_t features) in vhost_kernel_tap_setup() argument 177 if (ioctl(tapfd, TUNSETVNETHDRSZ, &hdr_size) < 0) { in vhost_kernel_tap_setup()
|
| H A D | vhost_kernel.c | 533 int hdr_size; in vhost_kernel_enable_queue_pair() local 554 hdr_size = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_kernel_enable_queue_pair() 556 hdr_size = sizeof(struct virtio_net_hdr); in vhost_kernel_enable_queue_pair() 563 if (vhost_kernel_tap_setup(tapfd, hdr_size, dev->features) < 0) { in vhost_kernel_enable_queue_pair()
|
| H A D | vhost_kernel_tap.h | 37 int vhost_kernel_tap_setup(int tapfd, int hdr_size, uint64_t features);
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_txr.c | 243 uint16_t hdr_size; in bnxt_start_xmit() local 248 hdr_size = tx_pkt->l2_len + tx_pkt->l3_len + in bnxt_start_xmit() 250 hdr_size += (tx_pkt->ol_flags & RTE_MBUF_F_TX_TUNNEL_MASK) ? in bnxt_start_xmit() 257 txbd1->kid_or_ts_low_hdr_size = hdr_size >> 1; in bnxt_start_xmit()
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.c | 2378 uint16_t hdr_size; local 2412 hdr_size = 0; 2544 hdr_size = mbuf->l2_len + mbuf->l3_len + mbuf->l4_len; 2546 hdr_size += mbuf->outer_l2_len + 2633 hdr_size); 2635 QEDE_BD_SET_ADDR_LEN(bd2, (hdr_size + 2637 mbuf->data_len - hdr_size);
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | virtchnl.h | 299 u16 hdr_size; member
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_common.c | 4557 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()
|
| /dpdk/drivers/common/iavf/ |
| H A D | virtchnl.h | 536 u16 hdr_size; member
|
| /dpdk/drivers/net/dpaa/fmlib/ |
| H A D | fm_pcd_ext.h | 2681 uint8_t hdr_size; member
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_pf.c | 401 rx_ctx.hbuff = rxq->hdr_size >> I40E_RXQ_CTX_HBUFF_SHIFT; in i40e_pf_host_hmc_config_rxq()
|