Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 25 of 99) sorted by relevance

1234

/dpdk/examples/vhost/
H A Dmain.c926 struct vhost_dev *vdev; in find_vhost_dev() local
928 TAILQ_FOREACH(vdev, &vhost_dev_list, global_vdev_entry) { in find_vhost_dev()
929 if (vdev->ready == DEVICE_RX && in find_vhost_dev()
930 rte_is_same_ether_addr(mac, &vdev->mac_address)) in find_vhost_dev()
931 return vdev; in find_vhost_dev()
942 link_vmdq(struct vhost_dev *vdev, struct rte_mbuf *m) in link_vmdq() argument
953 vdev->vid); in link_vmdq()
958 vdev->mac_address.addr_bytes[i] = in link_vmdq()
962 vdev->vlan_tag = vlan_tags[vdev->vid]; in link_vmdq()
967 vdev->vid, RTE_ETHER_ADDR_BYTES(&vdev->mac_address), in link_vmdq()
[all …]
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.c59 mlx5_vdpa_find_priv_resource_by_vdev(struct rte_vdpa_device *vdev) in mlx5_vdpa_find_priv_resource_by_vdev() argument
66 if (vdev == priv->vdev) { in mlx5_vdpa_find_priv_resource_by_vdev()
73 DRV_LOG(ERR, "Invalid vDPA device: %s.", vdev->device->name); in mlx5_vdpa_find_priv_resource_by_vdev()
81 mlx5_vdpa_get_queue_num(struct rte_vdpa_device *vdev, uint32_t *queue_num) in mlx5_vdpa_get_queue_num() argument
84 mlx5_vdpa_find_priv_resource_by_vdev(vdev); in mlx5_vdpa_get_queue_num()
87 DRV_LOG(ERR, "Invalid vDPA device: %s.", vdev->device->name); in mlx5_vdpa_get_queue_num()
95 mlx5_vdpa_get_vdpa_features(struct rte_vdpa_device *vdev, uint64_t *features) in mlx5_vdpa_get_vdpa_features() argument
98 mlx5_vdpa_find_priv_resource_by_vdev(vdev); in mlx5_vdpa_get_vdpa_features()
101 DRV_LOG(ERR, "Invalid vDPA device: %s.", vdev->device->name); in mlx5_vdpa_get_vdpa_features()
121 mlx5_vdpa_get_protocol_features(struct rte_vdpa_device *vdev, in mlx5_vdpa_get_protocol_features() argument
[all …]
/dpdk/drivers/net/enic/base/
H A Dvnic_intr.c14 int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr, in vnic_intr_alloc() argument
18 intr->vdev = vdev; in vnic_intr_alloc()
20 intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index); in vnic_intr_alloc()
41 iowrite32(vnic_dev_intr_coal_timer_usec_to_hw(intr->vdev, in vnic_intr_coalescing_timer_set()
/dpdk/drivers/crypto/ionic/
H A Dionic_crypto_vdev.c91 iocpt_vdev_probe(struct rte_vdev_device *vdev) in iocpt_vdev_probe() argument
94 const char *name = rte_vdev_device_name(vdev); in iocpt_vdev_probe()
108 return iocpt_probe((void *)vdev, &vdev->device, in iocpt_vdev_probe()
114 iocpt_vdev_remove(struct rte_vdev_device *vdev) in iocpt_vdev_remove() argument
116 return iocpt_remove(&vdev->device); in iocpt_vdev_remove()
/dpdk/drivers/net/ionic/
H A Dionic_dev_vdev.c111 eth_ionic_vdev_probe(struct rte_vdev_device *vdev) in eth_ionic_vdev_probe() argument
114 const char *name = rte_vdev_device_name(vdev); in eth_ionic_vdev_probe()
128 return eth_ionic_dev_probe((void *)vdev, in eth_ionic_vdev_probe()
129 &vdev->device, in eth_ionic_vdev_probe()
137 eth_ionic_vdev_remove(struct rte_vdev_device *vdev) in eth_ionic_vdev_remove() argument
139 return eth_ionic_dev_remove(&vdev->device); in eth_ionic_vdev_remove()
/dpdk/doc/guides/nics/
H A Daf_xdp.rst53 --vdev net_af_xdp,iface=ens786f1
79 --vdev net_af_xdp,iface=ens786f1,start_queue=1
89 --vdev net_af_xdp,iface=ens786f1,queue_count=2
99 --vdev net_af_xdp0,iface=ens786f1,shared_umem=1 \
100 --vdev net_af_xdp1,iface=ens786f2,shared_umem=1
111 --vdev net_af_xdp,iface=ens786f1,xdp_prog=/path/to/prog.o
124 --vdev net_af_xdp,iface=ens786f1,busy_budget=32
130 --vdev net_af_xdp,iface=ens786f1,busy_budget=0
152 --vdev net_af_xdp,iface=ens786f1,force_copy=1
157 The EAL vdev argument ``use_cni`` is used to indicate that the user wishes to
[all …]
H A Dnull.rst17 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev net_null0 --vdev net_null1 -- -i
29 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,copy=1" -- -i
38 ./<build_dir>/app/dpdk-testpmd -l 0-3 -n 4 --vdev "net_null0,size=256" -- -i
H A Dipn3ke.rst44 --vdev 'ipn3ke_cfg0,afu=0|b3:00.0'
52 --vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow}'
59 …--vdev 'ipn3ke_cfg0,afu=0|b3:00.0,fpga_acc={tm|flow},i40e_pf={0000:b1:00.0|0000:b1:00.1|0000:b1:00…
79 …./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev
90 …./<build_dir>/app/dpdk-testpmd -l 0-15 -n 4 --vdev 'ifpga_rawdev_cfg0,ifpga=b3:00.0,port=0' --vdev
H A Dpcap_ring.rst28 To do so, the --vdev= parameter must be passed to the EAL.
35 Pcap-based devices can be created using the virtual device --vdev option.
38 Multiple device definitions can be arranged using multiple --vdev.
44 --vdev 'net_pcap0,stream_opt0=..,stream_opt1=..' \
45 --vdev='net_pcap1,stream_opt0=..'
105 --vdev 'net_pcap0,iface=eth0,phy_mac=1'
112 --vdev 'net_pcap0,rx_pcap=file_rx.pcap,infinite_rx=1'
123 --vdev 'net_pcap0,rx_pcap=file_rx.pcap'
131 --vdev 'net_pcap0,tx_pcap=file_tx.pcap'
143 --vdev 'net_pcap0,rx_pcap=file_rx.pcap,tx_pcap=file_tx.pcap' \
[all …]
H A Docteontx.rst74 --vdev='event_octeontx' \
75 --vdev='eth_octeontx,nr_port=2' \
110 The OCTEON TX ethdev PMD is exposed as a vdev device which consists of a set
112 PKI/PKO PCIe VF devices will be probed and then the vdev device can be created
118 * Using ``--vdev="eth_octeontx"`` in the EAL options, which will call
136 --vdev='event_octeontx' \
137 --vdev="eth_octeontx,nr_port=2"
H A Dtap.rst33 TAP devices are created with the command line ``--vdev=net_tap0`` option.
39 --vdev=net_tap0,iface=foo0 --vdev=net_tap1,iface=foo1, ...
44 --vdev=net_tap0,mac=fixed
55 --vdev=net_tap,iface=tap0,remote=foo1
72 --vdev=net_tap0,iface=tap0,persist ...
82 TUN devices are created with the command line arguments ``--vdev=net_tunX``,
85 --vdev=net_tun0 --vdev=net_tun1,iface=foo1, ...
162 by declaring it as a vdev with the same name as in the primary process,
/dpdk/examples/vdpa/
H A Dmain.c327 struct rte_vdpa_device *vdev; in cmd_list_parsed() local
333 vdev = rte_vdpa_find_device_by_name(rte_dev_name(dev)); in cmd_list_parsed()
334 if (!vdev) in cmd_list_parsed()
336 if (rte_vdpa_get_queue_num(vdev, &queue_num) < 0) { in cmd_list_parsed()
342 if (rte_vdpa_get_features(vdev, &features) < 0) { in cmd_list_parsed()
378 struct rte_vdpa_device *vdev = rte_vdpa_find_device_by_name(res->bdf); in cmd_stats_parsed() local
383 if (!vdev) { in cmd_stats_parsed()
389 if (vports[i].dev == vdev) { in cmd_stats_parsed()
470 struct rte_vdpa_device *vdev; in main() local
495 vdev = rte_vdpa_find_device_by_name(rte_dev_name(dev)); in main()
[all …]
/dpdk/drivers/raw/skeleton/
H A Dskeleton_rawdev.c575 struct rte_vdev_device *vdev, in skeleton_rawdev_create() argument
600 rawdev->device = &vdev->device; in skeleton_rawdev_create()
674 skeldev_parse_vdev_args(struct rte_vdev_device *vdev) in skeldev_parse_vdev_args() argument
685 name = rte_vdev_device_name(vdev); in skeldev_parse_vdev_args()
687 params = rte_vdev_device_args(vdev); in skeldev_parse_vdev_args()
715 skeleton_rawdev_probe(struct rte_vdev_device *vdev) in skeleton_rawdev_probe() argument
721 name = rte_vdev_device_name(vdev); in skeleton_rawdev_probe()
734 selftest = skeldev_parse_vdev_args(vdev); in skeleton_rawdev_probe()
737 ret = skeleton_rawdev_create(name, vdev, rte_socket_id()); in skeleton_rawdev_probe()
754 skeleton_rawdev_remove(struct rte_vdev_device *vdev) in skeleton_rawdev_remove() argument
[all …]
/dpdk/doc/guides/eventdevs/
H A Ddpaa.rst47 The dpaa eventdev is exposed as a vdev device which consists of a set of channels
49 probed and then vdev device can be created from the application code by
53 * Using ``--vdev="event_dpaa1"`` in the EAL options, which will call
60 ./your_eventdev_application --vdev="event_dpaa1"
H A Ddpaa2.rst50 The dpaa2 eventdev is exposed as a vdev device which consists of a set of dpcon
52 probed and then vdev device can be created from the application code by
56 * Using ``--vdev="event_dpaa2"`` in the EAL options, which will call
63 ./your_eventdev_application --vdev="event_dpaa2"
H A Dsw.rst36 The software eventdev is a vdev device, and as such can be created from the
41 * Use ``--vdev="event_sw0"`` in the EAL options, which will call
48 ./your_eventdev_application --vdev="event_sw0"
59 The scheduling quanta can be set using a string argument to the vdev
64 --vdev="event_sw0,sched_quanta=64"
88 --vdev="event_sw0,credit_quanta=64"
110 --vdev="event_sw0,min_burst=8,deq_burst=64,refill_once=1"
H A Docteontx.rst48 The OCTEON TX eventdev is exposed as a vdev device which consists of a set
50 SSO PCIe VF devices will be probed and then the vdev device can be created
56 * Using ``--vdev="event_octeontx"`` in the EAL options, which will call
63 ./your_eventdev_application --vdev="event_octeontx"
73 --vdev="event_octeontx,timvf_stats=1"
/dpdk/drivers/crypto/scheduler/
H A Dscheduler_pmd.c100 struct rte_vdev_device *vdev, in cryptodev_scheduler_create() argument
108 dev = rte_cryptodev_pmd_create(name, &vdev->device, in cryptodev_scheduler_create()
290 cryptodev_scheduler_remove(struct rte_vdev_device *vdev) in cryptodev_scheduler_remove() argument
296 if (vdev == NULL) in cryptodev_scheduler_remove()
299 name = rte_vdev_device_name(vdev); in cryptodev_scheduler_remove()
585 cryptodev_scheduler_probe(struct rte_vdev_device *vdev) in cryptodev_scheduler_probe() argument
601 name = rte_vdev_device_name(vdev); in cryptodev_scheduler_probe()
606 rte_vdev_device_args(vdev)); in cryptodev_scheduler_probe()
610 vdev, in cryptodev_scheduler_probe()
/dpdk/doc/guides/rawdevs/
H A Ddpaa2_cmdif.rst58 The DPAA2 CMDIF is exposed as a vdev device which consists of dpci devices.
59 On EAL initialization, dpci devices will be probed and then vdev device
64 * Using ``--vdev="dpaa2_dpci"`` in the EAL options, which will call
71 ./your_cmdif_application <EAL args> --vdev="dpaa2_dpci"
/dpdk/devtools/
H A Dtest-null.sh32 $libs -a 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \
/dpdk/lib/eventdev/
H A Deventdev_pmd_vdev.h48 int socket_id, struct rte_vdev_device *vdev) in rte_event_pmd_vdev_init() argument
70 eventdev->dev = &vdev->device; in rte_event_pmd_vdev_init()
/dpdk/drivers/crypto/armv8/
H A Drte_armv8_pmd.c21 static int cryptodev_armv8_crypto_uninit(struct rte_vdev_device *vdev);
739 struct rte_vdev_device *vdev, in cryptodev_armv8_crypto_create() argument
767 dev = rte_cryptodev_pmd_create(name, &vdev->device, init_params); in cryptodev_armv8_crypto_create()
799 cryptodev_armv8_crypto_uninit(vdev); in cryptodev_armv8_crypto_create()
805 cryptodev_armv8_crypto_init(struct rte_vdev_device *vdev) in cryptodev_armv8_crypto_init() argument
816 name = rte_vdev_device_name(vdev); in cryptodev_armv8_crypto_init()
819 input_args = rte_vdev_device_args(vdev); in cryptodev_armv8_crypto_init()
822 return cryptodev_armv8_crypto_create(name, vdev, &init_params); in cryptodev_armv8_crypto_init()
827 cryptodev_armv8_crypto_uninit(struct rte_vdev_device *vdev) in cryptodev_armv8_crypto_uninit() argument
832 name = rte_vdev_device_name(vdev); in cryptodev_armv8_crypto_uninit()
/dpdk/drivers/crypto/ipsec_mb/
H A Dpmd_chacha_poly.c31 chacha20_poly1305_probe(struct rte_vdev_device *vdev) in chacha20_poly1305_probe() argument
33 return ipsec_mb_create(vdev, IPSEC_MB_PMD_TYPE_CHACHA20_POLY1305); in chacha20_poly1305_probe()
H A Dpmd_kasumi.c37 kasumi_probe(struct rte_vdev_device *vdev) in kasumi_probe() argument
39 return ipsec_mb_create(vdev, IPSEC_MB_PMD_TYPE_KASUMI); in kasumi_probe()
/dpdk/drivers/crypto/null/
H A Dnull_crypto_pmd.c150 struct rte_vdev_device *vdev, in cryptodev_null_create() argument
155 dev = rte_cryptodev_pmd_create(name, &vdev->device, init_params); in cryptodev_null_create()
213 cryptodev_null_remove_dev(struct rte_vdev_device *vdev) in cryptodev_null_remove_dev() argument
218 name = rte_vdev_device_name(vdev); in cryptodev_null_remove_dev()

1234