Searched refs:internals (Results 1 - 25 of 30) sorted by relevance

12

/deb_dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c82 struct bond_dev_private *internals = eth_dev->data->dev_private; local
83 uint8_t active_count = internals->active_slave_count;
85 if (internals->mode == BONDING_MODE_8023AD)
88 if (internals->mode == BONDING_MODE_TLB
89 || internals->mode == BONDING_MODE_ALB) {
91 internals->tlb_slaves_order[active_count] = port_id;
94 RTE_ASSERT(internals->active_slave_count <
95 (RTE_DIM(internals->active_slaves) - 1));
97 internals->active_slaves[internals
110 struct bond_dev_private *internals = eth_dev->data->dev_private; local
167 struct bond_dev_private *internals = NULL; local
300 struct bond_dev_private *internals; local
339 struct bond_dev_private *internals; local
382 struct bond_dev_private *internals; local
514 struct bond_dev_private *internals; local
538 struct bond_dev_private *internals; local
620 struct bond_dev_private *internals; local
650 struct bond_dev_private *internals; local
663 struct bond_dev_private *internals; local
684 struct bond_dev_private *internals; local
700 struct bond_dev_private *internals; local
724 struct bond_dev_private *internals; local
747 struct bond_dev_private *internals; local
772 struct bond_dev_private *internals; local
812 struct bond_dev_private *internals; local
842 struct bond_dev_private *internals; local
855 struct bond_dev_private *internals; local
869 struct bond_dev_private *internals; local
883 struct bond_dev_private *internals; local
897 struct bond_dev_private *internals; local
911 struct bond_dev_private *internals; local
925 struct bond_dev_private *internals; local
[all...]
H A Drte_eth_bond_alb.c51 calculate_slave(struct bond_dev_private *internals) argument
55 idx = (internals->mode6.last_slave + 1) % internals->active_slave_count;
56 internals->mode6.last_slave = idx;
57 return internals->active_slaves[idx];
63 struct bond_dev_private *internals = bond_dev->data->dev_private; local
64 struct client_data *hash_table = internals->mode6.client_table;
72 rte_spinlock_init(&internals->mode6.lock);
73 internals->mode6.last_slave = ALB_NULL_INDEX;
74 internals
103 bond_mode_alb_arp_recv(struct ether_hdr *eth_h, uint16_t offset, struct bond_dev_private *internals) argument
151 bond_mode_alb_arp_xmit(struct ether_hdr *eth_h, uint16_t offset, struct bond_dev_private *internals) argument
223 bond_mode_alb_arp_upd(struct client_data *client_info, struct rte_mbuf *pkt, struct bond_dev_private *internals) argument
266 struct bond_dev_private *internals = bond_dev->data->dev_private; local
[all...]
H A Drte_eth_bond_pmd.c84 struct bond_dev_private *internals; local
93 internals = bd_rx_q->dev_private;
94 slave_count = internals->active_slave_count;
95 active_slave = internals->active_slave;
103 rte_eth_rx_burst(internals->active_slaves[active_slave],
112 if (++internals->active_slave == slave_count)
113 internals->active_slave = 0;
121 struct bond_dev_private *internals; local
126 internals = bd_rx_q->dev_private;
128 return rte_eth_rx_burst(internals
147 struct bond_dev_private *internals = bd_rx_q->dev_private; local
390 struct bond_dev_private *internals = bd_tx_q->dev_private; local
422 struct bond_dev_private *internals; local
485 struct bond_dev_private *internals; local
630 bond_tlb_activate_slave(struct bond_dev_private *internals) argument
676 struct bond_dev_private *internals = arg; local
720 struct bond_dev_private *internals = bd_tx_q->dev_private; local
773 bond_tlb_disable(struct bond_dev_private *internals) argument
779 bond_tlb_enable(struct bond_dev_private *internals) argument
788 struct bond_dev_private *internals = bd_tx_q->dev_private; local
931 struct bond_dev_private *internals; local
992 struct bond_dev_private *internals; local
1084 struct bond_dev_private *internals; local
1145 struct bond_dev_private *internals = bonded_eth_dev->data->dev_private; local
1159 struct bond_dev_private *internals = bonded_eth_dev->data->dev_private; local
1226 struct bond_dev_private *internals = bonded_eth_dev->data->dev_private; local
1282 struct bond_dev_private *internals; local
1345 struct bond_dev_private *internals = (struct bond_dev_private *) local
1433 struct bond_dev_private *internals; local
1465 slave_remove(struct bond_dev_private *internals, struct rte_eth_dev *slave_eth_dev) argument
1487 slave_add(struct bond_dev_private *internals, struct rte_eth_dev *slave_eth_dev) argument
1510 bond_ethdev_primary_set(struct bond_dev_private *internals, uint8_t slave_port_id) argument
1531 struct bond_dev_private *internals; local
1642 struct bond_dev_private *internals = eth_dev->data->dev_private; local
1691 struct bond_dev_private *internals = dev->data->dev_private; local
1703 struct bond_dev_private *internals = dev->data->dev_private; local
1752 struct bond_dev_private *internals = dev->data->dev_private; local
1845 struct bond_dev_private *internals; local
1903 struct bond_dev_private *internals = bonded_eth_dev->data->dev_private; local
1933 struct bond_dev_private *internals = dev->data->dev_private; local
1963 struct bond_dev_private *internals = dev->data->dev_private; local
1973 struct bond_dev_private *internals = eth_dev->data->dev_private; local
2001 struct bond_dev_private *internals = dev->data->dev_private; local
2041 struct bond_dev_private *internals; local
2176 struct bond_dev_private *internals = dev->data->dev_private; local
2213 struct bond_dev_private *internals = dev->data->dev_private; local
2232 struct bond_dev_private *internals = dev->data->dev_private; local
2265 struct bond_dev_private *internals = dev->data->dev_private; local
2300 struct bond_dev_private *internals; local
2388 struct bond_dev_private *internals = dev->data->dev_private; local
[all...]
H A Drte_eth_bond_alb.h97 * @param internals Bonding data.
101 struct bond_dev_private *internals);
111 * @param internals Bonding data.
118 struct bond_dev_private *internals);
125 * @param internals Bonding data.
132 struct rte_mbuf *pkt, struct bond_dev_private *internals);
H A Drte_eth_bond_8023ad.c282 rx_machine(struct bond_dev_private *internals, uint8_t slave_id, argument
375 timeout = internals->mode4.short_timeout;
377 timeout = internals->mode4.long_timeout;
390 timer_set(&port->current_while_timer, internals->mode4.short_timeout);
403 periodic_machine(struct bond_dev_private *internals, uint8_t slave_id) argument
446 timeout = internals->mode4.fast_periodic_timeout;
449 timeout = internals->mode4.slow_periodic_timeout;
465 mux_machine(struct bond_dev_private *internals, uint8_t slave_id) argument
493 internals->mode4.aggregate_wait_timeout);
542 internals
568 tx_machine(struct bond_dev_private *internals, uint8_t slave_id) argument
657 selection_logic(struct bond_dev_private *internals, uint8_t slave_id) argument
747 struct bond_dev_private *internals = bond_dev->data->dev_private; local
843 struct bond_dev_private *internals = bond_dev->data->dev_private; local
972 struct bond_dev_private *internals = bond_dev->data->dev_private; local
1008 struct bond_dev_private *internals = dev->data->dev_private; local
1026 struct bond_dev_private *internals = dev->data->dev_private; local
1068 struct bond_dev_private *internals = dev->data->dev_private; local
1089 struct bond_dev_private *internals = dev->data->dev_private; local
1108 struct bond_dev_private *internals = bond_dev->data->dev_private; local
1121 struct bond_dev_private *internals = bond_dev->data->dev_private; local
1135 struct bond_dev_private *internals = bond_dev->data->dev_private; local
1147 bond_mode_8023ad_handle_slow_pkt(struct bond_dev_private *internals, uint8_t slave_id, struct rte_mbuf *pkt) argument
1318 struct bond_dev_private *internals; local
1350 struct bond_dev_private *internals; local
1474 struct bond_dev_private *internals = bond_dev->data->dev_private; local
[all...]
H A Drte_eth_bond_private.h246 slave_remove(struct bond_dev_private *internals,
250 slave_add(struct bond_dev_private *internals,
263 bond_ethdev_primary_set(struct bond_dev_private *internals,
299 bond_tlb_disable(struct bond_dev_private *internals);
302 bond_tlb_enable(struct bond_dev_private *internals);
305 bond_tlb_activate_slave(struct bond_dev_private *internals);
/deb_dpdk/drivers/net/null/
H A Drte_eth_null.c59 struct pmd_internals *internals; member in struct:null_queue
109 packet_size = h->internals->packet_size;
118 bufs[i]->port = h->internals->port_id;
136 packet_size = h->internals->packet_size;
147 bufs[i]->port = h->internals->port_id;
182 packet_size = h->internals->packet_size;
227 struct pmd_internals *internals; local
233 internals = dev->data->dev_private;
238 packet_size = internals->packet_size;
240 internals
261 struct pmd_internals *internals; local
292 struct pmd_internals *internals; local
499 struct pmd_internals *internals = NULL; local
[all...]
/deb_dpdk/drivers/crypto/qat/
H A Drte_qat_cryptodev.c87 struct qat_pmd_private *internals; local
105 internals = cryptodev->data->dev_private;
106 internals->max_nb_sessions = RTE_QAT_PMD_MAX_NB_SESSIONS;
H A Dqat_crypto.c579 struct qat_pmd_private *internals = dev->data->dev_private; local
677 rte_mempool_put(internals->sess_mp, session);
686 struct qat_pmd_private *internals = dev->data->dev_private; local
736 rte_mempool_put(internals->sess_mp, session);
746 struct qat_pmd_private *internals = dev->data->dev_private; local
831 if (internals->sess_mp != NULL)
832 rte_mempool_put(internals->sess_mp, session);
1268 struct qat_pmd_private *internals = dev->data->dev_private; local
1277 info->sym.max_nb_sessions = internals->max_nb_sessions;
/deb_dpdk/drivers/net/af_packet/
H A Drte_eth_af_packet.c258 struct pmd_internals *internals = dev->data->dev_private; local
260 for (i = 0; i < internals->nb_queues; i++) {
261 sockfd = internals->rx_queue[i].sockfd;
266 if (sockfd != internals->tx_queue[i].sockfd) {
267 sockfd = internals->tx_queue[i].sockfd;
272 internals->rx_queue[i].sockfd = -1;
273 internals->tx_queue[i].sockfd = -1;
288 struct pmd_internals *internals = dev->data->dev_private; local
291 dev_info->if_index = internals->if_index;
294 dev_info->max_rx_queues = (uint16_t)internals
378 struct pmd_internals *internals = dev->data->dev_private; local
409 struct pmd_internals *internals = dev->data->dev_private; local
451 rte_pmd_init_internals(const char *name, const int sockfd, const unsigned nb_queues, unsigned int blocksize, unsigned int blockcnt, unsigned int framesize, unsigned int framecnt, const unsigned numa_node, struct pmd_internals **internals, struct rte_eth_dev **eth_dev, struct rte_kvargs *kvlist) argument
734 struct pmd_internals *internals = NULL; local
871 struct pmd_internals *internals; local
[all...]
/deb_dpdk/drivers/net/ring/
H A Drte_eth_ring.c154 struct pmd_internals *internals = dev->data->dev_private; local
155 dev->data->rx_queues[rx_queue_id] = &internals->rx_ring_queues[rx_queue_id];
165 struct pmd_internals *internals = dev->data->dev_private; local
166 dev->data->tx_queues[tx_queue_id] = &internals->tx_ring_queues[tx_queue_id];
175 struct pmd_internals *internals = dev->data->dev_private; local
179 dev_info->max_rx_queues = (uint16_t)internals->max_rx_queues;
180 dev_info->max_tx_queues = (uint16_t)internals->max_tx_queues;
269 struct pmd_internals *internals = NULL; local
299 internals = rte_zmalloc_socket(name, sizeof(*internals),
586 struct pmd_internals *internals = NULL; local
[all...]
/deb_dpdk/drivers/net/pcap/
H A Drte_eth_pcap.c441 struct pmd_internals *internals = dev->data->dev_private; local
446 if (internals->single_iface) {
447 tx = &internals->tx_queue[0];
448 rx = &internals->rx_queue[0];
460 tx = &internals->tx_queue[i];
475 rx = &internals->rx_queue[i];
504 struct pmd_internals *internals = dev->data->dev_private; local
509 if (internals->single_iface) {
510 tx = &internals->tx_queue[0];
511 rx = &internals
555 struct pmd_internals *internals = dev->data->dev_private; local
644 struct pmd_internals *internals = dev->data->dev_private; local
661 struct pmd_internals *internals = dev->data->dev_private; local
796 pmd_init_internals(const char *name, const unsigned int nb_rx_queues, const unsigned int nb_tx_queues, struct pmd_internals **internals, struct rte_eth_dev **eth_dev) argument
860 eth_from_pcaps_common(const char *name, struct pmd_devargs *rx_queues, const unsigned int nb_rx_queues, struct pmd_devargs *tx_queues, const unsigned int nb_tx_queues, struct rte_kvargs *kvlist, struct pmd_internals **internals, struct rte_eth_dev **eth_dev) argument
918 struct pmd_internals *internals = NULL; local
[all...]
/deb_dpdk/drivers/net/xenvirt/
H A Drte_eth_xenvirt.c93 struct pmd_internals *pi = rxvq->internals;
138 struct pmd_internals *pi = txvq->internals;
297 rxvq->internals = pi;
298 txvq->internals = pi;
331 struct pmd_internals *internals = dev->data->dev_private; local
333 RTE_SET_USED(internals);
346 struct pmd_internals *internals = dev->data->dev_private; local
348 rte_memcpy(stats, &internals->eth_stats, sizeof(*stats));
354 struct pmd_internals *internals = dev->data->dev_private; local
356 memset(&internals
630 struct pmd_internals *internals = NULL; local
[all...]
/deb_dpdk/drivers/crypto/aesni_gcm/
H A Daesni_gcm_pmd_ops.c155 struct aesni_gcm_private *internals = dev->data->dev_private; local
162 dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
163 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
224 struct aesni_gcm_private *internals = dev->data->dev_private; local
242 qp->ops = &gcm_ops[internals->vector_mode];
297 struct aesni_gcm_private *internals = dev->data->dev_private; local
304 if (aesni_gcm_set_session_parameters(&gcm_ops[internals->vector_mode],
H A Daesni_gcm_pmd.c417 struct aesni_gcm_private *internals; local
479 internals = dev->data->dev_private;
481 internals->vector_mode = vector_mode;
483 internals->max_nb_queue_pairs = init_params->max_nb_queue_pairs;
484 internals->max_nb_sessions = init_params->max_nb_sessions;
/deb_dpdk/drivers/crypto/null/
H A Dnull_crypto_pmd_ops.c150 struct null_crypto_private *internals = dev->data->dev_private; local
154 dev_info->max_nb_queue_pairs = internals->max_nb_qpairs;
155 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
219 struct null_crypto_private *internals = dev->data->dev_private; local
223 if (qp_id >= internals->max_nb_qpairs) {
226 qp_id, internals->max_nb_qpairs);
H A Dnull_crypto_pmd.c194 struct null_crypto_private *internals; local
221 internals = dev->data->dev_private;
223 internals->max_nb_qpairs = init_params->max_nb_queue_pairs;
224 internals->max_nb_sessions = init_params->max_nb_sessions;
/deb_dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.c884 struct pmd_internals *internals = (struct pmd_internals *) local
890 rxq->sze = szedata_open(internals->sze_dev);
929 struct pmd_internals *internals = (struct pmd_internals *) local
935 txq->sze = szedata_open(internals->sze_dev);
1032 struct pmd_internals *internals = dev->data->dev_private; local
1036 dev_info->max_rx_queues = internals->max_rx_queues;
1037 dev_info->max_tx_queues = internals->max_tx_queues;
1092 struct pmd_internals *internals = dev->data->dev_private; local
1095 internals->rx_queue[i].rx_pkts = 0;
1096 internals
1225 struct pmd_internals *internals = dev->data->dev_private; local
1258 struct pmd_internals *internals = dev->data->dev_private; local
1420 struct pmd_internals *internals = (struct pmd_internals *) local
[all...]
/deb_dpdk/drivers/crypto/aesni_mb/
H A Drte_aesni_mb_pmd_ops.c299 struct aesni_mb_private *internals = dev->data->dev_private; local
305 dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
306 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
373 struct aesni_mb_private *internals = dev->data->dev_private; local
391 qp->ops = &job_ops[internals->vector_mode];
449 struct aesni_mb_private *internals = dev->data->dev_private; local
456 if (aesni_mb_set_session_parameters(&job_ops[internals->vector_mode],
H A Drte_aesni_mb_pmd.c607 struct aesni_mb_private *internals; local
669 internals = dev->data->dev_private;
671 internals->vector_mode = vector_mode;
672 internals->max_nb_queue_pairs = init_params->max_nb_queue_pairs;
673 internals->max_nb_sessions = init_params->max_nb_sessions;
/deb_dpdk/drivers/crypto/kasumi/
H A Drte_kasumi_pmd_ops.c155 struct kasumi_private *internals = dev->data->dev_private; local
159 dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
160 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
/deb_dpdk/drivers/crypto/snow3g/
H A Drte_snow3g_pmd_ops.c155 struct snow3g_private *internals = dev->data->dev_private; local
159 dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
160 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
/deb_dpdk/drivers/crypto/zuc/
H A Drte_zuc_pmd_ops.c155 struct zuc_private *internals = dev->data->dev_private; local
159 dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
160 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
H A Drte_zuc_pmd.c454 struct zuc_private *internals; local
491 internals = dev->data->dev_private;
493 internals->max_nb_queue_pairs = init_params->max_nb_queue_pairs;
494 internals->max_nb_sessions = init_params->max_nb_sessions;
/deb_dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd_ops.c515 struct openssl_private *internals = dev->data->dev_private; local
521 dev_info->max_nb_queue_pairs = internals->max_nb_qpairs;
522 dev_info->sym.max_nb_sessions = internals->max_nb_sessions;

Completed in 36 milliseconds

12