numam-dpdk/lib
Xueming Li d2a66ad794 bus: add device arguments name parsing
For device probe and iterator, devargs name was key information,
parsed by rte_devargs_parse. In legacy parser, devargs name was
extracted after bus name:
  bus:name,kv_arguments,,,
Example:
  pci:83:00.0,arguments,...
  vdev:pcap0,...

To be compatible with legacy parser, this patch introduces new
bus driver API devargs_parse to parse devargs and update devargs name.
If devargs_parse not implemented by bus driver, the new syntax parser
rte_devargs_layers_parse default will resolve devargs name from bus's
"name" argument.

Different bus driver might choose different keys from arguments with
unified format. The PCI bus implementation fills the devargs name with
the "addr" argument, example:
 -a bus=pci,addr=83:00.0/class=eth/driver=mlx5,...
    name: 0000:03:00.0
 -a bus=vdev,name=pcap0/class=eth/driver=pcap,...
    name:pcap0

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Reviewed-by: Gaetan Rivet <grive@u256.net>
2021-09-02 16:58:19 +02:00
..
acl version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bbdev log: register with standardized names 2021-05-11 15:17:55 +02:00
bitratestats version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bpf version: 21.11-rc0 2021-08-17 08:37:52 +02:00
cfgfile version: 21.11-rc0 2021-08-17 08:37:52 +02:00
cmdline version: 21.11-rc0 2021-08-17 08:37:52 +02:00
compressdev log: register with standardized names 2021-05-11 15:17:55 +02:00
cryptodev version: 21.11-rc0 2021-08-17 08:37:52 +02:00
distributor version: 21.11-rc0 2021-08-17 08:37:52 +02:00
eal bus: add device arguments name parsing 2021-09-02 16:58:19 +02:00
efd version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ethdev version: 21.11-rc0 2021-08-17 08:37:52 +02:00
eventdev version: 21.11-rc0 2021-08-17 08:37:52 +02:00
fib lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
flow_classify flow_classify: fix leaking rules on delete 2021-06-24 15:34:45 +02:00
graph eal: save error in string copy 2021-07-05 15:11:30 +02:00
gro version: 21.11-rc0 2021-08-17 08:37:52 +02:00
gso version: 21.11-rc0 2021-08-17 08:37:52 +02:00
hash version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ip_frag version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ipsec version: 21.11-rc0 2021-08-17 08:37:52 +02:00
jobstats version: 21.11-rc0 2021-08-17 08:37:52 +02:00
kni version: 21.11-rc0 2021-08-17 08:37:52 +02:00
kvargs version: 21.11-rc0 2021-08-17 08:37:52 +02:00
latencystats version: 21.11-rc0 2021-08-17 08:37:52 +02:00
lpm version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mbuf version: 21.11-rc0 2021-08-17 08:37:52 +02:00
member version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mempool version: 21.11-rc0 2021-08-17 08:37:52 +02:00
meter version: 21.11-rc0 2021-08-17 08:37:52 +02:00
metrics version: 21.11-rc0 2021-08-17 08:37:52 +02:00
net version: 21.11-rc0 2021-08-17 08:37:52 +02:00
node log: register with standardized names 2021-05-11 15:17:55 +02:00
pci version: 21.11-rc0 2021-08-17 08:37:52 +02:00
pdump version: 21.11-rc0 2021-08-17 08:37:52 +02:00
pipeline version: 21.11-rc0 2021-08-17 08:37:52 +02:00
port version: 21.11-rc0 2021-08-17 08:37:52 +02:00
power version: 21.11-rc0 2021-08-17 08:37:52 +02:00
rawdev version: 21.11-rc0 2021-08-17 08:37:52 +02:00
rcu version: 21.11-rc0 2021-08-17 08:37:52 +02:00
regexdev lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
reorder version: 21.11-rc0 2021-08-17 08:37:52 +02:00
rib rib: fix max depth IPv6 lookup 2021-06-24 15:34:45 +02:00
ring version: 21.11-rc0 2021-08-17 08:37:52 +02:00
sched version: 21.11-rc0 2021-08-17 08:37:52 +02:00
security version: 21.11-rc0 2021-08-17 08:37:52 +02:00
stack version: 21.11-rc0 2021-08-17 08:37:52 +02:00
table version: 21.11-rc0 2021-08-17 08:37:52 +02:00
telemetry telemetry: add extra log message on socket bind failure 2021-07-07 15:23:53 +02:00
timer version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost version: 21.11-rc0 2021-08-17 08:37:52 +02:00
meson.build lib: build testpmd dependencies on Windows 2021-07-02 19:03:03 +02:00