This patch provides a Makefile to the user, to build the igb_uio module
when required by running make inside the source directory
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https://git.dpdk.org/dpdk-kmods/
---
v8:
Changed the commit message based on
The igb_uio source code requires interrupt modes defined as
macros and enums in the header file rte_pci_dev_features.h.
Now, the definitions are moved to the igb_uio.c file so that
this module can be built without building DPDK
Signed-off-by: Hariprasad Govindharajan
---
linux/igb_uio/igb_uio.c
With DPDK 20.11 release, the igb_uio module is no more part of DPDK.
This patch provides a Makefile to the user, who can build this module
when required by running make inside the source dir.
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https
The igb_uio source code requires interrupt modes defined as
MACROS and enums in the header file rte_pci_dev_features.h.
Now, the definitions are moved to the igb_uio.c file so that
this module can be built without building DPDK
Signed-off-by: Hariprasad Govindharajan
---
linux/igb_uio/igb_uio.c
module and use as needed.
Since there is no more dependency on DPDK headers, this module can be
built simply by running make in the source dir
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https://git.dpdk.org/dpdk-kmods/
---
v6:
split the patch into two
The igb_uio source code requires interrupt modes defined as
MACROS and enums in the header file rte_pci_dev_features.h.
Now, the definitions are moved to the igb_uio.c file so that
this module can be built without building DPDK
Signed-off-by: Hariprasad Govindharajan
---
linux/igb_uio/igb_uio.c
module and use as needed.
Since there is no more dependency on DPDK headers, this module can be
built simply by running make in the source dir
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https://git.dpdk.org/dpdk-kmods/
---
v5:
Removed the DPDK
module and use as needed.
Before building this module, the user is expected to build the
DPDK using meson build system and make sure that the required
libraries are installed in the path /usr/local
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https
module and use as needed.
Before building this module, the user is expected to build the
DPDK using meson build system and make sure that the required
libraries are installed in the path /usr/local
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https
module and use as needed.
Before building this module, the user is expected to build the
DPDK using meson build system and make sure that the required
libraries are installed in the path /usr/local
Signed-off-by: Hariprasad Govindharajan
---
This patch will be part of dpdk-kmods repo
https
-kmods/. Once this repository is cloned, the
module can be built using this Makefile
Signed-off-by: Hariprasad Govindharajan
---
linux/igb_uio/Makefile | 8
1 file changed, 8 insertions(+)
create mode 100644 linux/igb_uio/Makefile
diff --git a/linux/igb_uio/Makefile b/linux/igb_uio
module and use as needed.
Before building this module, the user is expected to build the
DPDK using meson build system and make sure that the required
libraries are installed in the path /usr/local
Signed-off-by: Hariprasad Govindharajan
---
linux/igb_uio/Makefile | 8
1 file changed, 8
The function parse_port_list() is designed to return
unsigned int value. After sanitizing the inputs,
it is returning -1. Changed it to return 0.
Fixes: 2df00d562d20 ("app/testpmd: add --portlist option")
Cc: hariprasad.govindhara...@intel.com
Signed-off-by: Hariprasad Govindharaj
The function parse_port_list() is designed to return
unsigned int value. After sanitizing the inputs,
it is returning -1. Changed it to return 0.
Fixes: 2df00d562d20 ("app/testpmd: add --portlist option")
Cc: hariprasad.govindhara...@intel.com
Signed-off-by: Hariprasad Govindharajan
The function parse_port_list() is designed to return
unsigned int value. After sanitizing the inputs,
it is returning -1. Changed it to return 0.
Fixes: 2df00d562d20 ("app/testpmd: add --portlist option")
Cc: hariprasad.govindhara...@intel.com
Signed-off-by: Hariprasad Govindharajan
in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v9:
removed the isblank() check.
updated the comments.
fixed a bug which takes the range correctly.
v8:
changed
in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v8:
changed the data types of the variables.
optimised the code by checking for blank spaces
only once.
v7:
moved
in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v7:
moved the port validation outside the parser function.
added meaningful comments describing the new
format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v6:
optimized the code to check for duplicates
v5:
added a check to validate
format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v5:
added a check to validate the ports available before
setting them. also
format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v4:
the parser is modified so that we don't ues 2 arrays
to convert the l
format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
v3:
squashed the 2 patches and made it 1 patch with
changes only in testpmd
): mask must be in hex format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
app/test-pmd/config.c
In current version, there is a function which parses
the corelist based on user value. A new generic
function eal_parse_optionlist is added which will
parse corelist as well as similar user input so
that we can use it as a public API too.
Signed-off-by: Hariprasad Govindharajan
---
lib
format
- Using portlist in the following format
--portlist [-p2][,p3[-p4],...]
--portmask 0x2 is same as --portlist 1
--portmask 0x3 is same as --portlist 0-1
Signed-off-by: Hariprasad Govindharajan
---
app/test-pmd/config.c | 25 +
app/test-pmd
is a function which parses
the corelist based on user value. A new generic
function eal_parse_optionlist is added which will
parse corelist as well as similar user input from
the command line
Hariprasad Govindharajan (2):
app/testpmd: add portlist option to the testpmd
eal: add
ned-off-by: Hariprasad Govindharajan
Reviewed-by: Bruce Richardson
Reviewed-by: Jerin Jacob
---
V2: Added functions which will do unaligned load based on the
underlying architecture
V3: Removed functions added in V2 and replaced them with if macros
which will branch based on the underlying architecture.
27 matches
Mail list logo