[dpdk-dev] [PATCH] doc: update the doc for adding EAL option

2018-10-01 Thread eric zhang
This patch updates Programmer's Guide and EAL parameter guides to show EAL option "--iova-mode" support. Signed-off-by: eric zhang --- doc/guides/prog_guide/env_abstraction_layer.rst | 8 doc/guides/testpmd_app_ug/run_app.rst | 4 2 files changed, 12 inse

Re: [dpdk-dev] [PATCH v2 1/2] eal: add eal option to configure iova mode

2018-10-01 Thread Eric Zhang
On 09/26/2018 08:42 AM, Burakov, Anatoly wrote: On 18-Sep-18 8:10 PM, eric zhang wrote: From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or '

Re: [dpdk-dev] [PATCH] doc: update the doc for adding EAL option

2018-10-02 Thread Eric Zhang
document patches. In addition, the commit headline is very vague. Suggested rewording: doc: document --iova-mode EAL flag ok.    On 01-Oct-18 4:54 PM, eric zhang wrote: This patch updates Programmer's Guide and EAL parameter guides to show EAL option "--iova-mode" support. Sign

[dpdk-dev] [PATCH v3 0/3] force IOVA to a particular mode

2018-10-03 Thread eric zhang
* use eal option instead of compilation option to configure IOVA * apply http://patchwork.dpdk.org/patch/25192/ Santosh Shukla (1): eal: add eal option to configure iova mode eric zhang (2): eal: force IOVA to particular mode doc:document --iova-mode EAL flag doc/guides/prog_guide/env

[dpdk-dev] [PATCH v3 1/3] eal: add eal option to configure iova mode

2018-10-03 Thread eric zhang
From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or 'va'. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob Signed-off-by: eric zhang -

[dpdk-dev] [PATCH v3 3/3] doc: document --iova-mode EAL option

2018-10-03 Thread eric zhang
This patch updates Programmer's Guide and EAL parameter guides to show EAL option "--iova-mode" support. Signed-off-by: eric zhang --- doc/guides/prog_guide/env_abstraction_layer.rst | 8 doc/guides/testpmd_app_ug/run_app.rst | 4 2 files changed, 12 inse

[dpdk-dev] [PATCH v3 2/3] eal: force IOVA to a particular mode

2018-10-03 Thread eric zhang
e required addressing mode. Using the EAL option permits the mode to be explicitly configured in this scenario. Signed-off-by: eric zhang --- lib/librte_eal/bsdapp/eal/eal.c | 11 +-- lib/librte_eal/linuxapp/eal/eal.c | 27 +-- 2 files changed, 26 insertions(+), 12

[dpdk-dev] [PATCH v2] net/virtio-user: check negotiated features before set

2018-08-27 Thread eric zhang
This patch checks negotiated features to see if necessary to offload before set the tap device offload capabilities. It also checks if kernel support the TUNSETOFFLOAD operation. Signed-off-by: eric zhang --- v2: * don't return failure when failed to set offload to tap * check if off

[dpdk-dev] [PATCH v3] net/virtio-user: check negotiated features before set

2018-08-29 Thread eric zhang
This patch checks negotiated features to see if necessary to offload before set the tap device offload capabilities. It also checks if kernel support the TUNSETOFFLOAD operation. Signed-off-by: eric zhang --- v3: * make other offloading features depend on CSUM * check IFF_VNET_HDR support when

[dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-08-29 Thread eric zhang
addressing mode. Having the configuration option permits the mode to be explicitly configured in this scenario. Signed-off-by: eric zhang --- lib/librte_eal/linuxapp/eal/eal.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal

Re: [dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-09-04 Thread Eric Zhang
On 08/30/2018 08:59 AM, santosh wrote: On Thursday 30 August 2018 05:43 PM, Hemant wrote: External Email Hi, On 8/30/2018 3:13 PM, Gaëtan Rivet wrote: Hi, On Thu, Aug 30, 2018 at 10:09:04AM +0100, Burakov, Anatoly wrote: On 29-Aug-18 4:58 PM, eric zhang wrote: This patch adds a

Re: [dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-09-07 Thread Eric Zhang
On 09/07/2018 05:26 AM, Burakov, Anatoly wrote: On 06-Sep-18 8:34 AM, Jerin Jacob wrote: -Original Message- Date: Tue, 4 Sep 2018 23:40:36 -0400 From: Eric Zhang To: santosh , hemant.agra...@nxp.com,   Gaëtan Rivet , "Burakov, Anatoly"   CC: bruce.richard...@inte

Re: [dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-09-11 Thread Eric Zhang
On 09/07/2018 04:13 PM, Eric Zhang wrote: On 09/07/2018 05:26 AM, Burakov, Anatoly wrote: On 06-Sep-18 8:34 AM, Jerin Jacob wrote: -Original Message- Date: Tue, 4 Sep 2018 23:40:36 -0400 From: Eric Zhang To: santosh , hemant.agra...@nxp.com,   Gaëtan Rivet , "Burakov, An

Re: [dpdk-dev] [PATCH] eal: force IOVA mode to physical

2018-09-17 Thread Eric Zhang
h/44420/ As for the --iova-mode=, I agree it could help DPDK use cases where most drivers or devices are hotplugged/hotattached at runtime - e.g. SPDK, it could certainly make use of such param. D. -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Eric Zhang Sent: T

[dpdk-dev] [PATCH v2 1/2] eal: add eal option to configure iova mode

2018-09-18 Thread eric zhang
From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or 'va'. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/common/eal_common_options.c | 30 +++

[dpdk-dev] [PATCH v2 2/2] eal: force IOVA to particular mode

2018-09-18 Thread eric zhang
e required addressing mode. Using the EAL option permits the mode to be explicitly configured in this scenario. Signed-off-by: eric zhang --- v2: * use eal option instead of compilation option to configure IOVA * apply http://patchwork.dpdk.org/patch/25192/ --- lib/librte_eal/bsdapp/eal/ea

[dpdk-dev] [PATCH v2 1/2] eal: add eal option to configure iova mode

2018-09-18 Thread eric zhang
From: Santosh Shukla In the case of user don't want to use bus iova scheme and want to override. For that, Adding eal option --iova-mode= where valid input string is 'pa' or 'va'. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- lib/librte_eal/common/eal_common_options.c | 30 +++