On Tue, Jul 07, 2015 at 10:50:23 +, Burakov, Anatoly wrote:
> Hi Rahul,
>
> > However, unsigned long seems to be working fine for all builds.
>
> unsigned long it is then, if there aren't any other objections.
>
> Thanks,
> Anatoly
Hi Alejandro,
Are you planning to update the original
fix 32-bit compilation:
http://dpdk.org/ml/archives/dev/2015-July/020963.html
Fixes: 90a1633b2347 ("eal/linux: allow to map BARs with MSI-X tables")
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- Use unsigned long instead and updated the commit log.
v2:
- For
Fix spelling and grammar errors. Re-organize sections for better explanation
in the documentation. Add a section describing compilation of CXGBE with DPDK.
Add a note describing that CXGBE currently only supports binding to PF4.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
Hi All,
It seems that on FreeBSD, nic_uio currently only binds the devices matched in
rte_pci_dev_ids.h. On Linux, it's possible to bind any listed device with
igb_uio or vfio.
The pci device ids supported by cxgbe PMD, maintained in a table, are not part
of rte_pci_dev_ids.h. Hence, Chelsio
updates
cxgbe documentation to reflect the FreeBSD support for CXGBE PMD.
Rahul Lakkireddy (3):
nic_uio: Fix to allow any device to be bound to nic_uio
cxgbe: Enable and fix FreeBSD compilation for CXGBE PMD
doc: Update documentation to reflect FreeBSD support for CXGBE PMD
config
-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 46 +
1 file changed, 12 insertions(+), 34 deletions(-)
diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
index 2354e84
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD
by adding CXGBE prefix to them. Also remove reference to a linux header
linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for
FreeBSD.
Signed-off-by: Rahul Lakkireddy
in Linux in order for the new
firmware to be loaded.
5. Typo fixes.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
doc/guides/nics/cxgbe.rst | 280 +++---
1 file changed, 267 insertions(+), 13 deletions(-)
diff --git a/doc/guides/nics
updates
cxgbe documentation to reflect the FreeBSD support for CXGBE PMD.
v2:
- Replace "Intel(R) DPDK" with just "DPDK" in device description for nic_uio.
Rahul Lakkireddy (3):
nic_uio: Fix to allow any device to be bound to nic_uio
cxgbe: Enable and fix FreeBSD compilation
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD
by adding CXGBE prefix to them. Also remove reference to a linux header
linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for
FreeBSD.
Signed-off-by: Rahul Lakkireddy
in Linux in order for the new
firmware to be loaded.
5. Typo fixes.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- No changes.
doc/guides/nics/cxgbe.rst | 280 +++---
1 file changed, 267 insertions(+), 13 deletions(-)
diff --git
Hi David,
On Mon, Jul 20, 2015 at 09:43:57 +0200, David Marchand wrote:
>Hum, what bothers me is that you do not rely on the same criteria to
>re-attach the devices to nic_uio.
>See below.
>
> ?lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 48
> +
updates
cxgbe documentation to reflect the FreeBSD support for CXGBE PMD.
v3:
- Use checks for bus, slot, and function info instead of vendor and device
during nic_uio probe for better consistency.
v2:
- Replace "Intel(R) DPDK" with just "DPDK" in device description for nic_ui
-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- Use checks for bus, slot, and function info instead of vendor and device
during nic_uio probe for better consistency.
v2:
- Replace "Intel(R) DPDK" with just "DPDK" in device description for nic_uio.
lib/librt
Fix "MACRO redefined" and "function redefined" compilation errors in FreeBSD
by adding CXGBE prefix to them. Also remove reference to a linux header
linux/if_ether.h and use DPDK macros directly. Finally, enable CXGBE PMD for
FreeBSD.
Signed-off-by: Rahul Lakkireddy
in Linux in order for the new
firmware to be loaded.
5. Typo fixes.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes.
v2:
- No changes.
doc/guides/nics/cxgbe.rst | 280 +++---
1 file changed, 267 insertions(+), 13
returned by link update eth_dev operation.
- Few bug fixes and code cleanup.
Rahul Lakkireddy (11):
cxgbe: add hardware specific api for all supported Chelsio T5 series
adapters.
cxgbe: add cxgbe poll mode driver.
cxgbe: add device configuration and RX support for cxgbe PMD.
cxgbe: add TX
Adds cxgbe poll mode driver for DPDK under drivers/net/cxgbe directory. This
patch:
1. Adds the Makefile to compile cxgbe pmd.
2. Registers and initializes the cxgbe pmd driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- Move files to new directory under drivers/net
Adds RX support for the cxgbe poll mode driver. This patch:
1. Adds rx queue related eth_dev_ops.
2. Adds RSS support.
3. Adds dev_configure() and dev_infos_get() eth_dev_ops.
4. Adds rx_pkt_burst for receiving packets.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2
Adds dev_start(), dev_stop(), and dev_close() eth_dev_ops for cxgbe poll
mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Few changes related to tx bug fixes.
drivers/net/cxgbe/cxgbe.h| 4
Adds stats_get() and stats_reset() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe.h| 2 +
drivers/net/cxgbe/cxgbe_ethdev.c | 83
Adds link update, promiscuous and multicast related eth_dev_ops for cxgbe poll
mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Update cxgbe_dev_link_update() to return correct value.
drivers/net/cxgbe
Adds TX support for the cxgbe poll mode driver. This patch:
1. Adds tx queue related eth_dev_ops.
2. Adds tx_pkt_burst for transmitting packets.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Few bug fixes for tx
Adds flow control related eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe_ethdev.c | 54
1 file changed, 54
Adds hardware specific api for all the Chelsio T5 adapters under
drivers/net/cxgbe/base directory.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- Move files to new directory under drivers/net/cxgbe/base and update commit
log.
- Few bug fixes related to tx.
drivers
Adds cxgbe poll mode driver documentation under the usual doc/guides/nics/
directory with the rest of the drivers. The documentation covers cxgbe
implementation details, features and limitations, prerequisites, configuration,
and a sample application usage.
Signed-off-by: Rahul Lakkireddy
Changes to:
1. config/common_linuxapp to add macros for cxgbe pmd.
2. drivers/net/Makefile to add cxgbe pmd to the compile list.
3. mk/rte.app.mk to add cxgbe pmd to link.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- Move changes from lib/Makefile to drivers/net
Update MAINTAINERS file to claim responsibility for the cxgbe PMD.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- Replace the old cxgbe directory entry with the new entry and order it
alphabetically.
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git
>
> Please merge also the maintainer infos.
>
Will merge build config and maintainers with the Makefile patch
> 2015-06-01 23:00, Rahul Lakkireddy:
> > +#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
>
> RTE_DIM may be used
Will fix this in v3.
Thanks,
Rahul
Adds hardware specific api for all the Chelsio T5 adapters under
drivers/net/cxgbe/base directory.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes
v2:
- Move files to new directory under drivers/net/cxgbe/base and update commit
log.
- Few bug fixes related
. drivers/net/Makefile to add cxgbe pmd to the compile list.
3. mk/rte.app.mk to add cxgbe pmd to link.
Update MAINTAINERS file to claim responsibility for the cxgbe PMD.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- Merge patches 10 and 11 with this patch to enable
Adds RX support for the cxgbe poll mode driver. This patch:
1. Adds rx queue related eth_dev_ops.
2. Adds RSS support.
3. Adds dev_configure() and dev_infos_get() eth_dev_ops.
4. Adds rx_pkt_burst for receiving packets.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3
Adds dev_start(), dev_stop(), and dev_close() eth_dev_ops for cxgbe poll
mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Few changes related to tx bug fixes.
drivers/net/cxgbe/cxgbe.h
Adds link update, promiscuous and multicast related eth_dev_ops for cxgbe poll
mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Update cxgbe_dev_link_update() to return correct value
Adds stats_get() and stats_reset() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe.h| 2 +
drivers/net/cxgbe/cxgbe_ethdev.c
Adds cxgbe poll mode driver documentation under the usual doc/guides/nics/
directory with the rest of the drivers. The documentation covers cxgbe
implementation details, features and limitations, prerequisites, configuration,
and a sample application usage.
Signed-off-by: Rahul Lakkireddy
Adds flow control related eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe_ethdev.c | 54
1
Hi Thomas,
On Wed, Jun 17, 2015 at 14:09:35 +0200, Thomas Monjalon wrote:
> Hi Rahul,
>
> 2015-06-16 19:46, Rahul Lakkireddy:
> > After the commit-id 90a1633b2 (eal/linux: allow to map BARs with MSI-X
> > tables),
>
> Please show this information before the S
Hi Thomas,
On Monday, November 11/30/15, 2015 at 05:43:18 -0800, Thomas Monjalon wrote:
> Hi,
>
> 2015-11-30 18:19, Rahul Lakkireddy:
> > 1. Add a new action 'switch' that will:
> >* Allow re-direction to different ports in hardware.
> >
> >Also, for
.name = "rte_cxgbe_pmd",
> .id_table = cxgb4_pci_tbl,
> .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,
> --
> 2.1.4
>
Acked-by: Rahul Lakkireddy
are not affected.
Posting this series mainly for discussion on API change. Once this is
agreeable then, I will post the cxgbe PMD changes to use the new API.
Rahul Lakkireddy (3):
ethdev: add packet filter flow and new behavior switch to fdir
testpmd: add an example to show packet filter flow
doc
for port, mac, vlan, and nat.
Ex: allows to provide 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
---
lib/librte_ether/rte_eth_ctrl.h | 112 +++-
1
Extend the existing flow_director_filter to add support for packet
filter flow. Also shows how to pass the extra behavior arguments
to rewrite fields in matched filter rules.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
app/test-pmd/cmdline.c | 435
Current filtering support will be enhanced to accommodate support
for Chelsio T5 hardware filtering support.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
doc/guides/rel_notes/deprecation.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/rel_notes
Hi Andrey,
On Thursday, December 12/10/15, 2015 at 07:46:42 -0800, Chilikin, Andrey wrote:
> Hi Rahul,
>
> If ABI for fdir is going to be changed should we then take more general
> approach to accommodate other NICs as well? For example, for
> "rte_eth_ipv4_flow" you have "tos" and "proto"
check for freelist existence.
Thanks to John McNamara for reporting it.
Coverity issue: 107108
Fixes: 92c8a63223e5 ("cxgbe: add device configuration and Rx support")
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/sge.c | 2 +-
1 file changed, 1
/15, 2015 at 19:31:04 +0530, Rahul Lakkireddy wrote:
> Current filtering support will be enhanced to accommodate support
> for Chelsio T5 hardware filtering support.
>
> Signed-off-by: Rahul Lakkireddy
> Signed-off-by: Kumar Sanghvi
> ---
> doc/guides/rel_notes/deprecatio
Hi Thomas,
On Tuesday, December 12/15/15, 2015 at 00:55:20 -0800, Thomas Monjalon wrote:
> 2015-12-15 14:10, Rahul Lakkireddy:
> > Hi Thomas,
> >
> > I am preparing a v2 of this series where I will be accomodating some
> > more fields to be considered for filteri
Current filtering support will be enhanced to accommodate support
for Chelsio T5 hardware filtering support.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
doc/guides/rel_notes/deprecation.rst | 8
1 file changed, 8 insertions(+)
diff --git a/doc/guides/rel_notes
the above new changes.
6. Dropped Patch 3 since the ABI announcement has already been merged.
Rahul Lakkireddy (2):
ethdev: add packet filter flow and new behavior switch to fdir
testpmd: add an example to show packet filter flow
app/test-pmd/cmdline.c | 528
.
Ex: allows to provide 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
---
v2:
1. Added ttl to rte_eth_ipv4_flow and tc, flow_label, next_header,
and hop_limit to rte_eth_ipv6_flow
Extend the existing flow_director_filter to add support for packet
filter flow. Also shows how to pass the extra behavior arguments
to rewrite fields in matched filter rules.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
1. Added new field filter-type to allow specifying
allow to map BARs with MSI-X tables")
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v2:
- For fixing 32-bit build failure, rather than converting uint32_t var to
uint64_t
as done in v1, taking a different approach instead to revert a part of above
commit-id so as to use th
On Sun, Jun 28, 2015 at 21:34:28 +0200, Thomas Monjalon wrote:
> 2015-06-18 17:47, Rahul Lakkireddy:
> > Adds RX support for the cxgbe poll mode driver. This patch:
> >
> > 1. Adds rx queue related eth_dev_ops.
> > 2. Adds RSS support.
> > 3. Adds dev_configure(
Hi Thomas,
On Sun, Jun 28, 2015 at 21:32:32 +0200, Thomas Monjalon wrote:
> 2015-06-18 17:47, Rahul Lakkireddy:
> > +Chelsio cxgbe
> > +M: Rahul Lakkireddy
> > +F: drivers/net/cxgbe/
> > +F: doc/guides/nics/cxgbe.rst
>
> Just a detail: the doc file is added in
the return value returned by link update eth_dev operation.
- Few bug fixes and code cleanup.
Rahul Lakkireddy (9):
cxgbe: add hardware specific api for all supported Chelsio T5 series
adapters.
cxgbe: add cxgbe poll mode driver.
cxgbe: add device configuration and RX support for cxgbe PMD
Adds hardware specific api for all the Chelsio T5 adapters under
drivers/net/cxgbe/base directory.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- No changes
v3:
- No changes
v2:
- Move files to new directory under drivers/net/cxgbe/base and update commit
log.
- Few
. drivers/net/Makefile to add cxgbe pmd to the compile list.
3. mk/rte.app.mk to add cxgbe pmd to link.
Update MAINTAINERS file to claim responsibility for the cxgbe PMD.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- Moved cxgbe doc entry in MAINTAINERS from patch 2
Adds RX support for the cxgbe poll mode driver. This patch:
1. Adds rx queue related eth_dev_ops.
2. Adds RSS support.
3. Adds dev_configure() and dev_infos_get() eth_dev_ops.
4. Adds rx_pkt_burst for receiving packets.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4
Adds TX support for the cxgbe poll mode driver. This patch:
1. Adds tx queue related eth_dev_ops.
2. Adds tx_pkt_burst for transmitting packets.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- Remove unused code to fix clang compilation.
v3:
- No changes.
v2
Adds stats_get() and stats_reset() eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- No changes.
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe.h| 2 +
drivers/net
Adds link update, promiscuous and multicast related eth_dev_ops for cxgbe poll
mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- No changes.
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
- Update cxgbe_dev_link_update
Adds flow control related eth_dev_ops for cxgbe poll mode driver.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
v4:
- No changes.
v3:
- No changes.
v2:
- This patch is a subset of patch 2/5 submitted in v1.
drivers/net/cxgbe/cxgbe_ethdev.c | 54
Adds cxgbe poll mode driver documentation under the usual doc/guides/nics/
directory with the rest of the drivers. The documentation covers cxgbe
implementation details, features and limitations, prerequisites, configuration,
and a sample application usage.
Signed-off-by: Rahul Lakkireddy
On Tue, Jun 30, 2015 at 23:01:39 +0200, Thomas Monjalon wrote:
> 2015-06-30 04:58, Rahul Lakkireddy:
> > This series of patches add the CXGBE Poll Mode Driver support for Chelsio
> > Terminator 5 series of 10G/40G adapters. The CXGBE PMD is split into
> > multiple
> >
Hi Alejandro,
On Mon, Jul 06, 2015 at 16:45:01 +0100, Alejandro Lucero wrote:
> Hi all,
>
> From the kernel VFIO maintainer:
>
> "I suppose in the short term, mmap should not be advertised as available
> on 32bit hosts. Thanks,"
>
> So, as VFIO support for 32bit systems is broken, DPDK should
T5 devices.
Rahul Lakkireddy (3):
cxgbe: Fix RX performance for cxgbe PMD.
cxgbe: Add more supported Chelsio T5 devices.
doc: Update cxgbe documentation
doc/guides/nics/cxgbe.rst | 84 ++-
drivers/net/cxgbe/base/adapter.h| 2 +
drivers/net/cxgbe/base
CXGBE PMD rx allocates a new mbuf everytime, which could lead to performance
hit. Instead, do bulk allocation of mbufs and re-use them.
Also, simplify the overall rx-handler, and update its logic to fix rx perf.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net
Update pci id table to include more supported Chelsio T5 devices.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/t4_pci_id_tbl.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/cxgbe/base/t4_pci_id_tbl.h
b/drivers/net/cxgbe/base
Update cxgbe documentation with the following:
1. Add instructions on how to flash firmware and config file on Chelsio T5
devices.
2. Add a list of supported devices.
3. Add instructions on how to enable and disable flow control via testpmd.
Signed-off-by: Rahul Lakkireddy
Signed-off
Hi Thomas,
On Tue, Jul 07, 2015 at 23:30:38 +0200, Thomas Monjalon wrote:
> 2015-07-07 22:42, Rahul Lakkireddy:
> > CXGBE PMD rx allocates a new mbuf everytime, which could lead to performance
> > hit. Instead, do bulk allocation of mbufs and re-use them.
> >
> > Al
On Monday, July 07/25/16, 2016 at 09:40:02 -0700, John Fastabend wrote:
> On 16-07-25 04:32 AM, Rahul Lakkireddy wrote:
> > Hi Adrien,
> >
> > On Thursday, July 07/21/16, 2016 at 19:07:38 +0200, Adrien Mazarguil wrote:
> >> Hi Rahul,
> >>
> >>
Hi Thomas,
On Thursday, July 07/28/16, 2016 at 01:29:20 -0700, Thomas Monjalon wrote:
> Hi Rahul,
>
> We still have this deprecation notice:
>
> * ABI changes are planned for adding four new flow types. This impacts
> RTE_ETH_FLOW_MAX. The release 2.2 does not contain these ABI changes,
>
Remove deprecation notice pertaining to introduction of new flow
types in favor of a more generic filtering infrastructure proposal.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
doc/guides/rel_notes/deprecation.rst | 4
1 file changed, 4 deletions(-)
diff --git a/doc
Hi Bruce,
On Tuesday, May 05/31/16, 2016 at 09:20:13 -0700, Bruce Richardson wrote:
> On Fri, May 06, 2016 at 01:13:15PM +0530, Rahul Lakkireddy wrote:
> > PCIOCREAD and PCIOCWRITE ioctls to read/write PCI config space fail
> > with EPERM due to missing write permission. Fix by o
Hi Thomas,
On Tuesday, October 10/20/15, 2015 at 09:51:07 -0700, Thomas Monjalon wrote:
> 2015-10-08 19:16, Rahul Lakkireddy:
> > This series of patches improve forwarding performance for Chelsio T5 40GbE
> > cards and add Jumbo Frame support for cxgbe pmd. Also updat
Hi Bernard,
On Monday, September 09/28/15, 2015 at 14:03:34 +0100, Bernard Iremonger wrote:
> Signed-off-by: Bernard Iremonger
> ---
> drivers/net/cxgbe/cxgbe_ethdev.c | 5 +
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c
>
.
More information on the CXGBE PMD can be found in the documentation added by
the third patch. Also, the CXGBE PMD is enabled for compilation and linking
by the fourth patch. Finally, update MAINTAINERS file to claim responsibility
for the CXGBE PMD.
Rahul Lakkireddy (5):
cxgbe: add hardware
Adds hardware specific api for all the Chelsio T5 adapters under
lib/librte_pmd_cxgbe/cxgbe directory.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
lib/librte_pmd_cxgbe/cxgbe/adapter.h| 560 ++
lib/librte_pmd_cxgbe/cxgbe/common.h | 401
lib
Adds cxgbe poll mode driver for DPDK under lib/librte_pmd_cxgbe directory. This
patch:
1. Adds the Makefile to compile cxgbe pmd.
2. Registers and initializes the cxgbe pmd driver.
3. Implements the necessary eth_dev_ops.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
lib
Adds cxgbe poll mode driver documentation under the usual doc/guides/nics/
directory with the rest of the drivers. The documentation covers cxgbe
implementation details, features and limitations, prerequisites, configuration,
and a sample application usage.
Signed-off-by: Rahul Lakkireddy
Changes to:
1. config/common_linuxapp to add macros for cxgbe pmd.
2. lib/Makefile to add cxgbe pmd to the compile list.
3. mk/rte.app.mk to add cxgbe pmd to link.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
config/common_linuxapp | 10 ++
lib/Makefile
Update MAINTAINERS file to claim responsibility for the cxgbe PMD.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
MAINTAINERS |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0477e7d..37b7472 100644
--- a/MAINTAINERS
On Fri, May 22, 2015 at 09:43:20 -0700, Stephen Hemminger wrote:
> On Fri, 22 May 2015 18:54:20 +0530
> Rahul Lakkireddy wrote:
>
> > +/**
> > + * fls - find last (most-significant) bit set
> > + * @x: the word to search
> > + *
> > + * This is defined
On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote:
> On Fri, 22 May 2015 18:54:20 +0530
> Rahul Lakkireddy wrote:
>
> > +#define pr_err(y, args...) dev_err(0, y, ##args)
> > +#define pr_warn(y, args...) dev_warn(0, y, ##args)
> > +#define pr_info(y, arg
On Sat, May 23, 2015 at 11:27:56 +0530, Rahul Lakkireddy wrote:
> On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote:
> > On Fri, 22 May 2015 18:54:20 +0530
> > Rahul Lakkireddy wrote:
> >
> > > +#define pr_err(y, args...) dev_err(0, y, ##args)
On Tue, May 26, 2015 at 10:24:37 -0700, Stephen Hemminger wrote:
> On Tue, 26 May 2015 22:32:07 +0530
> Rahul Lakkireddy wrote:
>
> > On Sat, May 23, 2015 at 11:27:56 +0530, Rahul Lakkireddy wrote:
> > > On Fri, May 22, 2015 at 09:42:50 -0700, Stephen Hemminger wrote:
>
On Wed, May 27, 2015 at 07:38:50 +0200, Thomas Monjalon wrote:
> 2015-05-22 18:54, Rahul Lakkireddy:
> > Adds cxgbe poll mode driver documentation under the usual doc/guides/nics/
> > directory with the rest of the drivers. The documentation covers cxgbe
> > implementat
On Tue, May 26, 2015 at 22:49:08 -0700, Thomas Monjalon wrote:
> 2015-05-23 11:23, Rahul Lakkireddy:
> > We need to rebase anyway since PMDs now seem to have moved to
> > drivers/net directory.
>
> Yes. And the subdirectory should probably be renamed base/.
Yes, we will do
Add a sanity check for number of tx descriptors requested during tx
queue setup. Return -EINVAL if the number requested does not meet
the tx descriptor requirements of the device.
Fixes: 80a1deb4c77a ("ethdev: add API to retrieve queue information")
Signed-off-by: Rahul Lakkireddy
.
Patch 2 replaces spinning for a lock with a better trylock in
tx alarm callback.
Rahul Lakkireddy (2):
cxgbe: fix queue setup failure due to strict min desc requirement
cxgbe: fix unnecessary spinning for a lock with trylock instead
drivers/net/cxgbe/base/adapter.h | 9 +
drivers/net
is to relax this enforcing in CXGBE PMD. A minimum of 128
descriptors seems to be a good number with the least impact on the
performance.
Fixes: 946c9ed95616 ("cxgbe: get descriptor limits")
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/cxgbe.h | 2
CXGBE PMD depends on an alarm to periodically transmit any pending
coalesced packets and hence spins for a lock for each tx queue in the
alarm callback.
A better solution is to try to get a lock whenever possible, instead
of spinning for it.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar
bel: Intel Niantic on Fedora
> Test-Status: ERROR
> Patchwork: http://www.dpdk.org/dev/patchwork/patch/9018/
>
> DPDK git baseline: e64833f2273ac67becbca10d9f2f1598872dc99e
> Patchwork ID: 9018
> http://www.dpdk.org/dev/patchwork/patch/9018/
> Submitter: Rahul Lakkireddy
> Date
Hi,
We are working towards adding h/w based filtering support in cxgbe PMD.
Chelsio T5 supports carrying out filtering in hardware which supports 3
actions to carry out on a packet which hit a filter viz.
1. Action Pass - Packets hitting a filter rule can be directed to a
particular RXQ.
2.
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.
Rahul Lakkireddy (6):
cxgbe: Optimize forwarding performance for 40G
cxgbe: Update device info and perform sanity checks
.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/t4_regs.h | 16
drivers/net/cxgbe/cxgbe_main.c | 7 +++
drivers/net/cxgbe/sge.c | 17 -
3 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/drivers
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
---
drivers/net/cxgbe/cxgbe.h| 3 +++
drivers/net/cxgbe
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
---
drivers/net/cxgbe/sge.c
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
---
drivers/net/cxgbe/sge.c | 58
1 - 100 of 157 matches
Mail list logo