[dpdk-dev] [PATCH 5/6] cxgbe: Allow apps to change mtu

2015-10-02 Thread Rahul Lakkireddy
Add a mtu_set() eth_dev_ops to allow DPDK apps to modify device mtu. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/cxgbe_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers

[dpdk-dev] [PATCH 6/6] doc: Update cxgbe documentation and release notes

2015-10-02 Thread Rahul Lakkireddy
- Add a missed step to mount huge pages in Linux. - Re-structure Sample Application Notes. - Add Jumbo Frame support to list of supported features and instructions on how to enable it via testpmd. - Update release notes. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
Hi Aaron, On Friday, October 10/02/15, 2015 at 14:48:28 -0700, Aaron Conole wrote: > Hi Rahul, > > Rahul Lakkireddy writes: > > > Update sge initialization with respect to free-list manager configuration > > and ingress arbiter. Also update refill logic to refill mbufs

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
Hi Konstantin, On Monday, October 10/05/15, 2015 at 04:46:40 -0700, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > > Sent: Monday, October 05, 2015 11:06 AM > > To: Aaron

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-05 Thread Rahul Lakkireddy
On Monday, October 10/05/15, 2015 at 07:09:27 -0700, Ananyev, Konstantin wrote: > Hi Rahul, [...] > > > > This additional check seems redundant for single segment > > > > packets since rte_pktmbuf_free_seg also performs rte_mbuf_sanity_check. > > > > > > > > Several PMDs already prefer to use

[dpdk-dev] [PATCH 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-07 Thread Rahul Lakkireddy
On Monday, October 10/05/15, 2015 at 20:37:31 +0530, Rahul Lakkireddy wrote: > On Monday, October 10/05/15, 2015 at 07:09:27 -0700, Ananyev, Konstantin > wrote: > > Hi Rahul, > > [...] > > > > > > This additional check seems redundant for si

[dpdk-dev] [PATCH v2 0/6] cxgbe: Optimize tx/rx for 40GbE and add Jumbo Frame support for CXGBE PMD

2015-10-08 Thread Rahul Lakkireddy
This series of patches improve forwarding performance for Chelsio T5 40GbE cards and add Jumbo Frame support for cxgbe pmd. Also update documentation and release notes. --- v2: - Don't re-define rte_pktmbuf_free() locally. Thanks to review by Aaron Conole and Konstantin Ananyev Rahul

[dpdk-dev] [PATCH v2 1/6] cxgbe: Optimize forwarding performance for 40G

2015-10-08 Thread Rahul Lakkireddy
-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - Don't re-define rte_pktmbuf_free() locally. Thanks to review by Aaron Conole and Konstantin Ananyev drivers/net/cxgbe/base/t4_regs.h | 16 drivers/net/cxgbe/cxgbe_main.c | 7 +++ drivers/net/cxgbe/sge.c

[dpdk-dev] [PATCH v2 2/6] cxgbe: Update device info and perform sanity checks to enable jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Increase max_rx_pktlen to accommodate jumbo frame size. Perform sanity checks and enable jumbo mode in rx queue setup. Set link mtu based on max_rx_pktlen. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/cxgbe.h| 3 +++ drivers/net

[dpdk-dev] [PATCH v2 3/6] cxgbe: Update tx path to transmit jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Add a non-coalesce path. Skip coalescing for Jumbo Frames, and send the packet through non-coalesced path if there are enough credits. Also, free these non-coalesced packets while reclaiming credits. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers

[dpdk-dev] [PATCH v2 4/6] cxgbe: Update rx path to receive jumbo frames

2015-10-08 Thread Rahul Lakkireddy
Ensure jumbo mode is enabled and that the mbuf data room size can accommodate jumbo size. If the mbuf data room size can't accommodate jumbo size, chain mbufs to jumbo size. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/sge.c | 58

[dpdk-dev] [PATCH v2 5/6] cxgbe: Allow apps to change mtu

2015-10-08 Thread Rahul Lakkireddy
Add a mtu_set() eth_dev_ops to allow DPDK apps to modify device mtu. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2: - No change drivers/net/cxgbe/cxgbe_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/cxgbe

[dpdk-dev] [PATCH v2 6/6] doc: Update cxgbe documentation and release notes

2015-10-08 Thread Rahul Lakkireddy
- Add a missed step to mount huge pages in Linux. - Re-structure Sample Application Notes. - Add Jumbo Frame support to list of supported features and instructions on how to enable it via testpmd. - Update release notes. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- v2

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
Hi Jingjing, On Wednesday, February 02/24/16, 2016 at 19:26:54 -0800, Wu, Jingjing wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > > Sent: Wednesday, February 03, 2016 4:32 PM > > To: dev at

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
. Also, I followed the review comments given by Jingjing. I also waited for more review comments before posting this series to see if there were any objections with the approach. I have been trying to make this generic for all vendors and not favour any one over the other. > > 2016-02-25 00:10,

[dpdk-dev] [PATCH v2] cxgbe: fix to copy pci info to ports under same PF

2016-02-25 Thread Rahul Lakkireddy
Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() to copy the pci device information to the remaining ports as well. Also update license year to 2016. Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data") Signed-off-by: Rahul Lakkireddy Signed-off

[dpdk-dev] [PATCH 02/12] pmd/cxgbe: add dev_ptype_info_get implementation

2016-01-06 Thread Rahul Lakkireddy
Hi Jianfeng, On Thursday, December 12/31/15, 2015 at 14:53:09 +0800, Jianfeng Tan wrote: > Signed-off-by: Jianfeng Tan > --- > drivers/net/cxgbe/cxgbe_ethdev.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c >

[dpdk-dev] [RFC v2 0/2] ethdev: Enhancements to flow director filter

2016-01-11 Thread Rahul Lakkireddy
Hi All, On Wednesday, December 12/23/15, 2015 at 18:11:19 +0530, Rahul Lakkireddy wrote: > This RFC series of patches attempt to extend the flow director filter to > add support for Chelsio T5 hardware filtering capabilities. > > Chelsio T5 supports carrying out filtering in ha

[dpdk-dev] [RFC v2 1/2] ethdev: add packet filter flow and new behavior switch to fdir

2016-01-13 Thread Rahul Lakkireddy
Hi Jingjing, On Tuesday, January 01/12/16, 2016 at 17:12:47 -0800, Wu, Jingjing wrote: > > > > diff --git a/lib/librte_ether/rte_eth_ctrl.h > > b/lib/librte_ether/rte_eth_ctrl.h > > index ce224ad..5cc22a0 100644 > > --- a/lib/librte_ether/rte_eth_ctrl.h > > +++ b/lib/librte_ether/rte_eth_ctrl.h

[dpdk-dev] [RFC v2 1/2] ethdev: add packet filter flow and new behavior switch to fdir

2016-01-14 Thread Rahul Lakkireddy
Hi Jingjing, On Thursday, January 01/14/16, 2016 at 00:48:17 -0800, Wu, Jingjing wrote: > Hi, Rahul > > Just another thought, please consider about it: > > Add a new flow type like > > #define RTE_ETH_FLOW_IPV6_UDP_EX17 > +#define RTE_ETH_FLOW_RAW_PKT 18 > > Then add a new

[dpdk-dev] [RFC v2 1/2] ethdev: add packet filter flow and new behavior switch to fdir

2016-01-15 Thread Rahul Lakkireddy
Hi Jingjing, On Thursday, January 01/14/16, 2016 at 17:30:53 -0800, Wu, Jingjing wrote: > Hi, Rahul > > > This approach seems generic enough to allow any vendor specific data > > to be passed in filter as well. However, 80 seems to be too low for > > multiple flow types that can be combined in

[dpdk-dev] [PATCH 1/2] cxgbe: fix segfault due to incorrect size allocated for rss table

2016-01-19 Thread Rahul Lakkireddy
cxgbe: add device configuration and Rx support") Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/rel_notes/release_2_3.rst | 6 ++ drivers/net/cxgbe/cxgbe_main.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] [PATCH 0/2] cxgbe: Bug fixes for CXGBE PMD

2016-01-19 Thread Rahul Lakkireddy
Patch 1 fixes a segfault due to an incorrect size allocated for each entry in the rss table. Patch 2 fixes an issue with setting wrong device mtu. Rahul Lakkireddy (2): cxgbe: fix segfault due to incorrect size allocated for rss table cxgbe: fix setting wrong device mtu doc/guides

[dpdk-dev] [PATCH 2/2] cxgbe: fix setting wrong device mtu

2016-01-19 Thread Rahul Lakkireddy
Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/rel_notes/release_2_3.rst | 5 + drivers/net/cxgbe/cxgbe_main.c | 5 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_2_3.rst b/doc/guides/rel_notes/release_2_3

[dpdk-dev] [PATCH 0/2] cxgbe: Minor bug fix and update license year

2016-01-31 Thread Rahul Lakkireddy
Patch 1 fixes an issue where pci device information was not being copied to other ports on the Chelsio NIC. Patch 2 updates the license year for CXGBE PMD to 2016. Rahul Lakkireddy (2): cxgbe: fix to copy pci info to other ports under same PF cxgbe: update license year to 2016 doc/guides

[dpdk-dev] [PATCH 1/2] cxgbe: fix to copy pci info to other ports under same PF

2016-01-31 Thread Rahul Lakkireddy
Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() to copy the pci device information to the remaining ports as well. Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data") Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers

[dpdk-dev] [PATCH 2/2] cxgbe: update license year to 2016

2016-01-31 Thread Rahul Lakkireddy
Update CXGBE PMD license year to 2016. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/cxgbe.rst | 2 +- drivers/net/cxgbe/Makefile | 2 +- drivers/net/cxgbe/base/adapter.h| 2 +- drivers/net/cxgbe/base/common.h | 2

[dpdk-dev] DPDK Coverity issue 127559

2016-07-19 Thread Rahul Lakkireddy
defect information below. > > Commit data > === > > Commit: net/cxgbe: support EEPROM access > Id: fe0bd9ee5da3fd52766458a5d0fa9a8728182be1 > Author: Rahul Lakkireddy > Email: rahul.lakkireddy at chelsio.com > Date: Fri May

[dpdk-dev] [RFC] Generic flow director/filtering/classification API

2016-07-21 Thread Rahul Lakkireddy
Hi Adrien, The proposal looks very good. It satisfies most of the features supported by Chelsio NICs. We are looking for suggestions on exposing more additional features supported by Chelsio NICs via this API. Chelsio NICs have two regions in which filters can be placed - Maskfull and Maskless

[dpdk-dev] [PATCH] doc: fill in cxgbe driver features matrix

2016-03-10 Thread Rahul Lakkireddy
Fill in the supported features matrix for CXGBE PMD. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/overview.rst | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/doc/guides/nics/overview.rst b

[dpdk-dev] [PATCH] ethdev: don't count missed packets in erroneous packets counter

2016-03-17 Thread Rahul Lakkireddy
e, because missed packets are obviously not received. > This patch fixes it. > > Signed-off-by: Igor Ryzhov > --- For the cxgbe part, Acked-by: Rahul Lakkireddy

[dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-01 Thread Rahul Lakkireddy
Hi Thomas, On Monday, November 11/28/16, 2016 at 16:33:06 +0530, Thomas Monjalon wrote: > We need attention of every PMD developers on this thread. > > Reminder of what Konstantin suggested: > " > - if the PMD supports TX offloads AND > - if to be able use any of these offloads the upper layer

[dpdk-dev] [PATCH 4/9] eal/linux: move back interrupt thread init before setting affinity

2016-02-02 Thread Rahul Lakkireddy
Hi David, On Friday, January 01/29/16, 2016 at 15:08:31 +0100, David Marchand wrote: > Now that virtio pci driver is initialized in a constructor, we only need to > move the interrupt thread init after loading the plugins. > This way, chelsio driver should be happy again [1]. > > [1]

[dpdk-dev] [PATCH 4/9] eal/linux: move back interrupt thread init before setting affinity

2016-02-02 Thread Rahul Lakkireddy
Hi David, On Monday, February 02/01/16, 2016 at 23:13:55 -0800, David Marchand wrote: > Hello Rahul, > > On Tue, Feb 2, 2016 at 8:02 AM, Rahul Lakkireddy > wrote: > > On Friday, January 01/29/16, 2016 at 15:08:31 +0100, David Marchand wrote: > >> Now that virti

[dpdk-dev] [PATCH 00/10] cxgbe: Add flow director support

2016-02-03 Thread Rahul Lakkireddy
. Patch 8 adds the LE-TCAM (maskfull) filter support. Patch 9 adds the HASH (maskless) filter support. Patch 10 adds and implements the flow director filter operations. Also add the documentation. [1] http://comments.gmane.org/gmane.comp.networking.dpdk.devel/29986 Rahul Lakkireddy (10): ethdev

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-03 Thread Rahul Lakkireddy
new ip and port addresses to rewrite the fields of packets matching a filter rule before NAT'ing. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/rel_notes/release_2_3.rst | 3 +++ lib/librte_ether/rte_eth_ctrl.h | 15 ++- 2 files changed, 17

[dpdk-dev] [PATCH 02/10] examples/test-cxgbe-filters: add example to test cxgbe fdir support

2016-02-03 Thread Rahul Lakkireddy
. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- MAINTAINERS| 2 + doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/test_cxgbe_filters.rst| 694 + examples/Makefile

[dpdk-dev] [PATCH 03/10] cxgbe: add skeleton to add support for T5 hardware filtering

2016-02-03 Thread Rahul Lakkireddy
Update base to get info about supported filtering features. Add TID table that holds filter state and add filter specification that provide a skeleton to add LE-TCAM (Maskfull) and Hash (Maskless) T5 filtering capabilities. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi

[dpdk-dev] [PATCH 04/10] cxgbe: add control txq for communicating filtering info

2016-02-03 Thread Rahul Lakkireddy
Add a control txq with its own mempool to create control packets containing filtering information to be communicated with firmware. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/base/adapter.h| 15 +++ drivers/net/cxgbe/base/common.h | 2

[dpdk-dev] [PATCH 05/10] cxgbe: add compressed local IP table for matching IPv6 addresses

2016-02-03 Thread Rahul Lakkireddy
Add Compressed Local IP (CLIP) table that holds IPv6 addresses to be matched against packets. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/Makefile | 1 + drivers/net/cxgbe/base/adapter.h| 52 drivers/net/cxgbe/base

[dpdk-dev] [PATCH 06/10] cxgbe: add layer 2 table for switch action filter

2016-02-03 Thread Rahul Lakkireddy
Add Layer 2 Table (L2T) that holds destination mac addresses and vlan ids to be modified on a packet that matches a corresponding set 'switch' action filter. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/Makefile | 1 + drivers/net/cxgbe/base

[dpdk-dev] [PATCH 07/10] cxgbe: add source mac table for switch action filter

2016-02-03 Thread Rahul Lakkireddy
Add Source MAC Table (SMT) that holds source mac addresses to be modified on a packet that matches a corresponding set 'switch' action filter. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/Makefile | 1 + drivers/net/cxgbe/base/adapter.h | 1

[dpdk-dev] [PATCH 08/10] cxgbe: add LE-TCAM filtering support

2016-02-03 Thread Rahul Lakkireddy
of the filters with a higher index are ignored and the action is taken immediately. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/Makefile | 1 + drivers/net/cxgbe/base/adapter.h| 21 + drivers/net/cxgbe/base/common.h | 2 + drivers

[dpdk-dev] [PATCH 10/10] cxgbe: add flow director support and update documentation

2016-02-03 Thread Rahul Lakkireddy
of remaining free entries, and number of successful and failed added/deleted filters. Add documentation explaining the usage of CXGBE Flow Director support. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/cxgbe.rst| 166 doc/guides/rel_notes

[dpdk-dev] [PATCH] cxgbe: fix memory leak when device initialization fails

2016-02-12 Thread Rahul Lakkireddy
Add missing code to free adapter when the device initialization fails. Fixes: 8318984927ff ("cxgbe: add pmd skeleton") Reported-by: Seth Arnold Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/cxgbe_ethdev.c | 7 ++- 1 file changed, 6 insert

[dpdk-dev] [PATCH v8 2/4] ethdev: Fill speed capability bitmaps in the PMDs

2016-02-15 Thread Rahul Lakkireddy
Hi Marc, On Sunday, February 02/14/16, 2016 at 23:17:37 +0100, Marc Sune wrote: > Added speed capabilities to all pmds supporting physical NICs: > > * e1000 > * ixgbe > * i40 > * bnx2x > * cxgbe > * mlx4 > * mlx5 > * nfp > * fm10k > > Signed-off-by: Marc Sune > --- >

[dpdk-dev] [PATCH v2] doc: introduce networking driver matrix

2016-02-16 Thread Rahul Lakkireddy
Hi Thomas, Got a couple of questions on how to mark some of the features for CXGBE below. On Wednesday, January 01/27/16, 2016 at 21:07:09 +0100, Thomas Monjalon wrote: > In order to better compare the drivers and check what is missing > for a common baseline, we need to fill a matrix. > > A

[dpdk-dev] [PATCH v2] doc: introduce networking driver matrix

2016-02-17 Thread Rahul Lakkireddy
Hi Thomas, On Tuesday, February 02/16/16, 2016 at 05:42:30 -0800, Thomas Monjalon wrote: > 2016-02-16 17:05, Rahul Lakkireddy: > > Hi Thomas, > > > > Got a couple of questions on how to mark some of the features for CXGBE > > below. > > > > On Wednesday, J

[dpdk-dev] [PATCH 00/10] cxgbe: Add flow director support

2016-02-22 Thread Rahul Lakkireddy
Hi All, On Wednesday, February 02/03/16, 2016 at 14:02:21 +0530, Rahul Lakkireddy wrote: > This series of patches extend the flow director filter and add support > for Chelsio T5 hardware filtering capabilities. > > Chelsio T5 supports carrying out filtering in hardware whic

[dpdk-dev] [PATCH 02/10] examples/test-cxgbe-filters: add example to test cxgbe fdir support

2016-02-25 Thread Rahul Lakkireddy
Hi Bruce, On Wednesday, February 02/24/16, 2016 at 06:40:56 -0800, Bruce Richardson wrote: > On Wed, Feb 03, 2016 at 02:02:23PM +0530, Rahul Lakkireddy wrote: > > Add a new test_cxgbe_filters command line example to test support for > > Chelsio T5 hardware filtering. Shows how to p

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
Hi Thomas, On Wednesday, February 02/24/16, 2016 at 07:02:42 -0800, Thomas Monjalon wrote: > 2016-02-24 14:43, Bruce Richardson: > > On Wed, Feb 03, 2016 at 02:02:22PM +0530, Rahul Lakkireddy wrote: > > > Add a new raw packet flow that allows specifying generic flow input

[dpdk-dev] [PATCH 0/5] cxgbe: add features to CXGBE PMD

2016-05-06 Thread Rahul Lakkireddy
to 4 sec. Patch 4 adds support to get/set EEPROM. Patch 5 adds support to get register dump. Rahul Lakkireddy (5): pci: fix access to PCI config space in bsd cxgbe: add support to access PCI config space cxgbe: set default PCIe completion timeout cxgbe: add support to get/set EEPROM cxgbe

[dpdk-dev] [PATCH 1/5] pci: fix access to PCI config space in bsd

2016-05-06 Thread Rahul Lakkireddy
PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail with EPERM due to missing write permission. Fix by opening /dev/pci/ with O_RDWR instead. Fixes: 632b2d1deeed ("eal: provide functions to access PCI config") Signed-off-by: Rahul Lakkireddy Signed-off-by: Kum

[dpdk-dev] [PATCH 2/5] cxgbe: add support to access PCI config space

2016-05-06 Thread Rahul Lakkireddy
Add helper functions to access PCI config space. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/base/adapter.h | 129 ++- 1 file changed, 128 insertions(+), 1 deletion(-) diff --git a/drivers/net/cxgbe/base/adapter.h b

[dpdk-dev] [PATCH 3/5] cxgbe: set default PCIe completion timeout

2016-05-06 Thread Rahul Lakkireddy
Program the PCIe completion timeout to 4 sec to give enough time to allow completions to be received successfully in some older systems. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- drivers/net/cxgbe/base/adapter.h | 2 ++ drivers/net/cxgbe/base/t4_hw.c | 19

[dpdk-dev] [PATCH 4/5] cxgbe: add support to get/set EEPROM

2016-05-06 Thread Rahul Lakkireddy
Add operations to get/set EEPROM. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/overview.rst | 2 +- drivers/net/cxgbe/base/adapter.h | 7 ++ drivers/net/cxgbe/base/common.h | 5 +- drivers/net/cxgbe/base/t4_hw.c | 182

[dpdk-dev] [PATCH 5/5] cxgbe: add support to get register dump

2016-05-06 Thread Rahul Lakkireddy
Add operations to get register dump. Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghvi --- doc/guides/nics/overview.rst | 2 +- drivers/net/cxgbe/base/common.h | 6 + drivers/net/cxgbe/base/t4_hw.c | 846 +++ drivers/net/cxgbe

<    1   2