Searched refs:eth_dev (Results 1 - 25 of 64) sorted by relevance

123

/deb_dpdk/drivers/net/bnxt/
H A Dbnxt_stats.h40 void bnxt_stats_get_op(struct rte_eth_dev *eth_dev,
42 void bnxt_stats_reset_op(struct rte_eth_dev *eth_dev);
H A Dbnxt_ethdev.c139 static void bnxt_print_link_info(struct rte_eth_dev *eth_dev);
140 static int bnxt_dev_uninit(struct rte_eth_dev *eth_dev);
308 bnxt_print_link_info(bp->eth_dev);
347 static void bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev, argument
350 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
409 eth_dev->data->dev_conf.intr_conf.lsc = 1;
446 static int bnxt_dev_configure_op(struct rte_eth_dev *eth_dev) argument
448 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
450 bp->rx_queues = (void *)eth_dev->data->rx_queues;
451 bp->tx_queues = (void *)eth_dev
466 bnxt_print_link_info(struct rte_eth_dev *eth_dev) argument
481 bnxt_dev_lsc_intr_setup(struct rte_eth_dev *eth_dev) argument
487 bnxt_dev_start_op(struct rte_eth_dev *eth_dev) argument
531 bnxt_dev_set_link_up_op(struct rte_eth_dev *eth_dev) argument
545 bnxt_dev_set_link_down_op(struct rte_eth_dev *eth_dev) argument
557 bnxt_dev_stop_op(struct rte_eth_dev *eth_dev) argument
574 bnxt_dev_close_op(struct rte_eth_dev *eth_dev) argument
594 bnxt_mac_addr_remove_op(struct rte_eth_dev *eth_dev, uint32_t index) argument
633 bnxt_mac_addr_add_op(struct rte_eth_dev *eth_dev, struct ether_addr *mac_addr, uint32_t index, uint32_t pool) argument
669 bnxt_link_update_op(struct rte_eth_dev *eth_dev, int wait_to_complete) argument
705 bnxt_promiscuous_enable_op(struct rte_eth_dev *eth_dev) argument
719 bnxt_promiscuous_disable_op(struct rte_eth_dev *eth_dev) argument
733 bnxt_allmulticast_enable_op(struct rte_eth_dev *eth_dev) argument
747 bnxt_allmulticast_disable_op(struct rte_eth_dev *eth_dev) argument
761 bnxt_reta_update_op(struct rte_eth_dev *eth_dev, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
790 bnxt_reta_query_op(struct rte_eth_dev *eth_dev, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
820 bnxt_rss_hash_update_op(struct rte_eth_dev *eth_dev, struct rte_eth_rss_conf *rss_conf) argument
873 bnxt_rss_hash_conf_get_op(struct rte_eth_dev *eth_dev, struct rte_eth_rss_conf *rss_conf) argument
1060 bnxt_init_board(struct rte_eth_dev *eth_dev) argument
1094 bnxt_dev_init(struct rte_eth_dev *eth_dev) argument
1188 bnxt_dev_uninit(struct rte_eth_dev *eth_dev) argument
[all...]
H A Dbnxt_txq.c103 int bnxt_tx_queue_setup_op(struct rte_eth_dev *eth_dev, argument
109 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
119 if (eth_dev->data->tx_queues) {
120 txq = eth_dev->data->tx_queues[queue_idx];
142 txq->port_id = eth_dev->data->port_id;
160 eth_dev->data->tx_queues[queue_idx] = txq;
H A Dbnxt_irq.c51 struct rte_eth_dev *eth_dev = (struct rte_eth_dev *)param; local
52 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
100 (void *)bp->eth_dev);
137 "%s-%d", bp->eth_dev->data->name, i);
158 (void *)bp->eth_dev);
H A Dbnxt_rxq.c62 struct rte_eth_conf *dev_conf = &bp->eth_dev->data->dev_conf;
82 rxq = bp->eth_dev->data->rx_queues[0];
145 rxq = bp->eth_dev->data->rx_queues[ring_idx];
183 rxq = bp->eth_dev->data->rx_queues[i];
267 int bnxt_rx_queue_setup_op(struct rte_eth_dev *eth_dev, argument
274 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
284 if (eth_dev->data->rx_queues) {
285 rxq = eth_dev->data->rx_queues[queue_idx];
306 rxq->port_id = eth_dev->data->port_id;
307 rxq->crc_len = (uint8_t)((eth_dev
[all...]
H A Dbnxt_stats.c66 void bnxt_stats_get_op(struct rte_eth_dev *eth_dev, argument
70 struct bnxt *bp = eth_dev->data->dev_private;
137 void bnxt_stats_reset_op(struct rte_eth_dev *eth_dev) argument
139 struct bnxt *bp = (struct bnxt *)eth_dev->data->dev_private;
/deb_dpdk/drivers/net/enic/
H A Denic_ethdev.c71 enicpmd_fdir_ctrl_func(struct rte_eth_dev *eth_dev, argument
74 struct enic *enic = pmd_priv(eth_dev);
180 static int enicpmd_dev_tx_queue_setup(struct rte_eth_dev *eth_dev, argument
187 struct enic *enic = pmd_priv(eth_dev);
191 eth_dev->data->tx_queues[queue_idx] = (void *)&enic->wq[queue_idx];
202 static int enicpmd_dev_tx_queue_start(struct rte_eth_dev *eth_dev, argument
205 struct enic *enic = pmd_priv(eth_dev);
214 static int enicpmd_dev_tx_queue_stop(struct rte_eth_dev *eth_dev, argument
218 struct enic *enic = pmd_priv(eth_dev);
229 static int enicpmd_dev_rx_queue_start(struct rte_eth_dev *eth_dev, argument
241 enicpmd_dev_rx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t queue_idx) argument
291 enicpmd_dev_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t queue_idx, uint16_t nb_desc, unsigned int socket_id, const struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp) argument
317 enicpmd_vlan_filter_set(struct rte_eth_dev *eth_dev, uint16_t vlan_id, int on) argument
331 enicpmd_vlan_offload_set(struct rte_eth_dev *eth_dev, int mask) argument
357 enicpmd_dev_configure(struct rte_eth_dev *eth_dev) argument
384 enicpmd_dev_start(struct rte_eth_dev *eth_dev) argument
395 enicpmd_dev_stop(struct rte_eth_dev *eth_dev) argument
411 enicpmd_dev_close(struct rte_eth_dev *eth_dev) argument
419 enicpmd_dev_link_update(struct rte_eth_dev *eth_dev, __rte_unused int wait_to_complete) argument
428 enicpmd_dev_stats_get(struct rte_eth_dev *eth_dev, struct rte_eth_stats *stats) argument
437 enicpmd_dev_stats_reset(struct rte_eth_dev *eth_dev) argument
445 enicpmd_dev_info_get(struct rte_eth_dev *eth_dev, struct rte_eth_dev_info *device_info) argument
491 enicpmd_dev_promiscuous_enable(struct rte_eth_dev *eth_dev) argument
500 enicpmd_dev_promiscuous_disable(struct rte_eth_dev *eth_dev) argument
509 enicpmd_dev_allmulticast_enable(struct rte_eth_dev *eth_dev) argument
518 enicpmd_dev_allmulticast_disable(struct rte_eth_dev *eth_dev) argument
527 enicpmd_add_mac_addr(struct rte_eth_dev *eth_dev, struct ether_addr *mac_addr, __rte_unused uint32_t index, __rte_unused uint32_t pool) argument
537 enicpmd_remove_mac_addr(struct rte_eth_dev *eth_dev, __rte_unused uint32_t index) argument
545 enicpmd_mtu_set(struct rte_eth_dev *eth_dev, uint16_t mtu) argument
656 eth_enicpmd_dev_init(struct rte_eth_dev *eth_dev) argument
[all...]
H A Denic_main.c419 struct rte_eth_dev *eth_dev = enic->rte_dev; local
426 eth_dev->data->dev_link.link_status = link_status;
427 eth_dev->data->dev_link.link_duplex = ETH_LINK_FULL_DUPLEX;
428 eth_dev->data->dev_link.link_speed = vnic_dev_port_speed(enic->vdev);
450 struct rte_eth_dev *eth_dev = enic->rte_dev; local
452 eth_dev->data->dev_link.link_speed = vnic_dev_port_speed(enic->vdev);
453 eth_dev->data->dev_link.link_duplex = ETH_LINK_FULL_DUPLEX;
459 if (eth_dev->data->dev_conf.intr_conf.lsc)
555 struct rte_eth_dev *eth_dev = enic->rte_dev; local
557 eth_dev
562 struct rte_eth_dev *eth_dev = enic->rte_dev; local
579 struct rte_eth_dev *eth_dev = enic->rte_dev; local
591 struct rte_eth_dev *eth_dev = enic->rte_dev; local
1075 struct rte_eth_dev *eth_dev = enic->rte_dev; local
1089 struct rte_eth_dev *eth_dev = enic->rte_dev; local
1190 struct rte_eth_dev *eth_dev = enic->rte_dev; local
1296 struct rte_eth_dev *eth_dev = enic->rte_dev; local
[all...]
/deb_dpdk/drivers/net/cxgbe/
H A Dcxgbe_ethdev.c137 static void cxgbe_dev_info_get(struct rte_eth_dev *eth_dev, argument
140 struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
177 static void cxgbe_dev_promiscuous_enable(struct rte_eth_dev *eth_dev) argument
179 struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
186 static void cxgbe_dev_promiscuous_disable(struct rte_eth_dev *eth_dev) argument
188 struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
195 static void cxgbe_dev_allmulticast_enable(struct rte_eth_dev *eth_dev) argument
197 struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
206 static void cxgbe_dev_allmulticast_disable(struct rte_eth_dev *eth_dev) argument
208 struct port_info *pi = (struct port_info *)(eth_dev
217 cxgbe_dev_link_update(struct rte_eth_dev *eth_dev, __rte_unused int wait_to_complete) argument
238 cxgbe_dev_mtu_set(struct rte_eth_dev *eth_dev, uint16_t mtu) argument
276 cxgbe_dev_close(struct rte_eth_dev *eth_dev) argument
315 cxgbe_dev_start(struct rte_eth_dev *eth_dev) argument
365 cxgbe_dev_stop(struct rte_eth_dev *eth_dev) argument
384 cxgbe_dev_configure(struct rte_eth_dev *eth_dev) argument
406 cxgbe_dev_tx_queue_start(struct rte_eth_dev *eth_dev, uint16_t tx_queue_id) argument
422 cxgbe_dev_tx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t tx_queue_id) argument
438 cxgbe_dev_tx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t queue_idx, uint16_t nb_desc, unsigned int socket_id, const struct rte_eth_txconf *tx_conf) argument
508 cxgbe_dev_rx_queue_start(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id) argument
528 cxgbe_dev_rx_queue_stop(struct rte_eth_dev *eth_dev, uint16_t rx_queue_id) argument
547 cxgbe_dev_rx_queue_setup(struct rte_eth_dev *eth_dev, uint16_t queue_idx, uint16_t nb_desc, unsigned int socket_id, const struct rte_eth_rxconf *rx_conf, struct rte_mempool *mp) argument
645 cxgbe_dev_stats_get(struct rte_eth_dev *eth_dev, struct rte_eth_stats *eth_stats) argument
693 cxgbe_dev_stats_reset(struct rte_eth_dev *eth_dev) argument
718 cxgbe_flow_ctrl_get(struct rte_eth_dev *eth_dev, struct rte_eth_fc_conf *fc_conf) argument
740 cxgbe_flow_ctrl_set(struct rte_eth_dev *eth_dev, struct rte_eth_fc_conf *fc_conf) argument
771 cxgbe_dev_supported_ptypes_get(struct rte_eth_dev *eth_dev) argument
923 cxgbe_get_regs_len(struct rte_eth_dev *eth_dev) argument
931 cxgbe_get_regs(struct rte_eth_dev *eth_dev, struct rte_dev_reg_info *regs) argument
988 eth_cxgbe_dev_init(struct rte_eth_dev *eth_dev) argument
[all...]
H A Dcxgbe.h59 void cfg_queues(struct rte_eth_dev *eth_dev);
60 int cfg_queue_count(struct rte_eth_dev *eth_dev);
H A Dcxgbe_main.c116 err = t4_sge_alloc_rxq(adapter, &s->fw_evtq, true, adapter->eth_dev,
223 int cfg_queue_count(struct rte_eth_dev *eth_dev) argument
225 struct port_info *pi = (struct port_info *)(eth_dev->data->dev_private);
230 if ((eth_dev->data->nb_rx_queues < 1) ||
231 (eth_dev->data->nb_tx_queues < 1))
234 if ((eth_dev->data->nb_rx_queues > max_queues) ||
235 (eth_dev->data->nb_tx_queues > max_queues))
238 if (eth_dev->data->nb_rx_queues > pi->rss_size)
244 pi->n_rx_qsets = eth_dev->data->nb_rx_queues;
245 pi->n_tx_qsets = eth_dev
250 cfg_queues(struct rte_eth_dev *eth_dev) argument
993 struct rte_eth_dev *eth_dev = pi->eth_dev; local
[all...]
/deb_dpdk/drivers/net/bonding/
H A Drte_eth_bond_api.c50 check_for_bonded_ethdev(const struct rte_eth_dev *eth_dev) argument
53 if (eth_dev->data->drv_name == NULL)
57 return eth_dev->data->drv_name != pmd_bond_driver_name;
80 activate_slave(struct rte_eth_dev *eth_dev, uint8_t port_id) argument
82 struct bond_dev_private *internals = eth_dev->data->dev_private;
86 bond_mode_8023ad_activate_slave(eth_dev, port_id);
103 bond_mode_alb_client_list_upd(eth_dev);
107 deactivate_slave(struct rte_eth_dev *eth_dev, uint8_t port_id) argument
110 struct bond_dev_private *internals = eth_dev->data->dev_private;
114 bond_mode_8023ad_stop(eth_dev);
168 struct rte_eth_dev *eth_dev = NULL; local
299 struct rte_eth_dev *eth_dev = NULL; local
[all...]
H A Drte_eth_bond_private.h73 /**< Reference to eth_dev private structure */
105 /**< Port Id of slave eth_dev */
185 check_for_bonded_ethdev(const struct rte_eth_dev *eth_dev);
211 deactivate_slave(struct rte_eth_dev *eth_dev, uint8_t port_id);
214 activate_slave(struct rte_eth_dev *eth_dev, uint8_t port_id);
227 mac_address_set(struct rte_eth_dev *eth_dev, struct ether_addr *new_mac_addr);
230 mac_address_get(struct rte_eth_dev *eth_dev, struct ether_addr *dst_mac_addr);
239 bond_ethdev_mode_set(struct rte_eth_dev *eth_dev, int mode);
308 bond_ethdev_stop(struct rte_eth_dev *eth_dev);
/deb_dpdk/drivers/net/qede/
H A Dqede_ethdev.c180 struct rte_eth_dev *eth_dev = (struct rte_eth_dev *)param; local
181 struct qede_dev *qdev = eth_dev->data->dev_private;
185 if (rte_intr_enable(&eth_dev->pci_dev->intr_handle))
236 qede_ucast_filter(struct rte_eth_dev *eth_dev, struct ecore_filter_ucast *ucast, argument
239 struct qede_dev *qdev = QEDE_INIT_QDEV(eth_dev);
347 qede_mcast_filter(struct rte_eth_dev *eth_dev, struct ecore_filter_ucast *mcast, argument
350 struct qede_dev *qdev = QEDE_INIT_QDEV(eth_dev);
393 qede_mac_int_ops(struct rte_eth_dev *eth_dev, struct ecore_filter_ucast *ucast, argument
396 struct qede_dev *qdev = QEDE_INIT_QDEV(eth_dev);
413 rc = qede_mcast_filter(eth_dev, ucas
457 qede_mac_addr_add(struct rte_eth_dev *eth_dev, struct ether_addr *mac_addr, uint32_t index, __rte_unused uint32_t pool) argument
469 qede_mac_addr_remove(struct rte_eth_dev *eth_dev, uint32_t index) argument
497 qede_mac_addr_set(struct rte_eth_dev *eth_dev, struct ether_addr *mac_addr) argument
538 qede_vlan_stripping(struct rte_eth_dev *eth_dev, bool set_stripping) argument
558 qede_vlan_offload_set(struct rte_eth_dev *eth_dev, int mask) argument
598 qede_vlan_filter_set(struct rte_eth_dev *eth_dev, uint16_t vlan_id, int on) argument
715 qede_dev_configure(struct rte_eth_dev *eth_dev) argument
828 qede_dev_info_get(struct rte_eth_dev *eth_dev, struct rte_eth_dev_info *dev_info) argument
885 qede_link_update(struct rte_eth_dev *eth_dev, __rte_unused int wait_to_complete) argument
928 qede_promiscuous_enable(struct rte_eth_dev *eth_dev) argument
943 qede_promiscuous_disable(struct rte_eth_dev *eth_dev) argument
960 struct rte_eth_dev *eth_dev = (struct rte_eth_dev *)param; local
978 qede_dev_close(struct rte_eth_dev *eth_dev) argument
1018 qede_get_stats(struct rte_eth_dev *eth_dev, struct rte_eth_stats *eth_stats) argument
1199 qede_dev_set_link_state(struct rte_eth_dev *eth_dev, bool link_up) argument
1216 qede_dev_set_link_up(struct rte_eth_dev *eth_dev) argument
1221 qede_dev_set_link_down(struct rte_eth_dev *eth_dev) argument
1226 qede_reset_stats(struct rte_eth_dev *eth_dev) argument
1235 qede_allmulticast_enable(struct rte_eth_dev *eth_dev) argument
1246 qede_allmulticast_disable(struct rte_eth_dev *eth_dev) argument
1256 qede_flow_ctrl_set(struct rte_eth_dev *eth_dev, struct rte_eth_fc_conf *fc_conf) argument
1292 qede_flow_ctrl_get(struct rte_eth_dev *eth_dev, struct rte_eth_fc_conf *fc_conf) argument
1319 qede_dev_supported_ptypes_get(struct rte_eth_dev *eth_dev) argument
1346 qede_rss_hash_update(struct rte_eth_dev *eth_dev, struct rte_eth_rss_conf *rss_conf) argument
1385 qede_rss_hash_conf_get(struct rte_eth_dev *eth_dev, struct rte_eth_rss_conf *rss_conf) argument
1417 qede_rss_reta_update(struct rte_eth_dev *eth_dev, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
1451 qede_rss_reta_query(struct rte_eth_dev *eth_dev, struct rte_eth_rss_reta_entry64 *reta_conf, uint16_t reta_size) argument
1630 qede_common_dev_init(struct rte_eth_dev *eth_dev, bool is_vf) argument
1821 qedevf_eth_dev_init(struct rte_eth_dev *eth_dev) argument
1826 qede_eth_dev_init(struct rte_eth_dev *eth_dev) argument
1831 qede_dev_common_uninit(struct rte_eth_dev *eth_dev) argument
1852 qede_eth_dev_uninit(struct rte_eth_dev *eth_dev) argument
1857 qedevf_eth_dev_uninit(struct rte_eth_dev *eth_dev) argument
[all...]
H A Dqede_ethdev.h83 #define QEDE_INIT_QDEV(eth_dev) (eth_dev->data->dev_private)
87 #define QEDE_INIT(eth_dev) { \
88 struct qede_dev *qdev = eth_dev->data->dev_private; \
170 static int qede_vlan_filter_set(struct rte_eth_dev *eth_dev,
173 static int qede_rss_hash_update(struct rte_eth_dev *eth_dev,
176 static int qede_rss_reta_update(struct rte_eth_dev *eth_dev,
185 int qede_dev_set_link_state(struct rte_eth_dev *eth_dev, bool link_up);
H A Dqede_rxtx.h174 int qede_dev_start(struct rte_eth_dev *eth_dev);
176 void qede_dev_stop(struct rte_eth_dev *eth_dev);
182 void qede_free_mem_load(struct rte_eth_dev *eth_dev);
197 void qede_dealloc_fp_resc(struct rte_eth_dev *eth_dev);
/deb_dpdk/drivers/net/virtio/
H A Dvirtio_user_ethdev.c280 struct rte_eth_dev *eth_dev; local
285 eth_dev = rte_eth_dev_allocate(name);
286 if (!eth_dev) {
291 data = eth_dev->data;
296 rte_eth_dev_release_port(eth_dev);
303 rte_eth_dev_release_port(eth_dev);
318 eth_dev->pci_dev = NULL;
319 eth_dev->driver = NULL;
320 return eth_dev;
324 virtio_user_eth_dev_free(struct rte_eth_dev *eth_dev) argument
342 struct rte_eth_dev *eth_dev; local
462 struct rte_eth_dev *eth_dev; local
[all...]
/deb_dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c123 struct rte_eth_dev *eth_dev; member in struct:internal_list
483 internal = list->eth_dev->data->dev_private;
501 struct rte_eth_dev *eth_dev; local
518 eth_dev = list->eth_dev;
519 internal = eth_dev->data->dev_private;
524 eth_dev->data->numa_node = newnode;
527 for (i = 0; i < eth_dev->data->nb_rx_queues; i++) {
528 vq = eth_dev->data->rx_queues[i];
533 vq->port = eth_dev
572 struct rte_eth_dev *eth_dev; local
638 struct rte_eth_dev *eth_dev; local
706 struct rte_eth_dev *eth_dev; local
1002 struct rte_eth_dev *eth_dev = NULL; local
1209 struct rte_eth_dev *eth_dev = NULL; local
[all...]
/deb_dpdk/app/test/
H A Dvirtual_pmd.c63 virtual_ethdev_start_success(struct rte_eth_dev *eth_dev __rte_unused)
65 eth_dev->data->dev_started = 1;
71 virtual_ethdev_start_fail(struct rte_eth_dev *eth_dev __rte_unused)
73 eth_dev->data->dev_started = 0;
77 static void virtual_ethdev_stop(struct rte_eth_dev *eth_dev __rte_unused)
80 struct virtual_ethdev_private *prv = eth_dev->data->dev_private;
82 eth_dev->data->dev_link.link_status = ETH_LINK_DOWN;
83 eth_dev->data->dev_started = 0;
540 struct rte_eth_dev *eth_dev = NULL; local
548 /* now do all data allocation - for eth_dev structur
[all...]
/deb_dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c62 dev_num_vf(struct rte_eth_dev *eth_dev) argument
64 return eth_dev->pci_dev->max_vfs;
96 void ixgbe_pf_host_init(struct rte_eth_dev *eth_dev) argument
99 IXGBE_DEV_PRIVATE_TO_P_VFDATA(eth_dev->data->dev_private);
101 IXGBE_DEV_PRIVATE_TO_PFDATA(eth_dev->data->dev_private);
103 IXGBE_DEV_PRIVATE_TO_UTA(eth_dev->data->dev_private);
105 IXGBE_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);
111 RTE_ETH_DEV_SRIOV(eth_dev).active = 0;
112 vf_num = dev_num_vf(eth_dev);
126 RTE_ETH_DEV_SRIOV(eth_dev)
148 ixgbe_pf_host_uninit(struct rte_eth_dev *eth_dev) argument
171 ixgbe_add_tx_flow_control_drop_filter(struct rte_eth_dev *eth_dev) argument
211 ixgbe_pf_host_configure(struct rte_eth_dev *eth_dev) argument
783 ixgbe_pf_mbx_process(struct rte_eth_dev *eth_dev) argument
[all...]
/deb_dpdk/drivers/net/xenvirt/
H A Drte_eth_xenvirt.c631 struct rte_eth_dev *eth_dev = NULL; local
645 /* now do all data allocation - for eth_dev structure, dummy pci driver
657 eth_dev = rte_eth_dev_allocate(name);
658 if (eth_dev == NULL)
662 data->port_id = eth_dev->data->port_id;
673 eth_dev->data = data;
674 eth_dev->dev_ops = &ops;
676 eth_dev->data->dev_flags = RTE_PCI_DRV_DETACHABLE;
677 eth_dev->data->kdrv = RTE_KDRV_NONE;
678 eth_dev
701 struct rte_eth_dev *eth_dev = NULL; local
[all...]
/deb_dpdk/drivers/net/e1000/
H A Digb_pf.c58 dev_num_vf(struct rte_eth_dev *eth_dev) argument
60 return eth_dev->pci_dev->max_vfs;
92 void igb_pf_host_init(struct rte_eth_dev *eth_dev) argument
95 E1000_DEV_PRIVATE_TO_P_VFDATA(eth_dev->data->dev_private);
97 E1000_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);
101 RTE_ETH_DEV_SRIOV(eth_dev).active = 0;
102 if (0 == (vf_num = dev_num_vf(eth_dev)))
117 RTE_ETH_DEV_SRIOV(eth_dev).active = ETH_8_POOLS;
118 RTE_ETH_DEV_SRIOV(eth_dev).nb_q_per_pool = nb_queue;
119 RTE_ETH_DEV_SRIOV(eth_dev)
153 igb_pf_host_configure(struct rte_eth_dev *eth_dev) argument
519 igb_pf_mbx_process(struct rte_eth_dev *eth_dev) argument
[all...]
/deb_dpdk/drivers/net/ring/
H A Drte_eth_ring.c270 struct rte_eth_dev *eth_dev = NULL; local
276 /* now do all data allocation - for eth_dev structure, dummy pci driver
306 eth_dev = rte_eth_dev_allocate(name);
307 if (eth_dev == NULL) {
316 * - and point eth_dev structure to new eth_dev_data structure
318 /* NOTE: we'll replace the data element, of originally allocated eth_dev
334 data->port_id = eth_dev->data->port_id;
335 memmove(data->name, eth_dev->data->name, sizeof(data->name));
341 eth_dev->data = data;
342 eth_dev
585 struct rte_eth_dev *eth_dev = NULL; local
[all...]
/deb_dpdk/drivers/net/mlx5/
H A Dmlx5.c450 struct rte_eth_dev *eth_dev; local
624 eth_dev = rte_eth_dev_allocate(name);
626 if (eth_dev == NULL) {
633 * private data as well as a copy of eth_dev->data, but this
638 &mlx5_secondary_data[eth_dev->data->port_id];
639 sd->primary_priv = eth_dev->data->dev_private;
642 eth_dev->data->port_id);
646 sd->shared_dev_data = eth_dev->data;
655 eth_dev->tx_pkt_burst = mlx5_tx_burst_secondary_setup;
656 eth_dev
[all...]
/deb_dpdk/drivers/net/null/
H A Drte_eth_null.c500 struct rte_eth_dev *eth_dev = NULL; local
515 /* now do all data allocation - for eth_dev structure, dummy pci driver
527 eth_dev = rte_eth_dev_allocate(name);
528 if (eth_dev == NULL)
535 * - and point eth_dev structure to new eth_dev_data structure
537 /* NOTE: we'll replace the data element, of originally allocated eth_dev
542 internals->port_id = eth_dev->data->port_id;
550 data->port_id = eth_dev->data->port_id;
555 strncpy(data->name, eth_dev->data->name, strlen(eth_dev
675 struct rte_eth_dev *eth_dev = NULL; local
[all...]

Completed in 28 milliseconds

123