Searched refs:flags (Results 1 - 25 of 244) sorted by relevance

12345678910

/deb_dpdk/drivers/crypto/qat/qat_adf/
H A Dicp_qat_fw_la.h147 #define ICP_QAT_FW_LA_CIPH_IV_FLD_FLAG_GET(flags) \
148 QAT_FIELD_GET(flags, QAT_LA_CIPH_IV_FLD_BITPOS, \
151 #define ICP_QAT_FW_LA_CIPH_AUTH_CFG_OFFSET_FLAG_GET(flags) \
152 QAT_FIELD_GET(flags, QAT_LA_CIPH_AUTH_CFG_OFFSET_BITPOS, \
155 #define ICP_QAT_FW_LA_ZUC_3G_PROTO_FLAG_GET(flags) \
156 QAT_FIELD_GET(flags, QAT_FW_LA_ZUC_3G_PROTO_FLAG_BITPOS, \
159 #define ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_GET(flags) \
160 QAT_FIELD_GET(flags, QAT_LA_GCM_IV_LEN_FLAG_BITPOS, \
163 #define ICP_QAT_FW_LA_PROTO_GET(flags) \
164 QAT_FIELD_GET(flags, QAT_LA_PROTO_BITPO
[all...]
H A Dicp_qat_fw.h52 #define QAT_FIELD_SET(flags, val, bitpos, mask) \
53 { (flags) = (((flags) & (~((mask) << (bitpos)))) | \
56 #define QAT_FIELD_GET(flags, bitpos, mask) \
57 (((flags) >> (bitpos)) & (mask))
212 #define ICP_QAT_FW_COMN_PTR_TYPE_GET(flags) \
213 QAT_FIELD_GET(flags, QAT_COMN_PTR_TYPE_BITPOS, QAT_COMN_PTR_TYPE_MASK)
215 #define ICP_QAT_FW_COMN_CD_FLD_TYPE_GET(flags) \
216 QAT_FIELD_GET(flags, QAT_COMN_CD_FLD_TYPE_BITPOS, \
219 #define ICP_QAT_FW_COMN_PTR_TYPE_SET(flags, va
[all...]
/deb_dpdk/app/test/
H A Dtest_cmdline_ipaddr.c107 unsigned flags; member in struct:ipaddr_str
391 uint8_t flags; local
395 for (flags = 0x1; flags < 0x8; flags++) {
396 token.ipaddr_data.flags = flags;
410 /* test each valid string against different flags */
411 for (flags = 1; flags <
634 uint8_t flags; local
[all...]
H A Dtest_mp_secondary.c177 const unsigned flags = 0; local
187 flags) == NULL) &&
196 "test_ring", size, rte_socket_id(), flags) == NULL) &&
206 rte_socket_id(), flags) == NULL) &&
239 config.flags = 0;
/deb_dpdk/lib/librte_pdump/
H A Drte_pdump.h101 * @param flags
102 * flags specifies RTE_PDUMP_FLAG_RX/RTE_PDUMP_FLAG_TX/RTE_PDUMP_FLAG_RXTX
116 rte_pdump_enable(uint8_t port, uint16_t queue, uint32_t flags,
130 * @param flags
131 * flags specifies RTE_PDUMP_FLAG_RX/RTE_PDUMP_FLAG_TX/RTE_PDUMP_FLAG_RXTX
139 rte_pdump_disable(uint8_t port, uint16_t queue, uint32_t flags);
151 * @param flags
152 * flags specifies RTE_PDUMP_FLAG_RX/RTE_PDUMP_FLAG_TX/RTE_PDUMP_FLAG_RXTX
167 uint32_t flags,
183 * @param flags
[all...]
H A Drte_pdump.c80 uint32_t flags; member in struct:pdump_request
345 uint32_t flags; local
350 flags = p->flags;
385 if (nb_rx_q == 0 && flags & RTE_PDUMP_FLAG_RX) {
390 if (nb_tx_q == 0 && flags & RTE_PDUMP_FLAG_TX) {
396 flags == RTE_PDUMP_FLAG_RXTX) {
404 if (flags & RTE_PDUMP_FLAG_RX) {
413 if (flags & RTE_PDUMP_FLAG_TX) {
739 if (mp->flags
756 pdump_validate_flags(uint32_t flags) argument
794 pdump_prepare_client_request(char *device, uint16_t queue, uint32_t flags, uint16_t operation, struct rte_ring *ring, struct rte_mempool *mp, void *filter) argument
834 rte_pdump_enable(uint8_t port, uint16_t queue, uint32_t flags, struct rte_ring *ring, struct rte_mempool *mp, void *filter) argument
860 rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue, uint32_t flags, struct rte_ring *ring, struct rte_mempool *mp, void *filter) argument
882 rte_pdump_disable(uint8_t port, uint16_t queue, uint32_t flags) argument
901 rte_pdump_disable_by_deviceid(char *device_id, uint16_t queue, uint32_t flags) argument
[all...]
/deb_dpdk/drivers/net/xenvirt/
H A Drte_eth_xenvirt.h54 int socket_id, unsigned flags);
/deb_dpdk/lib/librte_eal/common/include/
H A Drte_memzone.h93 uint32_t flags; /**< Characteristics of this memzone. */ member in struct:rte_memzone
114 * @param flags
115 * The flags parameter is used to request memzones to be
143 unsigned flags);
164 * @param flags
165 * The flags parameter is used to request memzones to be
195 unsigned flags, unsigned align);
219 * @param flags
220 * The flags parameter is used to request memzones to be
253 unsigned flags, unsigne
[all...]
/deb_dpdk/lib/librte_table/
H A Drte_table_lpm.h54 * connected to) and other flags and counters.
90 int flags; member in struct:rte_table_lpm_params
/deb_dpdk/lib/librte_eal/common/
H A Dmalloc_heap.h57 unsigned flags, size_t align, size_t bound);
H A Dmalloc_heap.c57 check_hugepage_sz(unsigned flags, uint64_t hugepage_sz) argument
61 if (!(flags & ~RTE_MEMZONE_SIZE_HINT_ONLY))
90 return check_flag & flags;
124 unsigned flags, size_t align, size_t bound)
134 if (check_hugepage_sz(flags, elem->ms->hugepage_sz))
142 if ((alt_elem != NULL) && (flags & RTE_MEMZONE_SIZE_HINT_ONLY))
156 const char *type __attribute__((unused)), size_t size, unsigned flags,
166 elem = find_suitable_element(heap, size, flags, align, bound);
123 find_suitable_element(struct malloc_heap *heap, size_t size, unsigned flags, size_t align, size_t bound) argument
155 malloc_heap_alloc(struct malloc_heap *heap, const char *type __attribute__((unused)), size_t size, unsigned flags, size_t align, size_t bound) argument
H A Deal_common_memzone.c130 int socket_id, unsigned flags, unsigned align, unsigned bound)
219 requested_len, flags, align, bound);
228 NULL, requested_len, flags, align, bound);
260 mz->flags = 0;
268 int socket_id, unsigned flags, unsigned align,
280 name, len, socket_id, flags, align, bound);
294 unsigned flags, unsigned align, unsigned bound)
296 return rte_memzone_reserve_thread_safe(name, len, socket_id, flags,
306 unsigned flags, unsigned align)
308 return rte_memzone_reserve_thread_safe(name, len, socket_id, flags,
129 memzone_reserve_aligned_thread_unsafe(const char *name, size_t len, int socket_id, unsigned flags, unsigned align, unsigned bound) argument
267 rte_memzone_reserve_thread_safe(const char *name, size_t len, int socket_id, unsigned flags, unsigned align, unsigned bound) argument
293 rte_memzone_reserve_bounded(const char *name, size_t len, int socket_id, unsigned flags, unsigned align, unsigned bound) argument
305 rte_memzone_reserve_aligned(const char *name, size_t len, int socket_id, unsigned flags, unsigned align) argument
317 rte_memzone_reserve(const char *name, size_t len, int socket_id, unsigned flags) argument
[all...]
/deb_dpdk/examples/netmap_compat/lib/
H A Dcompat_netmap.h75 int rte_netmap_open(const char *pathname, int flags);
77 void *rte_netmap_mmap(void *addr, size_t length, int prot, int flags, int fd,
/deb_dpdk/drivers/net/virtio/
H A Dvirtio_ring.h48 /* The Host uses this in used->flags to advise the Guest: don't kick me
52 /* The Guest uses this in avail->flags to advise the Host: don't
62 uint16_t flags; /* The flags as indicated above. */ member in struct:vring_desc
67 uint16_t flags; member in struct:vring_avail
81 uint16_t flags; member in struct:vring_used
/deb_dpdk/drivers/net/enic/base/
H A Dcq_enet_desc.h70 u8 flags; member in struct:cq_enet_rq_desc
166 desc->flags =
231 *fcoe_fc_crc_ok = (desc->flags &
233 *fcoe_enc_error = (desc->flags &
248 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP_UDP_CSUM_OK) ? 1 : 0;
249 *udp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_UDP) ? 1 : 0;
250 *tcp = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_TCP) ? 1 : 0;
252 (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4_CSUM_OK) ? 1 : 0;
253 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0;
254 *ipv4 = (desc->flags
[all...]
/deb_dpdk/lib/librte_power/
H A Dguest_channel.c56 int flags, ret; local
83 flags = fcntl(fd, F_GETFL, 0);
84 if (flags < 0) {
85 RTE_LOG(ERR, GUEST_CHANNEL, "Failed on fcntl get flags for file %s\n",
90 flags |= O_NONBLOCK;
91 if (fcntl(fd, F_SETFL, flags) < 0) {
/deb_dpdk/drivers/net/ena/base/ena_defs/
H A Dena_admin_defs.h214 uint8_t flags; member in struct:ena_admin_aq_common_desc
280 uint8_t flags; member in struct:ena_admin_acq_common_desc
593 uint8_t flags; member in struct:ena_admin_get_set_feature_common_desc
715 uint32_t flags; member in struct:ena_admin_get_feature_link_desc
1094 uint8_t flags; member in struct:ena_admin_aenq_common_desc
1144 uint32_t flags; member in struct:ena_admin_aenq_link_change_desc
1267 return p->flags & ENA_ADMIN_AQ_COMMON_DESC_PHASE_MASK;
1274 p->flags |= val & ENA_ADMIN_AQ_COMMON_DESC_PHASE_MASK;
1281 return (p->flags & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_MASK) >>
1289 p->flags |
[all...]
/deb_dpdk/drivers/net/qede/
H A Dqede_eth_if.c318 struct ecore_filter_accept_flags flags; local
320 memset(&flags, 0, sizeof(flags));
322 flags.update_rx_mode_config = 1;
323 flags.update_tx_mode_config = 1;
324 flags.rx_accept_filter = ECORE_ACCEPT_UCAST_MATCHED |
328 flags.tx_accept_filter = ECORE_ACCEPT_UCAST_MATCHED |
333 flags.rx_accept_filter |= ECORE_ACCEPT_UCAST_UNMATCHED;
335 flags.tx_accept_filter |= ECORE_ACCEPT_UCAST_UNMATCHED;
339 flags
[all...]
H A Dqede_rxtx.h50 #define CQE_HAS_VLAN(flags) \
51 ((flags) & (PARSING_AND_ERR_FLAGS_TAG8021QEXIST_MASK \
54 #define CQE_HAS_OUTER_VLAN(flags) \
55 ((flags) & (PARSING_AND_ERR_FLAGS_TUNNEL8021QTAGEXIST_MASK \
121 uint8_t flags; member in struct:qede_tx_entry
/deb_dpdk/examples/multi_process/simple_mp/
H A Dmain.c107 const unsigned flags = 0; local
121 send_ring = rte_ring_create(_PRI_2_SEC, ring_size, rte_socket_id(), flags);
122 recv_ring = rte_ring_create(_SEC_2_PRI, ring_size, rte_socket_id(), flags);
126 rte_socket_id(), flags);
/deb_dpdk/drivers/net/virtio/virtio_user/
H A Dvhost.h59 /* Option flags. */
60 unsigned int flags; member in struct:vhost_vring_addr
119 uint32_t flags; member in struct:vhost_user_msg
/deb_dpdk/examples/netmap_compat/netmap/
H A Dnetmap.h88 | | / | len, flags |
91 | txring_ofs[0] | (rel.to nifp)--' | len, flags |
95 +---------------+ | len, flags |
110 * Each slot has the index of a buffer, its length and some flags.
128 uint16_t flags; /* buf changed, etc. */ member in struct:netmap_slot
203 uint16_t flags; member in struct:netmap_ring
/deb_dpdk/drivers/net/qede/base/
H A Decore_dcbx.c329 u32 pri_tc_tbl, flags; local
333 flags = p_hwfn->p_dcbx_info->operational.flags;
334 dcbx_version = ECORE_MFW_GET_FIELD(flags, DCBX_CONFIG_VERSION);
343 num_entries = ECORE_MFW_GET_FIELD(p_app->flags, DCBX_APP_NUM_ENTRIES);
350 p_info->num_active_tc = ECORE_MFW_GET_FIELD(p_ets->flags,
432 p_params->app_willing = ECORE_MFW_GET_FIELD(p_app->flags,
434 p_params->app_valid = ECORE_MFW_GET_FIELD(p_app->flags,
436 p_params->app_error = ECORE_MFW_GET_FIELD(p_app->flags, DCBX_APP_ERROR);
437 p_params->num_app_entries = ECORE_MFW_GET_FIELD(p_app->flags,
634 u32 pfc, flags; local
[all...]
/deb_dpdk/drivers/net/bnx2x/
H A Dbnx2x_vfpf.c300 sc->flags |= BNX2X_NO_WOL_FLAG | BNX2X_NO_ISCSI_OOO_FLAG | BNX2X_NO_ISCSI_FLAG | BNX2X_NO_FCOE_FLAG;
439 uint16_t flags = leading ? BNX2X_VF_Q_FLAG_LEADING_RSS : 0; local
441 flags |= BNX2X_VF_Q_FLAG_CACHE_ALIGN;
442 flags |= BNX2X_VF_Q_FLAG_STATS;
443 flags |= BNX2X_VF_Q_FLAG_VLAN;
445 return flags;
450 struct vf_rxq_params *rxq_init, uint16_t flags)
467 rxq_init->flags = flags;
474 struct vf_txq_params *txq_init, uint16_t flags)
449 bnx2x_vf_rx_q_prep(struct bnx2x_softc *sc, struct bnx2x_fastpath *fp, struct vf_rxq_params *rxq_init, uint16_t flags) argument
473 bnx2x_vf_tx_q_prep(struct bnx2x_softc *sc, struct bnx2x_fastpath *fp, struct vf_txq_params *txq_init, uint16_t flags) argument
496 uint16_t flags = bnx2x_vf_q_flags(leading); local
[all...]
/deb_dpdk/lib/librte_mempool/
H A Drte_mempool.c189 rte_mempool_calc_obj_size(uint32_t elt_size, uint32_t flags, argument
197 if ((flags & MEMPOOL_F_NO_CACHE_ALIGN) == 0)
211 if ((flags & MEMPOOL_F_NO_CACHE_ALIGN) == 0) {
223 if ((flags & MEMPOOL_F_NO_SPREAD) == 0) {
358 if ((mp->flags & MEMPOOL_F_POOL_CREATED) == 0) {
362 mp->flags |= MEMPOOL_F_POOL_CREATED;
382 if (mp->flags & MEMPOOL_F_NO_CACHE_ALIGN)
429 if (mp->flags & MEMPOOL_F_NO_PHYS_CONTIG)
471 if (mp->flags & MEMPOOL_F_NO_PHYS_CONTIG)
569 if (mp->flags
738 rte_mempool_create_empty(const char *name, unsigned n, unsigned elt_size, unsigned cache_size, unsigned private_data_size, int socket_id, unsigned flags) argument
869 rte_mempool_create(const char *name, unsigned n, unsigned elt_size, unsigned cache_size, unsigned private_data_size, rte_mempool_ctor_t *mp_init, void *mp_init_arg, rte_mempool_obj_cb_t *obj_init, void *obj_init_arg, int socket_id, unsigned flags) argument
920 rte_mempool_xmem_create(const char *name, unsigned n, unsigned elt_size, unsigned cache_size, unsigned private_data_size, rte_mempool_ctor_t *mp_init, void *mp_init_arg, rte_mempool_obj_cb_t *obj_init, void *obj_init_arg, int socket_id, unsigned flags, void *vaddr, const phys_addr_t paddr[], uint32_t pg_num, uint32_t pg_shift) argument
[all...]

Completed in 29 milliseconds

12345678910