numam-dpdk/doc/guides/sample_app_ug
Thomas Monjalon d9a42a69fe ethdev: deprecate port count function
Some DPDK applications wrongly assume these requirements:
    - no hotplug, i.e. ports are never detached
    - all allocated ports are available to the application

Such application iterates over ports by its own mean.
The most common pattern is to request the port count and
assume ports with index in the range [0..count[ can be used.

In order to fix this common mistake in all external applications,
the function rte_eth_dev_count is deprecated, while introducing
the new functions rte_eth_dev_count_avail and rte_eth_dev_count_total.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-04-18 00:48:41 +02:00
..
img doc: replace license text with SPDX tags on SVG images 2018-02-01 02:42:25 +01:00
bbdev_app.rst examples/bbdev: add sample app 2018-01-19 01:44:25 +01:00
cmd_line.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
compiling.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
dist_app.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ethtool.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
eventdev_pipeline.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
exception_path.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
flow_classify.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
flow_filtering.rst doc: update flow filtering example guide 2018-02-06 15:10:51 +01:00
hello_world.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
index.rst examples/vhost_crypto: add sample application 2018-04-14 00:43:30 +02:00
intro.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ip_frag.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ip_pipeline.rst doc: update callback functions in pipeline sample guide 2018-02-08 22:54:09 +01:00
ip_reassembly.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ipsec_secgw.rst examples/ipsec-secgw: support AES 256 2018-02-08 22:31:17 +01:00
ipv4_multicast.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
keep_alive.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
kernel_nic_interface.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
l2_forward_cat.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
l2_forward_crypto.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
l2_forward_job_stats.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
l2_forward_real_virtual.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
l3_forward_access_ctrl.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
l3_forward_power_man.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
l3_forward_virtual.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
l3_forward.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
link_status_intr.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
load_balancer.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
multi_process.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
netmap_compatibility.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
packet_ordering.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
performance_thread.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
ptpclient.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
qos_metering.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
qos_scheduler.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
quota_watermark.rst ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
rxtx_callbacks.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
server_node_efd.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
service_cores.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
skeleton.rst fix ethdev port id validation 2018-04-18 00:37:05 +02:00
tep_termination.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
test_pipeline.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
timer.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
vhost_crypto.rst examples/vhost_crypto: add sample application 2018-04-14 00:43:30 +02:00
vhost_scsi.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
vhost.rst doc: add driver limitation for vhost dequeue zero copy 2018-04-14 00:43:30 +02:00
vm_power_management.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
vmdq_dcb_forwarding.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00