2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 13:43:57 +01:00
|
|
|
|
|
|
|
name = 'ethdev'
|
2018-03-20 11:26:26 +00:00
|
|
|
version = 9
|
2017-10-17 13:43:57 +01:00
|
|
|
allow_experimental_apis = true
|
|
|
|
sources = files('ethdev_profile.c',
|
|
|
|
'rte_ethdev.c',
|
|
|
|
'rte_flow.c',
|
|
|
|
'rte_mtr.c',
|
|
|
|
'rte_tm.c')
|
|
|
|
|
|
|
|
headers = files('rte_ethdev.h',
|
|
|
|
'rte_ethdev_driver.h',
|
|
|
|
'rte_ethdev_core.h',
|
|
|
|
'rte_ethdev_pci.h',
|
|
|
|
'rte_ethdev_vdev.h',
|
|
|
|
'rte_eth_ctrl.h',
|
|
|
|
'rte_dev_info.h',
|
|
|
|
'rte_flow.h',
|
|
|
|
'rte_flow_driver.h',
|
|
|
|
'rte_mtr.h',
|
|
|
|
'rte_mtr_driver.h',
|
|
|
|
'rte_tm.h',
|
|
|
|
'rte_tm_driver.h')
|
|
|
|
|
ethdev: add common devargs parser
Introduces a new structure, rte_eth_devargs, to support generic
ethdev arguments common across NET PMDs, with a new API
rte_eth_devargs_parse API to support PMD parsing these arguments. The
patch add support for a representor argument passed with passed with
the EAL -w option. The representor parameter allows the user to specify
which representor ports to initialise on a device.
The argument supports passing a single representor port, a list of
port values or a range of port values.
-w BDF,representor=1 # create representor port 1 on pci device BDF
-w BDF,representor=[1,2,5,6,10] # create representor ports in list
-w BDF,representor=[0-31] # create representor ports in range
Signed-off-by: Remy Horton <remy.horton@intel.com>
Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-04-26 11:41:02 +01:00
|
|
|
deps += ['net', 'kvargs']
|