[dpdk-dev] [PATCH 09/61] net/qede/base: remove attribute field from update current config

2017-02-26 Thread Rasesh Mody
Remove attribute field from update_current_config() API, Management FW need to know only the last entity who configured the device. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_mcp.c |5 ++--- drivers/net/qede/base/ecore_mcp_api.h |8 2 files changed, 2 inserti

[dpdk-dev] [PATCH 08/61] net/qede/base: move mask constants defining NIC type

2017-02-26 Thread Rasesh Mody
Move mask constants defining NIC type to ecore.h Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h |4 drivers/net/qede/base/ecore_dev.c |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore

[dpdk-dev] [PATCH 07/61] net/qede/base: decrease MAX_HWFNS_PER_DEVICE from 4 to 2

2017-02-26 Thread Rasesh Mody
Decrease MAX_HWFNS_PER_DEVICE from 4 to 2 Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h index b2f4910..d14f99c 100644 --- a/drivers/net/qede/base/ec

[dpdk-dev] [PATCH 02/61] send FW version driver state to MFW

2017-02-26 Thread Rasesh Mody
Add support to send FW version and driver state to Management FW. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 31 --- drivers/net/qede/base/ecore_mcp.c |7 +-- drivers/net/qede/base/ecore_mcp_api.h |3 ++- drivers/net/qede/

[dpdk-dev] [PATCH 04/61] net/qede/base: print various indication on Tx-timeouts

2017-02-26 Thread Rasesh Mody
Print various indication on Tx-timeouts. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_int.c | 27 +++ drivers/net/qede/base/ecore_int_api.h | 21 + drivers/net/qede/base/reg_addr.h |3 +++ drivers/net/qede/qede_main.c

[dpdk-dev] [PATCH 03/61] net/qede/base: mask Rx buffer attention bits

2017-02-26 Thread Rasesh Mody
Mask the BRB "RC0_EOP_OUT_SYNC_FIFO_PUSH_ERROR" attention. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c |6 ++ drivers/net/qede/base/reg_addr.h |3 +++ 2 files changed, 9 insertions(+) diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/ecore

[dpdk-dev] [PATCH 01/61] net/qede/base: return an initialized return value

2017-02-26 Thread Rasesh Mody
Make sure ecore_iov_mark_vf_flr() always returns an initialized return value. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_sriov.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore_sriov.c b/drivers/net/qede/base/ecore_sriov.c index

[dpdk-dev] [PATCH 00/61] net/qede/base: qede PMD enhancements

2017-02-26 Thread Rasesh Mody
Hi, This patch set adds support for new firmware 8.18.9.0, new features and bug fixes. Please apply to dpdk-net-next for 17.05 release. Thanks! Rasesh Harish Patil (3): net/qede/base: add support for arfs mode net/qede: add ntuple and flow director filter support net/qede: add LRO/TSO off

[dpdk-dev] [PATCH 17/21] net/qede/base: fix typo

2017-02-26 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/mcp_public.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/mcp_public.h b/drivers/net/qede/base/mcp_public.h index 81567d1..308b7fe 100644 --- a/drivers/net/qede/base/mcp_public.h +++ b/drivers/ne

[dpdk-dev] [PATCH 21/21] net/qede/base: fix to use NULL pointer

2017-02-26 Thread Rasesh Mody
Use OSAL NULL where appropriate Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/ecore_dev.c index d31a22c..c5f16da 100644 --- a/drivers/net/qe

[dpdk-dev] [PATCH 18/21] net/qede/base: semantic fix

2017-02-26 Thread Rasesh Mody
No need to return - base on return at end of function. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_vf.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c index 2b820b5..c12cbcf 100644 --- a/drivers/net/qede/ba

[dpdk-dev] [PATCH 19/21] net/qede/base: fix sriov typo

2017-02-26 Thread Rasesh Mody
Typo in ecore_sriov.c; Ending line with , instead of ; Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_sriov.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/base/ecore_sriov.c b/drivers/net/qede/base/ecore_sriov.c index 6ca7b3c..51a3a03 1

[dpdk-dev] [PATCH 16/21] net/qede/base: fix first VF index calculation

2017-02-26 Thread Rasesh Mody
When a server doesn't support ARI, VF offsets begin at a much higher number. As a result, ecore miscalculates the first_vf_in_pf and initialization fails since base driver incorrectly learns there are no SBs for its VF [as its VFs are out of range]. Signed-off-by: Rasesh Mody --- drivers/net/qed

[dpdk-dev] [PATCH 20/21] net/qede/base: fix the value of RESOURCE_DUMP to 0

2017-02-26 Thread Rasesh Mody
Fix the value of RESOURCE_DUMP to 0 Signed-off-by: Rasesh Mody --- drivers/net/qede/base/mcp_public.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/mcp_public.h b/drivers/net/qede/base/mcp_public.h index 308b7fe..969dd5a 100644 --- a/drivers/net/qe

[dpdk-dev] [PATCH 15/21] net/qede/base: fix remove the unneeded convertion to LE

2017-02-26 Thread Rasesh Mody
Remove the unneeded convertion to LE when writing to the 32-bit XSDM_REG_OPERATION_GEN register Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/base/ecore_dev.c b/drivers/net/qede/base/

[dpdk-dev] [PATCH 14/21] net/qede/base: fix to remove redundant memset

2017-02-26 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_vf.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c index 43a3350..2b820b5 100644 --- a/drivers/net/qede/base/ecore_vf.c +++ b/drivers/net/qede/base/ecore_vf.c @

[dpdk-dev] [PATCH 11/21] net/qede/base: fix printout

2017-02-26 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_mcp.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_mcp.c index f634d98..68cc10e 100644 --- a/drivers/net/qede/base/ecore_mcp.c +++ b/drivers/net

[dpdk-dev] [PATCH 12/21] net/qede/base: fix DORQ attention mask

2017-02-26 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_int.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c index cb719a3..b6b8e2d 100644 --- a/drivers/net/qede/base/ecore_int.c +++ b/drivers/net/qe

[dpdk-dev] [PATCH 13/21] net/qede/base: fix out-of-bound memory access

2017-02-26 Thread Rasesh Mody
Fix out-of-bound memory access on Management FW interaction for resource allocation Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_mcp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_m

[dpdk-dev] [PATCH 09/21] dev/qede/base: fix to prevent VF promisc

2017-02-26 Thread Rasesh Mody
VFs are seeing the number of MACs available to them as '0', and as a result configure themselves as PROMISC. This fix is to prevent that. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_vf.c | 16 +++- drivers/net/qede/base/ecore_vf_api.h | 10 +- drivers/n

[dpdk-dev] [PATCH 08/21] net/qede/base: fix printing incorrect index for multi-bit attentions

2017-02-26 Thread Rasesh Mody
Fix the logic for identifying which bit amongst the Multi-bit attention sources is set. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_int.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede

[dpdk-dev] [PATCH 10/21] net/qede/base: add attention bits for CHIP_NUM_AH_xxx

2017-02-26 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_int.c | 77 +++-- 1 file changed, 65 insertions(+), 12 deletions(-) diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c index 3d6c2f1..cb719a3 100644 --- a/drivers/net/qed

[dpdk-dev] [PATCH 06/21] net/qede/base: fix VF init after malicious VF FLR

2017-02-26 Thread Rasesh Mody
Fix VF init after malicious VF FLR. Fixes: 40c926ba2626 ("net/qede/base: support to initiate PF FLR") Fixes: 86a2265e59d7 ("qede: add SRIOV support") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_sriov.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/qede

[dpdk-dev] [PATCH 07/21] net/qede/base: fix numbering l2 VF queues

2017-02-26 Thread Rasesh Mody
There are some constellations where Due to lack of resource allocation in MFW, There would be an insufficient number of L2 queues for all the VFs. This introduces a new feature ECORE_VF_L2_QUE which correctly numbers the number of VF queues. Notice it might be larger than the actual number of VFs

[dpdk-dev] [PATCH 05/21] net/qede/base: fix printout

2017-02-26 Thread Rasesh Mody
Prints in ecore_get_dev_info showed only chip revision, and did that as number instead of letter. I.e., BB A0 --> BB0, BB B0 --> BB1, AH A0 --> AH0, AH A1 --> AH0. Correct the printing scheme into {AH, BB} {A, B}{0, 1} Fixes: ec94dbc57362 ("qede: add base driver") Signed-off-by: Rasesh Mody --

[dpdk-dev] [PATCH 03/21] net/qede/base: fix forcing driver default resc allocation

2017-02-26 Thread Rasesh Mody
Remove the forcing of the driver's default resource allocation. Fixes: 77f7222124de ("net/qede: add PCI ids for new chip variant") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/n

[dpdk-dev] [PATCH 04/21] net/qede/base: fix TM block ILT initialization

2017-02-26 Thread Rasesh Mody
Fix TM block ILT initialization for SRIOV coexistence with other protocols. Fixes: ec94dbc57362 ("qede: add base driver") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_cxt.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/net/qede/ba

[dpdk-dev] [PATCH 02/21] net/qede/base: fix to set pointers to NULL after freeing

2017-02-26 Thread Rasesh Mody
Set pointers to NULL after freeing the allocations on ecore_resc_free(). Fixes: 26ae839d06e9 ("qede: add DCBX support") Fixes: ec94dbc57362 ("qede: add base driver") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dcbx.c |2 +- drivers/net/qede/base/ecore_dev.c |4 ++-- driv

[dpdk-dev] [PATCH 01/21] net/qede/base: fix incorrect typecasting of flag

2017-02-26 Thread Rasesh Mody
dcbx-update-flag is incorrectly converted to boolean before assigining it to ramrod data, fix this typecasting. Also, added more debug messages in the dcbx code paths. Fixes: 26ae839d06e9 ("qede: add DCBX support") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dcbx.c | 42 +++

[dpdk-dev] librte_power w/ intel_pstate cpufreq governor

2017-02-26 Thread Threqn Peng
Hey guys, I have the same problem which have been discussed in January 2016(*http://dpdk.org/ml/archives/dev/2016-January/031374.html *), about intel cpu scaling frequency control in linux user space. But it seems no more progress/solut

[dpdk-dev] [PATCH] net/ixgbe: fix all queues drop setting of DCB

2017-02-26 Thread Wenzhuo Lu
DCB is split to RX and TX mode. All-queues-drop is set for TX mode. It's not appropriate because all-queue-drop is a RX feature. Move this setting from TX to RX. Fixes: 0807f80d35d0 (ixgbe: DCB / flow control) CC: sta...@dpdk.org Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_rxtx.c | 38

[dpdk-dev] [PATCH 2/2] net/i40e: configurable PTYPE mapping

2017-02-26 Thread Qi Zhang
The patch adds 4 APIs to support configurable PTYPE mapping for i40e device. rte_pmd_i40e_update_ptype_mapping. rte_pmd_i40e_reset_ptype_mapping. rte_pmd_i40e_get_ptype_mapping. rte_pmd_i40e_replace_ptype_mapping. The mapping from hardware defined packet type to software defined packet type can be

[dpdk-dev] [PATCH 1/2] net/i40e: enable per dev PTYPE mapping table

2017-02-26 Thread Qi Zhang
The mapping from hardware defined packet type to software defined packet type is static for i40e device, the patch let each ethdev to to have their own copy of mapping table, this give the possibility that different ethdev can be set different PTYPE mapping rule which is the requirement to support

[dpdk-dev] [PATCH 0/2] configurable PTYPE mapping

2017-02-26 Thread Qi Zhang
The patch set create new APIs that help to change the mapping from hardware defined packet type to software defined packet type for i40e NICs. Keep these APIs private is because currently they are only meaningful for devices that support dynamic PTYPE configuration, which may not be a general de

Re: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions

2017-02-26 Thread Legacy, Allain
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Allain Legacy > Sent: Sunday, February 26, 2017 2:09 PM > To: YIGIT, FERRUH > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions > > Adds support for packet transmit function

[dpdk-dev] [PATCH] net/vhost: remove include of numaif.h.

2017-02-26 Thread Rami Rosen
This patch revmoves include of the numaif.h header from rte_eth_vhost.c. Commit 586e3 ("vhost: export numa node") moved the invocation of get_mempolicy() from rte_eth_vhost.c to librte_vhost/virtio-net.c, so there is no need to include the numaif.h header anymore in drivers/net/vhost/rte_eth_vhost

[dpdk-dev] [PATCH] net/i40e: Fix a typo in i40e_flow.c.

2017-02-26 Thread Rami Rosen
This patch fixes a trivial typo in i40e_flow.c. Signed-off-by: Rami Rosen --- drivers/net/i40e/i40e_flow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index c6e4d87..f163ce5 100644 --- a/drivers/net/i40e/i4

[dpdk-dev] [PATCH v2 14/15] net/avp: device start and stop operations

2017-02-26 Thread Allain Legacy
Adds support for device start and stop functions. This allows an application to control the administrative state of an AVP device. Stopping the device will notify the host application to stop sending packets on that device's receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peter

[dpdk-dev] [PATCH v2 15/15] doc: adds information related to the AVP PMD

2017-02-26 Thread Allain Legacy
Updates the documentation and feature lists for the AVP PMD device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 1 + doc/guides/nics/avp.rst | 99 doc/guides/nics/features/avp.ini | 17 +++

[dpdk-dev] [PATCH v2 13/15] net/avp: device promiscuous functions

2017-02-26 Thread Allain Legacy
Adds support for setting and clearing promiscuous mode on an AVP device. When enabled the _mac_filter function will allow packets destined to any MAC address to be processed by the receive functions. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 34 +

[dpdk-dev] [PATCH v2 12/15] net/avp: packet transmit functions

2017-02-26 Thread Allain Legacy
Adds support for packet transmit functions so that an application can send packets to the host application via an AVP device queue. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 419

[dpdk-dev] [PATCH v2 10/15] net/avp: queue setup and release

2017-02-26 Thread Allain Legacy
Adds queue management operations so that an appliation can setup and release the transmit and receive queues. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 148 ++- 1 file changed, 147 insertions(+), 1 deletion

[dpdk-dev] [PATCH v2 11/15] net/avp: packet receive functions

2017-02-26 Thread Allain Legacy
Adds function required for receiving packets from the host application via AVP device queues. Both the simple and scattered functions are supported. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/Makefile | 1 + drivers/net/avp/avp_ethdev.c | 468

[dpdk-dev] [PATCH v2 09/15] net/avp: device configuration

2017-02-26 Thread Allain Legacy
Adds support for "dev_configure" operations to allow an application to configure the device. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 136 +++ 1 file changed, 136 insertions(+) diff --git a/drivers/net/av

[dpdk-dev] [PATCH v2 08/15] net/avp: device initialization

2017-02-26 Thread Allain Legacy
Adds support for initialization newly probed AVP PCI devices. Initial queue translations are setup in preparation for device configuration. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/avp_ethdev.c | 757 +++ 1 file changed

[dpdk-dev] [PATCH v2 07/15] net/avp: driver registration

2017-02-26 Thread Allain Legacy
Adds the initial framework for registering the driver against the support PCI device identifiers. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_linuxapp | 1 + config/defconfig_i686-native-linuxapp-gcc| 5 + config/defconfig_i686-native-

[dpdk-dev] [PATCH v2 06/15] drivers/net: adds driver makefiles for AVP PMD

2017-02-26 Thread Allain Legacy
Adds a default Makefile to the driver directory but does not include any source files. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/Makefile | 1 + drivers/net/avp/Makefile | 52 2 files changed, 53 insertions(+)

[dpdk-dev] [PATCH v2 05/15] net/avp: debug log macros

2017-02-26 Thread Allain Legacy
Adds a header file with log macros for the AVP PMD Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 4 drivers/net/avp/avp_logs.h | 59 ++ 2 files changed, 63 insertions(+) create mode 100644 drivers/net/

[dpdk-dev] [PATCH v2 04/15] net/avp: add PMD version map file

2017-02-26 Thread Allain Legacy
Adds a default ABI version file for the AVP PMD. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- drivers/net/avp/rte_pmd_avp_version.map | 4 1 file changed, 4 insertions(+) create mode 100644 drivers/net/avp/rte_pmd_avp_version.map diff --git a/drivers/net/avp/rte_pmd_avp_ve

[dpdk-dev] [PATCH v2 02/15] net/avp: public header files

2017-02-26 Thread Allain Legacy
Adds public/exported header files for the AVP PMD. The AVP device is a shared memory based device. The structures and constants that define the method of operation of the device must be visible by both the PMD and the host DPDK application. They must not change without proper version controls an

[dpdk-dev] [PATCH v2 03/15] maintainers: claim responsibility for AVP PMD

2017-02-26 Thread Allain Legacy
Updating the maintainers file to claim the AVP PMD driver on behalf of Wind River Systems, Inc. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 24e0eff..992ffa5 100644 --- a/MAINTAIN

[dpdk-dev] [PATCH v2 01/15] config: adds attributes for the AVP PMD

2017-02-26 Thread Allain Legacy
Updates the common base configuration file to include a top level config attribute for the AVP PMD. Signed-off-by: Allain Legacy Signed-off-by: Matt Peters --- config/common_base | 5 + 1 file changed, 5 insertions(+) diff --git a/config/common_base b/config/common_base index aeee13e..912b

[dpdk-dev] [PATCH v2 00/16] Wind River Systems AVP PMD

2017-02-26 Thread Allain Legacy
This patch series submits an initial version of the AVP PMD from Wind River Systems. The series includes shared header files, driver implementation, and changes to documentation files in support of this new driver. The AVP driver is a shared memory based device. It is intended to be used as a PM

Re: [dpdk-dev] checkpatch.pl inconsistent results

2017-02-26 Thread Legacy, Allain
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Sunday, February 26, 2017 11:42 AM > To: Legacy, Allain > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] checkpatch.pl inconsistent results ... > Yes it has been discussed few times. > I don't see any issue

Re: [dpdk-dev] checkpatch.pl inconsistent results

2017-02-26 Thread Thomas Monjalon
2017-02-26 16:20, Legacy, Allain: > From: Thomas Monjalon > > It is a false positive. > > PRIx64 and PRIu64 are obviously allowed. > > The only thing you need to take care is having spaces around. > > > Ok, thanks Thomas. Obviously PRIx64 and PRIu64 are acceptable so I knew that > something must

Re: [dpdk-dev] [PATCH 0/3] cross focus in NIC overview HTML table

2017-02-26 Thread Thomas Monjalon
2017-02-23 11:00, Ferruh Yigit: > On 2/20/2017 9:26 PM, Thomas Monjalon wrote: > > In order to make the NIC overview easier to read > > (http://dpdk.org/doc/guides/nics/overview.html) > > the row and column pointed by the mouse are highlighted. > > > > Thomas Monjalon (3): > > doc: set alignment

Re: [dpdk-dev] checkpatch.pl inconsistent results

2017-02-26 Thread Legacy, Allain
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Sunday, February 26, 2017 4:12 AM > To: Legacy, Allain > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] checkpatch.pl inconsistent results > Importance: High > > 2017-02-25 11:54, Legacy, Allain: ... > > I

[dpdk-dev] [PATCH 2/2] net/virtio-user: fix multi-process issue

2017-02-26 Thread Ami Sabo
Secondary process doesn't properly attach to the rte_eth_device initialized by the primary process. ccessing device from secondary process (e.g. via rte_eth_rx_burst), causes process to crash. because rte_eth_dev_data is not properly set. The issue was flood by 'commit 7f95f78a8aea ("ethdev: clea

[dpdk-dev] [PATCH 1/2] lib/librte_ether: export secondary attach function

2017-02-26 Thread Ami Sabo
Today eth_dev_attach_secondary is defined as static and can only be called by pci drivers. However, the functionality is also required for non-pci drivers - so the patch export the function. Signed-off-by: Ami Sabo --- lib/librte_ether/rte_ethdev.c | 6 +++--- lib/librte_ether/rte_ethd

[dpdk-dev] [PATCH 0/2] Fix virtio-user multi-process crash.

2017-02-26 Thread Ami Sabo
The patchset fixes secondary process crash issue when it tries to access virtio-user pmd (e.g. via rte_eth_rx_burst). The crash happens because in virtio_user probing, eth_dev_attach_secondary is not being called, as it does from rte_eth_dev_pci_probe. Therefore, the device is not properly initial

Re: [dpdk-dev] checkpatch.pl inconsistent results

2017-02-26 Thread Thomas Monjalon
2017-02-25 11:54, Legacy, Allain: > Hi, > I sent a patchset to the to the mailing list last night for which I received > several coding style warnings. Having discovered that I was using an older > version of checkpatch.pl I downloaded the latest and set out to fix the > warnings. The tool is