[dpdk-dev] [PATCH v2 14/46] net/liquidio: add API to setup IQ

2017-03-02 Thread Shijith Thotton
Map instruction queue registers and set queue size. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c

[dpdk-dev] [PATCH v2 16/46] net/liquidio: add APIs to allocate and free soft command

2017-03-02 Thread Shijith Thotton
Get buffers from SC buffer pool and create soft command. Buffers are freed to the pool once the command reaches device. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by

[dpdk-dev] [PATCH v2 17/46] net/liquidio: add APIs for response list

2017-03-02 Thread Shijith Thotton
Add APIs to setup and process response list. Response list holds soft commands waiting for response from device. Entries of this list are processed to check for command response or timeout. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by

[dpdk-dev] [PATCH v2 18/46] net/liquidio: add API to send packet to device

2017-03-02 Thread Shijith Thotton
Add API to send control and data packets to device. Request list keeps track of host buffers to be freed till it reaches device. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed

[dpdk-dev] [PATCH v2 19/46] net/liquidio: add API to configure device

2017-03-02 Thread Shijith Thotton
Add API to configure device and initialize ethernet device operations. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio

[dpdk-dev] [PATCH v2 20/46] net/liquidio: add API to setup Rx queue

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 3 + drivers/net/liquidio/lio_ethdev.c | 67

[dpdk-dev] [PATCH v2 21/46] net/liquidio: initialize Rx queue

2017-03-02 Thread Shijith Thotton
Initialize Rx queue registers and allocate packet buffers for Rx queue. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio

[dpdk-dev] [PATCH v2 23/46] net/liquidio: add API to release Rx queue

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 28 drivers/net/liquidio

[dpdk-dev] [PATCH v2 22/46] net/liquidio: add Rx data path

2017-03-02 Thread Shijith Thotton
Add APIs to receive packets and re-fill ring buffers. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h

[dpdk-dev] [PATCH v2 25/46] net/liquidio: add APIs for SG list

2017-03-02 Thread Shijith Thotton
Add APIs to setup and free Scatter-Gather list. SG list is used while sending packets with multiple segments. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham

[dpdk-dev] [PATCH v2 26/46] net/liquidio: add APIs to enable and disable IO queues

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c | 70 + drivers/net

[dpdk-dev] [PATCH v2 27/46] net/liquidio: add Tx data path for single segment

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 3

[dpdk-dev] [PATCH v2 24/46] net/liquidio: add API to setup Tx queue

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 60 +++ drivers/net

[dpdk-dev] [PATCH v2 28/46] net/liquidio: add Tx data path for multiple segments

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_rxtx.c | 62 +++ drivers/net

[dpdk-dev] [PATCH v2 29/46] net/liquidio: add API to flush IQ

2017-03-02 Thread Shijith Thotton
API to flush instruction queue checks how many packets reached device and frees associated host buffers using request list. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by

[dpdk-dev] [PATCH v2 30/46] net/liquidio: add API to release Tx queue

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 31 +++ drivers/net/liquidio

[dpdk-dev] [PATCH v2 33/46] net/liquidio: add API to control Rx

2017-03-02 Thread Shijith Thotton
Enable or disable packet reception. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 3 ++ drivers

[dpdk-dev] [PATCH v2 31/46] net/liquidio: add APIs to start device and update link

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 182

[dpdk-dev] [PATCH v2 34/46] net/liquidio: add RSS support

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 26 +++ drivers/net/liquidio/lio_ethdev.c

[dpdk-dev] [PATCH v2 32/46] net/liquidio: add APIs to alloc and send control command

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.h | 6

[dpdk-dev] [PATCH v2 35/46] net/liquidio: add API to get device info

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 47

[dpdk-dev] [PATCH v2 37/46] net/liquidio: add APIs to enable and disable multicast

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 2 + drivers/net/liquidio/lio_ethdev.c | 68

[dpdk-dev] [PATCH v2 36/46] net/liquidio: add API to set MTU

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 47 +++ 1 file changed

[dpdk-dev] [PATCH v2 38/46] net/liquidio: add APIs to set link up and down

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 56 +++ 1 file changed

[dpdk-dev] [PATCH v2 40/46] net/liquidio: add support for Rx stats

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 50 +++ drivers/net

[dpdk-dev] [PATCH v2 39/46] net/liquidio: add API to configure UDP tunnel port

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 8 ++ drivers/net/liquidio/lio_ethdev.c | 191

[dpdk-dev] [PATCH v2 41/46] net/liquidio: add support for Tx stats

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 36 ++-- drivers/net

[dpdk-dev] [PATCH v2 42/46] net/liquidio: add APIs for hardware stats

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 2 + drivers/net/liquidio/lio_ethdev.c | 194

[dpdk-dev] [PATCH v2 43/46] net/liquidio: add API to stop device

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 20 1 file changed, 20 insertions

[dpdk-dev] [PATCH v2 44/46] net/liquidio: add API to close device

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 68 +-- drivers/net

[dpdk-dev] [PATCH v2 45/46] net/liquidio: add API to add and remove VLAN port

2017-03-02 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 2 ++ drivers/net/liquidio/lio_ethdev.c | 45

[dpdk-dev] [PATCH v2 46/46] doc: add doc for liquidio

2017-03-02 Thread Shijith Thotton
Added doc/guides/nics/liquidio.rst and doc/guides/nics/features/liquidio.ini. Updated release notes. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-29 Thread Shijith Thotton
7 09:17:33 +0300 > >> Gregory Etelson wrote: > >> > >> > Thank you. > >> > > >> > Regards, > >> > Gregory > >> > > >> > On Friday, 26 May 2017 09:05:11 IDT Shijith

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-29 Thread Shijith Thotton
On Mon, May 29, 2017 at 01:01:06PM +0300, Gregory Etelson wrote: >I still have to support Red Hat 6.x. These system do not have VFIO > >IGB_UIO is the only option there. > >Also, there was a discussion that claimed IGB_UIO has better performance >than VFIO. > >http://dpdk.org

[dpdk-dev] [RFC PATCH] igb_uio: issue FLR during open and release of device file

2017-05-31 Thread Shijith Thotton
ff-by: Shijith Thotton --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index b9d427c..5bc58d2 100644 --- a/lib/librte_eal/lin

Re: [dpdk-dev] [RFC PATCH] igb_uio: issue FLR during open and release of device file

2017-06-01 Thread Shijith Thotton
On Wed, May 31, 2017 at 06:11:40PM +0100, Ferruh Yigit wrote: > On 5/31/2017 4:30 PM, Stephen Hemminger wrote: > > On Wed, 31 May 2017 13:20:08 +0100 > > Ferruh Yigit wrote: > > > >> On 5/31/2017 12:09 PM, Shijith Thotton wrote: > >>> Set UIO info dev

[dpdk-dev] [PATCH] net/liquidio: fix MTU calculation from port configuration

2017-06-06 Thread Shijith Thotton
max_rx_pkt_len member of port RX configuration indicates max frame length. Ethernet header and CRC length should be subtracted from it to find MTU. Fixes: 605164c8e79d ("net/liquidio: add API to validate VF MTU") Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_eth

[dpdk-dev] [PATCH] net/liquidio: do not touch mbuf initialized fields

2017-06-08 Thread Shijith Thotton
Avoid re-initializing of mbuf fields which are set while in pool. Replaced lio_recv_buffer_alloc with rte_pktmbuf_alloc. See commit 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool"). Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_rxt

[dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-06-12 Thread Shijith Thotton
nable and disable are added in open and release respectively to take care of device DMA. Signed-off-by: Shijith Thotton --- v1 changes: - Added pci set master inside open and clear master inside release. - Remove obvious comments. RFC: http://dpdk.org/ml/archives/dev/2017-May/066917.html

[dpdk-dev] [PATCH 0/8] doc: consolidate common part among PMD docs

2017-04-06 Thread Shijith Thotton
PMDs with common part. RFC: * http://dpdk.org/ml/archives/dev/2017-April/062848.html Shijith Thotton (8): doc: add doc to explain compiling and testing of PMD doc: refer PMD compile and test section from liquidio doc doc: refer PMD compile and test section from bnx2x doc doc: refer PMD

[dpdk-dev] [PATCH 2/8] doc: refer PMD compile and test section from liquidio doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/liquidio.rst | 90 ++-- 1 file changed, 3 insertions(+), 87 deletions

[dpdk-dev] [PATCH 1/8] doc: add doc to explain compiling and testing of PMD

2017-04-06 Thread Shijith Thotton
Add a section in NIC drivers documentation to explain compiling and testing of a PMD. It also mentions about host setup, which is required before running testpmd. Add label "testpmd_ug" to refer user guide. Signed-off-by: Shijith Thotton --- doc/guides/nics/build_and_test.

[dpdk-dev] [PATCH 3/8] doc: refer PMD compile and test section from bnx2x doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/bnx2x.rst | 139 ++ 1 file changed, 5 insertions(+), 134

[dpdk-dev] [PATCH 7/8] doc: refer PMD compile and test section from nfp doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/nfp.rst | 141 +++- 1 file changed, 6 insertions(+), 135

[dpdk-dev] [PATCH 8/8] doc: refer PMD compile and test section from qede doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/qede.rst | 116 ++- 1 file changed, 4 insertions(+), 112

[dpdk-dev] [PATCH 6/8] doc: refer PMD compile and test section from i40e doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/i40e.rst | 77 1 file changed, 5 insertions(+), 72 deletions

[dpdk-dev] [PATCH 5/8] doc: refer PMD compile and test section from ena doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/ena.rst | 66 +++-- 1 file changed, 4 insertions(+), 62 deletions

[dpdk-dev] [PATCH 4/8] doc: refer PMD compile and test section from cxgbe doc

2017-04-06 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/cxgbe.rst | 109 -- 1 file changed, 9 insertions(+), 100

Re: [dpdk-dev] [PATCH 1/8] doc: add doc to explain compiling and testing of PMD

2017-04-07 Thread Shijith Thotton
On Thu, Apr 06, 2017 at 08:30:21PM +0200, Thomas Monjalon wrote: > 2017-04-06 13:21, Shijith Thotton: > > Add a section in NIC drivers documentation to explain compiling and > > testing of a PMD. It also mentions about host setup, which is required > > before running testpm

Re: [dpdk-dev] [PATCH 1/8] doc: add doc to explain compiling and testing of PMD

2017-04-07 Thread Shijith Thotton
On Fri, Apr 07, 2017 at 03:12:25PM +0530, Jerin Jacob wrote: > -Original Message- > > Date: Fri, 7 Apr 2017 12:37:26 +0530 > > From: Shijith Thotton > > To: Thomas Monjalon > > CC: John Mcnamara , dev@dpdk.org, Ferruh Yigit > > > > Subject: Re:

[dpdk-dev] [PATCH 1/2] net/liquidioi/base: fix mbox command initialization

2017-04-09 Thread Shijith Thotton
Initialize mail box command to request VF FLR. Data field was uninitialized before as it was not required and caused the following error during scan. Reported by Coverity scan: 1384518 Uninitialized scalar variable Fixes: cdb166963cae ("net/liquidio: add API for VF FLR") Signed-off-b

[dpdk-dev] [PATCH 2/2] net/liquidio: fix null pointer check

2017-04-09 Thread Shijith Thotton
queue") Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c index df91659..a65c749 100644 --- a/drivers/net/liquidi

[dpdk-dev] [PATCH v2 1/2] net/liquidio/base: fix mbox command initialization

2017-04-10 Thread Shijith Thotton
Initialize mail box command to request VF FLR. Data field was uninitialized before as it was not required and caused the following error during scan. Reported by Coverity scan: 1384518 Uninitialized scalar variable Fixes: cdb166963cae ("net/liquidio: add API for VF FLR") Signed-off-b

[dpdk-dev] [PATCH v2 2/2] net/liquidio: fix null pointer check

2017-04-10 Thread Shijith Thotton
queue") Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio/lio_ethdev.c index df91659..a65c749 100644 --- a/drivers/net/liquidi

[dpdk-dev] [PATCH v2 00/10] doc: consolidate common part among PMD docs

2017-04-11 Thread Shijith Thotton
section after NIC overview for the doc. - Refer the section instead of including it in PMD docs. * Change documentation of all PMDs with common part. RFC: * http://dpdk.org/ml/archives/dev/2017-April/062848.html Shijith Thotton (10): doc: add doc to explain compiling and testing of PMD doc

[dpdk-dev] [PATCH v2 01/10] doc: add doc to explain compiling and testing of PMD

2017-04-11 Thread Shijith Thotton
Add a section in NIC drivers documentation to explain compiling and testing of a PMD. It also mentions about host setup, which is required before running testpmd. Add label "testpmd_ug" to refer user guide. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Acked-by: Joh

[dpdk-dev] [PATCH v2 02/10] doc: refer PMD compile and test section from ark doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton --- doc/guides/nics/ark.rst | 75 + 1 file changed, 20 insertions(+), 55

[dpdk-dev] [PATCH v2 03/10] doc: refer PMD compile and test section from bnx2x doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/bnx2x.rst | 178 +++--- 1 file changed, 42

[dpdk-dev] [PATCH v2 04/10] doc: refer PMD compile and test section from cxgbe doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/cxgbe.rst | 86 ++- 1 file changed, 11

[dpdk-dev] [PATCH v2 05/10] doc: refer PMD compile and test section from ena doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/ena.rst | 69 ++--- 1 file changed, 20

[dpdk-dev] [PATCH v2 06/10] doc: refer PMD compile and test section from i40e doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/i40e.rst | 108 --- 1 file changed, 36

[dpdk-dev] [PATCH v2 07/10] doc: refer PMD compile and test section from liquidio doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/liquidio.rst | 123 --- 1 file changed, 33

[dpdk-dev] [PATCH v2 08/10] doc: refer PMD compile and test section from nfp doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/nfp.rst | 141 +++- 1 file changed, 6

[dpdk-dev] [PATCH v2 09/10] doc: refer PMD compile and test section from qede doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Acked-by: John McNamara --- doc/guides/nics/qede.rst | 176 ++- 1 file changed, 66

[dpdk-dev] [PATCH v2 10/10] doc: refer PMD compile and test section from thunderx doc

2017-04-11 Thread Shijith Thotton
Refer the section which explains driver compilation and running of testpmd in Linux, instead of describing it in driver documentation. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob --- doc/guides/nics/thunderx.rst | 188 +-- 1 file changed

[dpdk-dev] [PATCH 0/2] add support for 25G variant of CN23XX adapter

2017-04-19 Thread Shijith Thotton
Current LiquidIO PMD only supports 10G link speed. A 25G variant of LiquidIO II CN23XX is available and this series adds support for that. Shijith Thotton (2): net/liquidio: add support for 25G link speed doc: update supported liquidio adapters doc/guides/nics/liquidio.rst | 4

[dpdk-dev] [PATCH 2/2] doc: update supported liquidio adapters

2017-04-19 Thread Shijith Thotton
Add CN23XX 225SV to the list of supported LiquidIO adapters. Signed-off-by: Shijith Thotton --- doc/guides/nics/liquidio.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/liquidio.rst b/doc/guides/nics/liquidio.rst index b7c80c5..f04cb16 100644 --- a

[dpdk-dev] [PATCH 1/2] net/liquidio: add support for 25G link speed

2017-04-19 Thread Shijith Thotton
Add case to handle 25G link speed and thereby support LiquidIO II CN23XX 225SV (2x25G) adapter. Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 3 +++ drivers/net/liquidio/lio_ethdev.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net

[dpdk-dev] [PATCH] net/liquidio: set device speed capability info

2017-05-25 Thread Shijith Thotton
Add subsystem device id of CN23xx cards and expose speed capability of devices. Update liquidio feature file to mark support. Signed-off-by: Shijith Thotton --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/base/lio_hw_defs.h | 6 ++ drivers/net/liquidio/lio_ethdev.c

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-25 Thread Shijith Thotton
On Fri, May 26, 2017 at 07:30:58AM +0300, Gregory Etelson wrote: Hi Gregory, The patch is useful for LiquidIO PMD as we can avoid VF FLR request to PF. One comment inline.. [..] > > > > > > +static int > > > +igbuio_pci_release(struct uio_info *info, struct inode *inode) > > > +{ > > > +

Re: [dpdk-dev] [PATCH-18.08 11/15] net/liquidio: add to meson build

2018-05-21 Thread Shijith Thotton
On Thu, May 17, 2018 at 09:15:22PM +0100, Bruce Richardson wrote: > Signed-off-by: Bruce Richardson > > --- > CC: Shijith Thotton > CC: Srisivasubramanian Srinivasan > --- > drivers/net/liquidio/Makefile | 2 +- > drivers/

Re: [dpdk-dev] [PATCH] net/liquidio:Fix Unable to update lio_dev->linfo.link var

2018-05-22 Thread Shijith Thotton
> + > /* start polling for lsc */ > ret = rte_eal_alarm_set(LIO_LSC_TIMEOUT, > lio_sync_link_state_check, > -- > 1.8.3.1 > Hi Yao, Thanks for the catch! Please send a v2 with corrections to commit log. Acked-by: Shijith Thotton

[dpdk-dev] [PATCH] doc: remove deprecated terms from liquidio documentation

2018-05-23 Thread Shijith Thotton
Remove reference to deprecated ethdev offload parameter from liquidio documentation. Fixes: dd6aab16711c ("net/liquidio: move to new offload API") Signed-off-by: Shijith Thotton --- doc/guides/nics/liquidio.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/

[dpdk-dev] [PATCH] net/liquidio: remove FLR request to PF driver

2017-08-20 Thread Shijith Thotton
igb_uio and vfio-pci does pci reset during open and release of device. So FLR request to LiquidIO PF driver during init and close in PMD is not required. See commit b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device file") Signed-off-by: Shijith Thotton --- d

[dpdk-dev] [PATCH] net/liquidio: add API to set MTU

2017-08-30 Thread Shijith Thotton
Support MTU change in the range ETHER_MIN_MTU to PF_MTU. A drop in PF MTU lowers VF MTU if it goes out of range. Signed-off-by: Shijith Thotton --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 88

[dpdk-dev] [PATCH] net/liquidio: move to new offload API

2018-03-13 Thread Shijith Thotton
From: Shijith Thotton Make use of new offloads member instead of bit fields in port Rx conf. Signed-off-by: Shijith Thotton --- drivers/net/liquidio/lio_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/liquidio/lio_ethdev.c b/drivers/net/liquidio

[dpdk-dev] [PATCH v2] net/liquidio: move to new offload API

2018-03-27 Thread Shijith Thotton
Make use of new offloads member instead of bit fields in port Rx conf. Signed-off-by: Shijith Thotton --- v2: corrected commit log mail address. drivers/net/liquidio/lio_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/liquidio/lio_ethdev.c b

Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file

2017-09-13 Thread Shijith Thotton
f(): init_adminq failed: -53 > >i40evf_dev_init(): Init vf failed > >EAL: Requested device 0000:00:03.0 cannot be used > > > >commit b58eedfc7dd57eef6d12e2c654a52c834f36084a >Author: Shijith Thotton >Date: Fri Jul 7 16:43:51 2017 +0530 >

Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file

2017-09-14 Thread Shijith Thotton
On Thu, Sep 14, 2017 at 03:16:05AM +, Yang, Qiming wrote: > > -Original Message- > > From: Yigit, Ferruh > > Sent: Thursday, September 14, 2017 1:06 AM > > To: Hu, Xuekun ; Shijith Thotton > > ; Yang, Qiming > > ; Gregory Etelson > > Cc: de

Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file

2017-09-14 Thread Shijith Thotton
On Thu, Sep 14, 2017 at 12:30:55PM +0530, Shijith Thotton wrote: > On Thu, Sep 14, 2017 at 03:16:05AM +, Yang, Qiming wrote: > > > -Original Message- > > > From: Yigit, Ferruh > > > Sent: Thursday, September 14, 2017 1:06 AM > > > To: Hu, Xuekun

Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file

2017-09-15 Thread Shijith Thotton
On Fri, Sep 15, 2017 at 09:18:00AM +, Yang, Qiming wrote: > > -Original Message- > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Friday, September 15, 2017 4:43 PM > > To: Yang, Qiming > > Cc: dev@dpdk.org; Tan, Jianfeng ; Thotton, Shijith > > ; Hu, Xuekun ; Yigit, > >

Re: [dpdk-dev] [PATCH] net/liquidio: fix uninitialized variable

2017-09-15 Thread Shijith Thotton
On Thu, Sep 14, 2017 at 10:32:59PM -0400, Yong Wang wrote: > In func lio_dev_link_update(), "link.link_autoneg" is used in func call > lio_dev_atomic_write_link_status(), but is uninitialized. > > Signed-off-by: Yong Wang > --- > drivers/net/liquidio/lio_ethdev.c | 1 + > 1 file changed, 1 inser

Re: [dpdk-dev] [PATCH v2] net/liquidio: fix uninitialized variable

2017-09-17 Thread Shijith Thotton
On Fri, Sep 15, 2017 at 07:48:28AM -0400, Yong Wang wrote: > In func lio_dev_link_update(), "link.link_autoneg" is used in func call > lio_dev_atomic_write_link_status(), but is uninitialized. > > v2: > * Modify the initial value of 'link.link_autoneg' from 'ETH_LINK_FIXED' > to 'ETH_LINK_AUTONE

Re: [dpdk-dev] vf init issue with patch igb_uio: issue FLR during open and release of device file

2017-09-17 Thread Shijith Thotton
...@dpdk.org>> on > > behalf of Ferruh Yigit > > > > > > mailto:ferruh.yi...@intel.com>> > > > > > > Date: Wednesday, September 13, 2017 at 10:06 AM > > > > > > To: "Hu, Xuekun" mailto:xuekun...@intel.com>

Re: [dpdk-dev] [PATCH v2] net/liquidio: fix uninitialized variable

2017-09-18 Thread Shijith Thotton
' from 'ETH_LINK_FIXED' > to 'ETH_LINK_AUTONEG'. > > Signed-off-by: Yong Wang Acked-by: Shijith Thotton > --- > drivers/net/liquidio/lio_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/liquidio/lio_ethdev.c > b/drivers/net/

[dpdk-dev] [PATCH] igb_uio: remove PCI reset during uio device open

2017-09-19 Thread Shijith Thotton
se of device file") Cc: sta...@dpdk.org Signed-off-by: Shijith Thotton --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index 07a19a3..a6c2

Re: [dpdk-dev] [PATCH] igb_uio: remove PCI reset during uio device open

2017-10-02 Thread Shijith Thotton
/remove > func. > 4. move the enable/disable MSIX from probe/remove to open/release func. > > Any opinions? > Hi Jingjing, Thanks for finding the root cause. I'm in for reverting the patch (as there are chances of issues in future), even though option 4 can fix the issue for

[dpdk-dev] [PATCH] net/liquidio: add support for promiscuous mode

2017-10-11 Thread Shijith Thotton
From: Intiyaz Basha Signed-off-by: Intiyaz Basha Signed-off-by: Shijith Thotton --- doc/guides/nics/features/liquidio.ini | 1 + doc/guides/nics/liquidio.rst| 8 ++ drivers/net/liquidio/base/lio_hw_defs.h | 3 +++ drivers/net/liquidio/lio_ethdev.c | 47

Re: [dpdk-dev] [PATCH v2 2/2] igb_uio: fix interrupt enablement after FLR in VM

2017-10-13 Thread Shijith Thotton
l module code. > > > > Fixes: b58eedfc7dd5 ("igb_uio: issue FLR during open and release of device > > file") > > > > Cc: sta...@dpdk.org > > > > Signed-off-by: Jingjing Wu > > Signed-off-by: Jianfeng Tan Tested-by: Shijith Thotton

Re: [dpdk-dev] [PATCH] igb_uio: remove PCI reset during uio device open

2017-10-13 Thread Shijith Thotton
On Tue, Oct 03, 2017 at 02:35:38PM +0300, Gregory Etelson wrote: > Hello, > > Can we hold with revert until proper solution will be introduced ? > > Regards, > Gregory > > On Monday, 2 October 2017 21:24:19 IDT Shijith Thotton wrote: > > On Fri, Sep 29, 2017 at

Re: [dpdk-dev] [PATCH] igb_uio: revert open and release operations

2017-10-17 Thread Shijith Thotton
er FLR in VM") > Commit: 6b9ed026a870 ("igb_uio: fix build with kernel <= 3.17") > > Even after the fix qede PMD reported to be broken: > http://dpdk.org/ml/archives/dev/2017-October/079359.html > > So this patch reverts original fix and related commits. Th

Re: [dpdk-dev] [PATCH] igb_uio: remove device reset in open

2017-10-23 Thread Shijith Thotton
On Fri, Oct 20, 2017 at 09:57:38AM -0700, Ferruh Yigit wrote: > On 10/20/2017 9:55 AM, Ferruh Yigit wrote: > > Remove device reset during application start, the reset for application > > exit still there. > > > > Reset in open removed because of following comments: > > 1- Device reset not complete

Re: [dpdk-dev] [PATCH] igb_uio: remove device reset in open

2017-10-23 Thread Shijith Thotton
On Mon, Oct 23, 2017 at 09:36:38AM -0700, Ferruh Yigit wrote: > On 10/23/2017 5:28 AM, Shijith Thotton wrote: > > On Fri, Oct 20, 2017 at 09:57:38AM -0700, Ferruh Yigit wrote: > >> On 10/20/2017 9:55 AM, Ferruh Yigit wrote: > >>> Remove device reset during ap

[dpdk-dev] [PATCH] net/liquidio: add support for device reset in driver

2017-11-08 Thread Shijith Thotton
Reset device during init and close if bound to igb_uio. Fixes: 369db3ae8e91 ("igb_uio: remove device reset in release") Cc: sta...@dpdk.org Signed-off-by: Shijith Thotton --- Hi Thomas/Ferruh, Please consider this patch for 17.11 as removing reset from igb_uio breaks LiquidIO PMD[

[dpdk-dev] [PATCH] net/liquidio: add support for queue re-configuration

2017-11-20 Thread Shijith Thotton
Support for re-configuration of number of queues per port and descriptor size. Renamed variable representing number of descriptors as nb_desc from max_count. Signed-off-by: Shijith Thotton --- drivers/net/liquidio/base/lio_23xx_vf.c | 54 +-- drivers/net/liquidio/base/lio_23xx_vf.h

Re: [dpdk-dev] [PATCH 13/18] net/liquidio: align dynamic log names with standard

2018-01-26 Thread Shijith Thotton
MD name should be the > same as the directory that it lives in: drivers/net/liquidio > > Signed-off-by: Harry van Haaren Acked-by: Shijith Thotton > > --- > > Maintainer: > Cc: shijith.thot...@cavium.com > Cc: ssriniva...@cavium.com > --- > drivers/net/

Re: [dpdk-dev] [PATCH] maintainers: added liquidio driver maintainer

2021-01-04 Thread Shijith Thotton
s, and both >should ensure device is stopped first. Also remove() can be called after >close() >called, please check other samples too. > >> -M: Shijith Thotton >> -M: Srisivasubramanian Srinivasan >> +Cavium LiquidIO >> +M: Ugendreshwar Kudupudi > >Welc

[dpdk-dev] [PATCH] event/octeontx2: unlink queues during port release

2020-11-18 Thread Shijith Thotton
ned-off-by: Shijith Thotton Signed-off-by: Pavan Nikhilesh --- drivers/event/octeontx2/otx2_evdev.c | 98 +--- drivers/event/octeontx2/otx2_evdev.h | 12 2 files changed, 71 insertions(+), 39 deletions(-) diff --git a/drivers/event/octeontx2/otx2_evdev.c b/dri

[dpdk-dev] [PATCH v2] event/octeontx2: unlink queues during port release

2020-11-19 Thread Shijith Thotton
ned-off-by: Shijith Thotton Signed-off-by: Pavan Nikhilesh --- v2: * Took care of cookie during single workslot free and re-allocation. drivers/event/octeontx2/otx2_evdev.c | 100 - drivers/event/octeontx2/otx2_evdev.h | 12 +++ drivers/event/octeontx2/otx2_evd

[PATCH] common/cnxk: allow enabling IOVA field in mbuf

2024-10-14 Thread Shijith Thotton
Value of RTE_IOVA_IN_MBUF was always disabled on cnxk platforms, as IOVA in the mbuf is not required. This change modifies that behavior, allowing RTE_IOVA_IN_MBUF to be enabled if the build option -Denable_iova_as_pa=true is explicitly specified. Signed-off-by: Shijith Thotton --- config/arm

<    1   2   3   4   5   6   >