Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 187) sorted by relevance

12345678

/dpdk/drivers/net/bnxt/
H A Dbnxt_stats.c22 {"rx_64b_frames", offsetof(struct rx_port_stats,
24 {"rx_65b_127b_frames", offsetof(struct rx_port_stats,
44 {"rx_total_frames", offsetof(struct rx_port_stats,
54 {"rx_ctrl_frames", offsetof(struct rx_port_stats,
58 {"rx_pfc_frames", offsetof(struct rx_port_stats,
76 {"rx_jbr_frames", offsetof(struct rx_port_stats,
108 {"rx_hcfc_msgs", offsetof(struct rx_port_stats,
112 {"rx_bytes", offsetof(struct rx_port_stats,
152 {"rx_stat_err", offsetof(struct rx_port_stats,
215 {"tx_err", offsetof(struct tx_port_stats,
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx_vec.h33 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, pkt_len) ==
35 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, data_len) ==
37 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, hash) ==
42 offsetof(struct rte_mbuf, rearm_data) + 8);
47 S_ASSERT_RTE_MBUF(offsetof(struct rte_mbuf, pkt_len) ==
57 offsetof(struct mlx5_cqe, pkt_info) + 12);
59 offsetof(struct mlx5_cqe, hdr_type_etc));
61 offsetof(struct mlx5_cqe, hdr_type_etc) + 2);
63 offsetof(struct mlx5_cqe, byte_cnt));
66 S_ASSERT_MLX5_CQE(offsetof(struct mlx5_cqe, op_own) ==
[all …]
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c777 offsetof(struct sge_eth_tx_stats, mapping_err)},
791 offsetof(struct port_stats, tx_frames_65_127)},
793 offsetof(struct port_stats, tx_frames_128_255)},
795 offsetof(struct port_stats, tx_frames_256_511)},
797 offsetof(struct port_stats, tx_frames_512_1023)},
801 offsetof(struct port_stats, tx_frames_1519_max)},
822 offsetof(struct port_stats, rx_symbol_err)},
826 offsetof(struct port_stats, rx_frames_65_127)},
828 offsetof(struct port_stats, rx_frames_128_255)},
830 offsetof(struct port_stats, rx_frames_256_511)},
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_rxtx_vec.c174 offsetof(struct rte_mbuf, rearm_data)); in hns3_rxq_vec_setup_rearm_data()
175 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, refcnt) < in hns3_rxq_vec_setup_rearm_data()
176 offsetof(struct rte_mbuf, rearm_data)); in hns3_rxq_vec_setup_rearm_data()
178 offsetof(struct rte_mbuf, rearm_data)); in hns3_rxq_vec_setup_rearm_data()
179 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, port) < in hns3_rxq_vec_setup_rearm_data()
180 offsetof(struct rte_mbuf, rearm_data)); in hns3_rxq_vec_setup_rearm_data()
182 offsetof(struct rte_mbuf, rearm_data) > 6); in hns3_rxq_vec_setup_rearm_data()
184 offsetof(struct rte_mbuf, rearm_data) > 6); in hns3_rxq_vec_setup_rearm_data()
186 offsetof(struct rte_mbuf, rearm_data) > 6); in hns3_rxq_vec_setup_rearm_data()
187 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, port) - in hns3_rxq_vec_setup_rearm_data()
[all …]
H A Dhns3_stats.h121 (offsetof(struct hns3_mac_stats, f))
124 (offsetof(struct hns3_err_msix_intr_stats, f))
128 (offsetof(struct hns3_reset_stats, f))
131 (offsetof(struct hns3_rx_bd_errors_stats, f))
134 (offsetof(struct hns3_rx_dfx_stats, f))
137 (offsetof(struct hns3_tx_dfx_stats, f))
140 (offsetof(struct hns3_rx_basic_stats, f))
143 (offsetof(struct hns3_tx_basic_stats, f))
146 (offsetof(struct hns3_rx_missed_stats, f))
/dpdk/drivers/net/qede/
H A Dqede_ethdev.c166 offsetof(struct ecore_eth_stats_bb,
170 offsetof(struct ecore_eth_stats_bb,
174 offsetof(struct ecore_eth_stats_bb,
178 offsetof(struct ecore_eth_stats_bb,
182 offsetof(struct ecore_eth_stats_bb,
187 offsetof(struct ecore_eth_stats_bb,
191 offsetof(struct ecore_eth_stats_bb,
195 offsetof(struct ecore_eth_stats_bb,
199 offsetof(struct ecore_eth_stats_bb,
213 offsetof(struct ecore_eth_stats_ah,
[all …]
/dpdk/app/test/
H A Dtest_bpf.c145 .off = offsetof(struct dummy_offset, u8),
151 .off = offsetof(struct dummy_offset, u16),
157 .off = offsetof(struct dummy_offset, u32),
163 .off = offsetof(struct dummy_offset, u64),
215 .off = offsetof(struct dummy_offset, u8),
221 .off = offsetof(struct dummy_offset, u16),
253 .off = offsetof(struct dummy_offset, u8),
1895 offsetof(struct dummy_offset, u64)),
1902 offsetof(struct dummy_offset, u32)),
1914 offsetof(struct dummy_offset, u16)),
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_ie_ot.h422 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, w1) ==
424 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, w2) ==
428 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, w8) ==
430 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, w10) ==
432 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, outer_hdr) ==
436 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, ctx) ==
543 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, w1) ==
545 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, w2) ==
549 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, iv) ==
551 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, w10) ==
[all …]
/dpdk/drivers/event/cnxk/
H A Dcnxk_eventdev_stats.c18 offsetof(struct roc_sso_hws_stats, arbitration),
25 offsetof(struct roc_sso_hws_stats, arbitration),
35 offsetof(struct roc_sso_hwgrp_stats, ws_pc),
42 offsetof(struct roc_sso_hwgrp_stats, ext_pc),
49 offsetof(struct roc_sso_hwgrp_stats, wa_pc),
56 offsetof(struct roc_sso_hwgrp_stats, ts_pc),
63 offsetof(struct roc_sso_hwgrp_stats, ds_pc),
70 offsetof(struct roc_sso_hwgrp_stats, dq_pc),
77 offsetof(struct roc_sso_hwgrp_stats, aw_status),
84 offsetof(struct roc_sso_hwgrp_stats, aw_status),
[all …]
/dpdk/lib/cmdline/
H A Dcmdline_parse_ipaddr.h53 offsetof(structure, field), /* offset */ \
67 offsetof(structure, field), /* offset */ \
80 offsetof(structure, field), /* offset */ \
93 offsetof(structure, field), /* offset */ \
108 offsetof(structure, field), /* offset */ \
122 offsetof(structure, field), /* offset */ \
/dpdk/drivers/net/ionic/
H A Dionic_ethdev.c133 {"rx_ucast_bytes", offsetof(struct ionic_lif_stats,
137 {"rx_mcast_bytes", offsetof(struct ionic_lif_stats,
141 {"rx_bcast_bytes", offsetof(struct ionic_lif_stats,
158 {"rx_dma_error", offsetof(struct ionic_lif_stats,
161 {"tx_ucast_bytes", offsetof(struct ionic_lif_stats,
165 {"tx_mcast_bytes", offsetof(struct ionic_lif_stats,
169 {"tx_bcast_bytes", offsetof(struct ionic_lif_stats,
186 {"tx_dma_error", offsetof(struct ionic_lif_stats,
191 {"rx_queue_empty", offsetof(struct ionic_lif_stats,
193 {"rx_queue_error", offsetof(struct ionic_lif_stats,
[all …]
/dpdk/drivers/net/iavf/
H A Diavf_rxtx_vec_sse.c58 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, buf_iova) != in iavf_rxq_rearm()
59 offsetof(struct rte_mbuf, buf_addr) + 8); in iavf_rxq_rearm()
182 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in desc_to_olflags_v()
183 offsetof(struct rte_mbuf, rearm_data) + 8); in desc_to_olflags_v()
185 RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16)); in desc_to_olflags_v()
334 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in flex_desc_to_olflags_v()
335 offsetof(struct rte_mbuf, rearm_data) + 8); in flex_desc_to_olflags_v()
414 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
462 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
468 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, hash) != in _recv_raw_pkts_vec()
[all …]
/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx_packed.h25 #define FLAGS_BITS_OFFSET ((offsetof(struct vring_packed_desc, flags) - \
26 offsetof(struct vring_packed_desc, len)) * BYTE_SIZE)
29 #define FLAGS_BITS_OFFSET ((offsetof(struct vring_packed_desc, flags) - \
30 offsetof(struct vring_packed_desc, id)) * BYTE_SIZE)
32 offsetof(struct vring_packed_desc, len)) * BYTE_SIZE)
39 #define REFCNT_BITS_OFFSET ((offsetof(struct rte_mbuf, refcnt) - \
40 offsetof(struct rte_mbuf, rearm_data)) * BYTE_SIZE)
44 #define SEG_NUM_BITS_OFFSET ((offsetof(struct rte_mbuf, nb_segs) - \
45 offsetof(struct rte_mbuf, rearm_data)) * BYTE_SIZE)
52 #define ID_BITS_OFFSET ((offsetof(struct vring_packed_desc, id) - \
[all …]
/dpdk/drivers/net/netvsc/
H A Drndis.h162 offsetof(struct rndis_packet_msg, dataoffset))
166 ((ofs) + offsetof(struct rndis_packet_msg, dataoffset))
181 offsetof(struct rndis_pktinfo, data[0])
210 #define RNDIS_PKTINFO_SIZE(dlen) offsetof(struct rndis_pktinfo, data[dlen])
258 offsetof(struct rndis_init_comp, aflistsz)
285 offsetof(struct rndis_query_req, rid))
298 ((ofs) + offsetof(struct rndis_query_comp, rid))
316 offsetof(struct rndis_set_req, rid))
370 ((ofs) + offsetof(struct rndis_status_msg, status))
H A Dndis.h81 offsetof(struct ndis_offload_params, ndis_rsc_ip4)
131 offsetof(struct ndis_rss_caps, ndis_pad)
133 offsetof(struct ndis_rss_caps, ndis_nind)
169 offsetof(struct ndis_rss_params, ndis_cpumaskoffset)
191 offsetof(struct ndis_rssprm_toeplitz, rss_ind[nind])
307 #define NDIS_OFFLOAD_SIZE_6_0 offsetof(struct ndis_offload, ndis_ipsecv2)
308 #define NDIS_OFFLOAD_SIZE_6_1 offsetof(struct ndis_offload, ndis_rsc)
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_representor.c433 offsetof(struct ipn3ke_rpst_hw_port_stats,
436 offsetof(struct ipn3ke_rpst_hw_port_stats,
439 offsetof(struct ipn3ke_rpst_hw_port_stats,
442 offsetof(struct ipn3ke_rpst_hw_port_stats,
445 offsetof(struct ipn3ke_rpst_hw_port_stats,
460 offsetof(struct ipn3ke_rpst_hw_port_stats,
463 offsetof(struct ipn3ke_rpst_hw_port_stats,
466 offsetof(struct ipn3ke_rpst_hw_port_stats,
469 offsetof(struct ipn3ke_rpst_hw_port_stats,
472 offsetof(struct ipn3ke_rpst_hw_port_stats,
[all …]
/dpdk/examples/l3fwd/
H A Dl3fwd_em_hlm_neon.h17 offsetof(struct rte_ipv4_hdr, time_to_live))); in get_ipv4_5tuple()
29 offsetof(struct rte_ipv6_hdr, payload_len))); in get_ipv6_5tuple()
34 offsetof(struct rte_ipv6_hdr, payload_len) + 8)); in get_ipv6_5tuple()
39 offsetof(struct rte_ipv6_hdr, payload_len) + 16)); in get_ipv6_5tuple()
H A Dl3fwd_em_hlm_sse.h17 offsetof(struct rte_ipv4_hdr, time_to_live))); in get_ipv4_5tuple()
29 offsetof(struct rte_ipv6_hdr, payload_len))); in get_ipv6_5tuple()
34 offsetof(struct rte_ipv6_hdr, payload_len) + in get_ipv6_5tuple()
40 offsetof(struct rte_ipv6_hdr, payload_len) + in get_ipv6_5tuple()
/dpdk/lib/ring/
H A Drte_ring.c181 RTE_BUILD_BUG_ON((offsetof(struct rte_ring, cons) & in rte_ring_init()
183 RTE_BUILD_BUG_ON((offsetof(struct rte_ring, prod) & in rte_ring_init()
186 RTE_BUILD_BUG_ON(offsetof(struct rte_ring_headtail, sync_type) != in rte_ring_init()
187 offsetof(struct rte_ring_hts_headtail, sync_type)); in rte_ring_init()
188 RTE_BUILD_BUG_ON(offsetof(struct rte_ring_headtail, tail) != in rte_ring_init()
189 offsetof(struct rte_ring_hts_headtail, ht.pos.tail)); in rte_ring_init()
191 RTE_BUILD_BUG_ON(offsetof(struct rte_ring_headtail, sync_type) != in rte_ring_init()
192 offsetof(struct rte_ring_rts_headtail, sync_type)); in rte_ring_init()
193 RTE_BUILD_BUG_ON(offsetof(struct rte_ring_headtail, tail) != in rte_ring_init()
194 offsetof(struct rte_ring_rts_headtail, tail.val.pos)); in rte_ring_init()
/dpdk/drivers/net/ice/
H A Dice_rxtx_vec_sse.c72 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, buf_iova) != in ice_rxq_rearm()
73 offsetof(struct rte_mbuf, buf_addr) + 8); in ice_rxq_rearm()
262 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in ice_rx_desc_to_olflags_v()
263 offsetof(struct rte_mbuf, rearm_data) + 8); in ice_rx_desc_to_olflags_v()
264 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, rearm_data) != in ice_rx_desc_to_olflags_v()
342 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _ice_recv_raw_pkts_vec()
344 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _ice_recv_raw_pkts_vec()
382 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _ice_recv_raw_pkts_vec()
384 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _ice_recv_raw_pkts_vec()
386 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, vlan_tci) != in _ice_recv_raw_pkts_vec()
[all …]
/dpdk/drivers/net/bnx2x/
H A Dbnx2x_ethdev.c56 offsetof(struct bnx2x_eth_stats, brb_drop_hi),
57 offsetof(struct bnx2x_eth_stats, brb_drop_lo)},
59 offsetof(struct bnx2x_eth_stats, brb_truncate_hi),
60 offsetof(struct bnx2x_eth_stats, brb_truncate_lo)},
65 offsetof(struct bnx2x_eth_stats, mac_filter_discard),
66 offsetof(struct bnx2x_eth_stats, mac_filter_discard)},
68 offsetof(struct bnx2x_eth_stats, mf_tag_discard),
69 offsetof(struct bnx2x_eth_stats, mf_tag_discard)},
77 offsetof(struct bnx2x_eth_stats, pfc_frames_sent_hi),
78 offsetof(struct bnx2x_eth_stats, pfc_frames_sent_lo)},
[all …]
/dpdk/drivers/net/igc/
H A Digc_ethdev.c110 {"rx_crc_errors", offsetof(struct igc_hw_stats, crcerrs)},
112 {"rx_errors", offsetof(struct igc_hw_stats, rxerrc)},
113 {"rx_missed_packets", offsetof(struct igc_hw_stats, mpc)},
143 {"rx_jabber_errors", offsetof(struct igc_hw_stats, rjc)},
144 {"rx_no_buffers", offsetof(struct igc_hw_stats, rnbc)},
148 {"rx_total_packets", offsetof(struct igc_hw_stats, tpr)},
149 {"tx_total_packets", offsetof(struct igc_hw_stats, tpt)},
150 {"rx_total_bytes", offsetof(struct igc_hw_stats, tor)},
151 {"tx_total_bytes", offsetof(struct igc_hw_stats, tot)},
162 {"tx_tso_packets", offsetof(struct igc_hw_stats, tsctc)},
[all …]
/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_sse.c61 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, buf_iova) != in ixgbe_rxq_rearm()
62 offsetof(struct rte_mbuf, buf_addr) + 8); in ixgbe_rxq_rearm()
254 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in desc_to_olflags_v()
255 offsetof(struct rte_mbuf, rearm_data) + 8); in desc_to_olflags_v()
257 RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16)); in desc_to_olflags_v()
358 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
360 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _recv_raw_pkts_vec()
425 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
427 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _recv_raw_pkts_vec()
429 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, vlan_tci) != in _recv_raw_pkts_vec()
[all …]
/dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_sse.c61 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, buf_iova) != in i40e_rxq_rearm()
62 offsetof(struct rte_mbuf, buf_addr) + 8); in i40e_rxq_rearm()
319 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, ol_flags) != in desc_to_olflags_v()
320 offsetof(struct rte_mbuf, rearm_data) + 8); in desc_to_olflags_v()
322 RTE_ALIGN(offsetof(struct rte_mbuf, rearm_data), 16)); in desc_to_olflags_v()
378 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
380 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _recv_raw_pkts_vec()
428 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, pkt_len) != in _recv_raw_pkts_vec()
430 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, data_len) != in _recv_raw_pkts_vec()
432 RTE_BUILD_BUG_ON(offsetof(struct rte_mbuf, vlan_tci) != in _recv_raw_pkts_vec()
[all …]
/dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c153 offsetof(struct vhost_queue, stats.xstats[VHOST_PKT])},
155 offsetof(struct vhost_queue, stats.xstats[VHOST_BYTE])},
157 offsetof(struct vhost_queue, stats.xstats[VHOST_MISSED_PKT])},
163 offsetof(struct vhost_queue, stats.xstats[VHOST_UNICAST_PKT])},
167 offsetof(struct vhost_queue, stats.xstats[VHOST_64_PKT])},
181 offsetof(struct vhost_queue, stats.xstats[VHOST_ERRORS_PKT])},
193 offsetof(struct vhost_queue, stats.xstats[VHOST_PKT])},
195 offsetof(struct vhost_queue, stats.xstats[VHOST_BYTE])},
197 offsetof(struct vhost_queue, stats.xstats[VHOST_MISSED_PKT])},
207 offsetof(struct vhost_queue, stats.xstats[VHOST_64_PKT])},
[all …]

12345678