Re: Unable to establish rdma connection, breaks rdma basic functionality

2016-01-06 Thread Hariprasad Shenai
On Wed, Jan 06, 2016 at 12:33:09 +0200, Matan Barak wrote: > On Wed, Jan 6, 2016 at 6:43 AM, Hariprasad S wrote: > > > > Hi Doug, > > > > I am trying to rping server, but it fails when bound to any address other > > then IF_ANY. > > # rping -s -a 102.1.1.129 -C1 -p

[PATCH for-next] iw_cxgb3: Ignore positive return values from the ofld send functions

2015-12-11 Thread Hariprasad Shenai
The cxgb3_*_send() functions return NET_XMIT_ values, which are positive integers values. So don't treat positive return values as an error. Signed-off-by: Steve Wise <sw...@opengridcomputing.com> Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxg

[PATCH for-next] iw_cxgb4: Pass qid range to user space driver

2015-12-10 Thread Hariprasad Shenai
Enhances the t4_dev_status_page to pass the qid start and size attributes from iw_cxgb4 to libcxgb4. Bump the ABI Version to 3 -> To allow libcxgb4 to detect old drivers and revert to the old way of computing the qid ranges. Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> S

[PATCH for-next 2/2] iw_cxgb4: Adds support for T6 adapter

2015-09-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 317 - drivers/infiniband/hw/cxgb4/device.c | 10 +- drivers/infiniband/hw/cxgb4/provider.c | 2 +- drivers/infiniband/hw/cxgb4/qp.c | 16 +- d

[PATCH for-next 0/2] RDMA/cxgb4: Add iWARP support for T6 adapter

2015-09-23 Thread Hariprasad Shenai
included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (2): cxgb4: T6 adapter lld support for iw_cxgb4 driver iw_cxgb4: Adds support for T6 adapter drivers/infiniband/hw/cxgb4/cm.c

[PATCH for-next 1/2] cxgb4: T6 adapter lld support for iw_cxgb4 driver

2015-09-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 41 +-- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 22 ++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h| 2 + drivers/net/ethernet/chelsio

[PATCH for-next 5/5] iw_cxgb4: set the default MPA version to 2

2015-09-07 Thread Hariprasad Shenai
This enables ORD/IRD negotiation and its about time to enable it by default Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infi

[PATCH for-next 3/5] iw_cxgb4: fix misuse of ep->ord for minimum ird calculation

2015-09-07 Thread Hariprasad Shenai
ate these values. Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index a26d293..06d208c 100644 ---

[PATCH for-next 1/5] iw_cxgb4: detect fatal errors while creating listening filters

2015-09-07 Thread Hariprasad Shenai
In c4iw_create_listen(), if we're using listen filters, then bail out of the busy loop if the device becomes fatally dead Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/infinib

[PATCH for-next 0/5] set MPA revision to 2 and misc. fixes for iw_cxgb4

2015-09-07 Thread Hariprasad Shenai
MPA version to 2. This patch series has been created against Doug's linux tree and includes patches on iw_cxgb4 driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (5): iw_cxgb4

[PATCH for-next 4/5] iw_cxgb4: reverse the ord/ird in the ESTABLISHED upcall

2015-09-07 Thread Hariprasad Shenai
The ESTABLISHED event should have the peer's ord/ird so swap the values in the event before the upcall. Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infinib

[PATCH for-next 2/5] iw_cxgb4: pass the ord/ird in connect reply events

2015-09-07 Thread Hariprasad Shenai
This allows client ULPs to get the negotiated ord/ird which is useful to avoid stalling the SQ due to exceeding the ORD. Signed-off-by: Hariprasad Shenai <haripra...@chelsio.com> --- drivers/infiniband/hw/cxgb4/cm.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/infinib

[PATCH for-4.3] iw_cxgb4: Add support for clip

2015-08-25 Thread Hariprasad Shenai
Add support for ipv6 address handling clip api provided by lld Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 76 +--- 1 file changed, 72 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4

[PATCH for-4.2] iw_cxgb4: gracefully handle unknown CQE status errors

2015-07-26 Thread Hariprasad Shenai
c4iw_poll_cq_on() shouldn't fail the poll operation just because the CQE status is unknown. Rather, it should map this to the fatal error status and log the anomaly. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers

[PATCH for-4.2] iw_cxgb4: set the default MPA version to 2

2015-07-26 Thread Hariprasad Shenai
This enables ORD/IRD negotiation and its about time to enable it by default Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH for-4.1 1/2] cxgb4: Support for user mode bar2 mappings with T4

2015-06-09 Thread Hariprasad Shenai
Enhance cxgb4_t4_bar2_sge_qregs() and cxgb4_bar2_sge_qregs() to support T4 user mode mappings. Update all the current users as well. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h

[PATCH for-4.1 2/2] iw_cxgb4: support for bar2 qid densities exceeding the page size

2015-06-09 Thread Hariprasad Shenai
...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c | 22 ++-- drivers/infiniband/hw/cxgb4/device.c | 16 +++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 5 +-- drivers/infiniband/hw/cxgb4/qp.c | 64

[PATCH for-4.1 0/2] Adds support for user mode bar2 mapping and bar2 qid density

2015-06-09 Thread Hariprasad Shenai
the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (2): cxgb4: Support for user mode bar2 mappings with T4 iw_cxgb4: support for bar2 qid densities exceeding the page size drivers/infiniband/hw/cxgb4/cq.c

[PATCH for-4.1] iw_cxgb4: Fix kbuild bot reported warnings

2015-04-28 Thread Hariprasad Shenai
Commit 20dca80f (iw_cxgb4: 32b platform fixes) introduced warnings related to inappropriate argument type while printing arguments Reported by: Dan Carpenter dan.carpen...@oracle.com Reported by: kbuild test robot fengguang...@intel.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com

[PATCHv2 for-4.1 0/4] Misc. fixes and cleanup for iw_cxgb4

2015-04-21 Thread Hariprasad Shenai
driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks V2: Use uintptr_t instead of unsigned long, based on review comment by Doug Ledford Hariprasad Shenai (4): iw_cxgb4: Cleanup register defines

[PATCHv2 for-4.1 3/4] iw_cxgb4: use BAR2 GTS register for T5 kernel mode CQs

2015-04-21 Thread Hariprasad Shenai
For T5, we must not use the kdb/kgts registers, in order avoid db drops under extreme loads. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c | 15 +++ drivers/infiniband/hw/cxgb4/t4.h

[PATCHv2 for-4.1 1/4] iw_cxgb4: Cleanup register defines/MACROS

2015-04-21 Thread Hariprasad Shenai
Cleanup macros and register defines for consistency Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 4 ++-- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCHv2 for-4.1 4/4] iw_cxgb4: enforce qp/cq id requirements

2015-04-21 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 33bd1ac..3f782f9 100644 --- a/drivers/infiniband/hw

[PATCHv2 for-4.1 2/4] iw_cxgb4: 32b platform fixes

2015-04-21 Thread Hariprasad Shenai
...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 2 +- drivers/infiniband/hw/cxgb4/cq.c | 6 +++--- drivers/infiniband/hw/cxgb4/device.c | 6 +++--- drivers/infiniband/hw/cxgb4/mem.c| 10 +- drivers

[PATCH for-4.1 2/4] iw_cxgb4: 32b platform fixes

2015-04-17 Thread Hariprasad Shenai
...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 2 +- drivers/infiniband/hw/cxgb4/cq.c | 6 +++--- drivers/infiniband/hw/cxgb4/device.c | 6 +++--- drivers/infiniband/hw/cxgb4/mem.c| 10 +- drivers

[PATCH for-4.1 3/4] iw_cxgb4: use BAR2 GTS register for T5 kernel mode CQs

2015-04-17 Thread Hariprasad Shenai
For T5, we must not use the kdb/kgts registers, in order avoid db drops under extreme loads. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c | 15 +++ drivers/infiniband/hw/cxgb4/t4.h

[PATCH for-4.1 4/4] iw_cxgb4: enforce qp/cq id requirements

2015-04-17 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 5f7bb78..f36aa21 100644 --- a/drivers/infiniband/hw

[PATCH for-4.1 0/4] Misc. fixes and cleanup for iw_cxgb4

2015-04-17 Thread Hariprasad Shenai
driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (4): iw_cxgb4: Cleanup register defines/MACROS iw_cxgb4: 32b platform fixes iw_cxgb4: use BAR2 GTS register for T5 kernel mode

[PATCH for-4.1 1/4] iw_cxgb4: Cleanup register defines/MACROS

2015-04-17 Thread Hariprasad Shenai
Cleanup macros and register defines for consistency Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 4 ++-- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH for-next 2/4] iw_cxgb4: 32b platform fixes

2015-03-19 Thread Hariprasad Shenai
...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |2 +- drivers/infiniband/hw/cxgb4/cq.c |6 +++--- drivers/infiniband/hw/cxgb4/device.c |6 +++--- drivers/infiniband/hw/cxgb4/mem.c| 10 +- drivers

[PATCH for-next 1/4] iw_cxgb4: Cleanup register defines/MACROS

2015-03-19 Thread Hariprasad Shenai
Cleanup macros and register defines for consistency Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |4 ++-- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h |4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers

[PATCH for-next 3/4] iw_cxgb4: use BAR2 GTS register for T5 kernel mode CQs

2015-03-19 Thread Hariprasad Shenai
For T5, we must not use the kdb/kgts registers, in order avoid db drops under extreme loads. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c | 15 +++ drivers/infiniband/hw/cxgb4/t4.h

[PATCH for-next 0/4] Misc. fixes and cleanup for iw_cxgb4

2015-03-19 Thread Hariprasad Shenai
on iw_cxgb4 driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (4): iw_cxgb4: Cleanup register defines/MACROS iw_cxgb4: 32b platform fixes iw_cxgb4: use BAR2 GTS register for T5

[PATCH for-next 4/4] iw_cxgb4: enforce qp/cq id requirements

2015-03-19 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c | 23 +++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 3fbd53d..ecb8ff2 100644

[PATCH for-next] iw_cxgb4: Remove negative advice dmesg warnings

2015-03-10 Thread Hariprasad Shenai
Remove these log messages in favor of per-endpoint counters as well as device-global counters that can be inspected via debugfs. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 27

[PATCH for-next 2/2] iw_cxgb4: Cleanup register defines/MACROS defined in t4fw_ri_api.h

2015-01-15 Thread Hariprasad Shenai
Cleanup all the MACROS that are defined in t4fw_ri_api.h and affected files Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 30 +- drivers/infiniband/hw/cxgb4/cq.c | 22 +- drivers/infiniband/hw/cxgb4/device.c | 12

[PATCH for-next 0/2] Refactor macros to conform to uniform standards

2015-01-15 Thread Hariprasad Shenai
this series merged through net-next tree. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (2): iw_cxgb4: Cleanup register defines/MACROS defined in t4.h iw_cxgb4: Cleanup register defines

[PATCH for-next 1/2] iw_cxgb4: Cleanup register defines/MACROS defined in t4.h

2015-01-15 Thread Hariprasad Shenai
Cleanup all the MACROS defined in t4.h and the affected files Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c | 38 drivers/infiniband/hw/cxgb4/qp.c |2 +- drivers/infiniband/hw/cxgb4/t4.h | 90

[PATCH net-next 2/5] cxgb4/cxgb4vf/csiostor: Cleanup SGE and PCI related register defines

2015-01-05 Thread Hariprasad Shenai
This patch cleansup remaining SGE related macros/register defines and all PCI related ones that are defined in t4_regs.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 68 ++-- drivers/net/ethernet

[PATCH net-next 5/5] cxgb4/cxgb4vf/csiostor: Cleanup PL, XGMAC, SF and MC related register defines

2015-01-05 Thread Hariprasad Shenai
This patch cleanups all PL, XGMAC and SF related macros/register defines that are defined in t4_regs.h and the affected files Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 56 +- drivers/net/ethernet/chelsio/cxgb4/l2t.c

[PATCH net-next 3/5] cxgb4/cxg4vf/csiostor: Cleanup MC, MA and CIM related register defines

2015-01-05 Thread Hariprasad Shenai
This patch cleanups all MC, MA and CIM related macros/register defines that are defined in t4_regs.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 206 +- drivers/net/ethernet/chelsio/cxgb4

[PATCH net-next 0/5] RDMA/cxgb4/cxgb4vf/csiostor: Cleanup register defines

2015-01-05 Thread Hariprasad Shenai
. The patches series is created against 'net-next' tree. And includes patches on cxgb4, cxgb4vf, iw_cxgb4 and csiostor driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (5): RDMA

[PATCH net-next 1/5] RDMA/cxgb4/cxgb4vf/csiostor: Cleanup SGE register defines

2015-01-05 Thread Hariprasad Shenai
This patch cleanups all SGE related macros/register defines that are defined in t4_regs.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/t4.h | 26 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 76

[PATCH net-next 4/5] cxgb4/csiostor: Cleanup TP, MPS and TCAM related register defines

2015-01-05 Thread Hariprasad Shenai
This patch cleanups all TP, MPS and TCAM related macros/register defines that are defined in t4_regs.h and the affected files Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 70 ++-- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

[PATCH net-next 1/5] RDMA/cxgb4: Cleanup Filter related macros/register defines

2014-11-20 Thread Hariprasad Shenai
This patch cleanups all filter related macros/register defines that are defined in t4fw_api.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c| 14 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 68

[PATCH net-next 2/5] RDMA/cxgb4/csiostor: Cleansup FW related macros/register defines for PF/VF and LDST

2014-11-20 Thread Hariprasad Shenai
This patch cleanups PF/VF and LDST related macros/register defines that are defined in t4fw_api.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |2 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

[PATCH net-next 0/5] RDMA/cxgb4,cxgb4vf,csiostor: Cleanup macros

2014-11-20 Thread Hariprasad Shenai
to be consistent. The patches series is created against 'net-next' tree. And includes patches on cxgb4, cxgb4vf, iw_cxgb4 and csiostor driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (5

[PATCH net-next 5/5] RDMA/cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to PCIE, RSS and FW

2014-11-20 Thread Hariprasad Shenai
This patch cleanups all PCIE, RSS FW related macros/register defines that are defined in t4fw_api.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/provider.c |8 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h

[PATCH net-next 3/5] cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to queues

2014-11-20 Thread Hariprasad Shenai
This patch cleanups all queue related macros/register defines that are defined in t4fw_api.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/sge.c | 115 ++-- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 32

[PATCH net-next 4/5] cxgb4/cxgb4vf/csiostor: Cleanup macros/register defines related to port and VI

2014-11-20 Thread Hariprasad Shenai
This patch cleanups all port and VI related macros/register defines that are defined in t4fw_api.h and the affected files. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c | 14 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h |4

[PATCH 2/2] rping: ignore flushed completions

2014-11-06 Thread Hariprasad Shenai
Based on original work by Steve Wise st...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- examples/rping.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/rping.c b/examples/rping.c index f0414de..58b642e 100644

[PATCH 1/2] rping: Fixes race, where ibv context was getting freed before memory was deregistered

2014-11-06 Thread Hariprasad Shenai
While running rping as a client without server on the other end, rping_test_client fails and the ibv context was getting freed before memory was deregistered. This patch fixes it. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- examples/rping.c |7 --- 1 files changed, 4

[PATCHv3 net-next 0/3] RDMA/cxgb4,cxgb4vf,cxgb4i,csiostor: Cleanup macros

2014-11-06 Thread Hariprasad Shenai
Miller's question Hariprasad Shenai (3): cxgb4: Add cxgb4_debugfs.c, move all debugfs code to new file cxgb4: Cleanup macros so they follow the same style and look consistent cxgb4: Cleanup macros so they follow the same style and look consistent, part 2 drivers/infiniband/hw/cxgb4/cm.c

[PATCHv3 net-next 1/3] cxgb4: Add cxgb4_debugfs.c, move all debugfs code to new file

2014-11-06 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/Makefile|1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 158 drivers/net/ethernet/chelsio/cxgb4

[PATCHv3 net-next 2/3] cxgb4: Cleanup macros so they follow the same style and look consistent

2014-11-06 Thread Hariprasad Shenai
macro/register define entries with different styles. This makes these register define/macro files a complete mess and we want to make them clean and consistent. This patch cleans up a part of it. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4

[PATCHv3 net-next 3/3] cxgb4: Cleanup macros so they follow the same style and look consistent, part 2

2014-11-06 Thread Hariprasad Shenai
duplicate macro/register define entries with different styles. This makes these register define/macro files a complete mess and we want to make them clean and consistent. This patch cleans up a part of it. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c

[PATCH 1/2] iw_cxgb4: Fixes locking issue in process_mpa_request

2014-11-06 Thread Hariprasad Shenai
] ret_from_fork+0x7c/0xb0 [81074930] ? __init_kthread_worker+0x70/0x70 === Based on original work by Steve Wise sw...@opengridcomputing.com Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra

[PATCH 0/2] iw_cxgb4: Fixes locking issue and MR limit for T4/T5 adapter

2014-11-06 Thread Hariprasad Shenai
in case of any review comments. Thanks Hariprasad Shenai (2): iw_cxgb4: Fixes locking issue in process_mpa_request iw_cxgb4: limit MRs to 8GB for T4/T5 devices drivers/infiniband/hw/cxgb4/cm.c |3 ++- drivers/infiniband/hw/cxgb4/mem.c | 22 ++ 2 files changed, 24

[PATCH 2/2] iw_cxgb4: limit MRs to 8GB for T4/T5 devices

2014-11-06 Thread Hariprasad Shenai
T4/T5 hardware can't handle MRs = 8GB due to a hardware bug. So limit registrations to 8GB for thse devices. Based on original work by Steve Wise sw...@opengridcomputing.com Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com

[PATCH net-next 2/3] cxgb4: Cleanup macros to match the HW generated one

2014-11-03 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 32 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 16 +++-- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c |6 +- drivers/net/ethernet/chelsio/cxgb4

[PATCH net-next 1/3] cxgb4: Add cxgb4_debugfs.c, move all debugfs code to new file

2014-11-03 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/Makefile|1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 158 drivers/net/ethernet/chelsio/cxgb4

[PATCH net-next 0/3] RDMA/cxgb4,cxgb4vf,cxgb4i,csiostor: Cleanup macros

2014-11-03 Thread Hariprasad Shenai
-next' tree. And includes patches on cxgb4, cxgb4vf, iw_cxgb4, csiostor and cxgb4i driver. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (3): cxgb4: Add cxgb4_debugfs.c, move all

[PATCH net-next 3/3] cxgb4: Cleanup macros to match the HW generated one, part 2

2014-11-03 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 56 drivers/infiniband/hw/cxgb4/cq.c |8 +- drivers/infiniband/hw/cxgb4/mem.c | 14 +- drivers/infiniband/hw/cxgb4/qp.c

[PATCHv2 net-next 0/3] RDMA/cxgb4,cxgb4vf,cxgb4i,csiostor: Cleanup macros

2014-11-03 Thread Hariprasad Shenai
review comments. Thanks V2: Changes the description and cover-letter content to answer David Miller's question Hariprasad Shenai (3): cxgb4: Add cxgb4_debugfs.c, move all debugfs code to new file cxgb4: Cleanup macros so they follow the same style and look consistent cxgb4: Cleanup macros

[PATCHv2 net-next 3/3] cxgb4: Cleanup macros so they follow the same style and look consistent, part 2

2014-11-03 Thread Hariprasad Shenai
-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 56 drivers/infiniband/hw/cxgb4/cq.c |8 +- drivers/infiniband/hw/cxgb4/mem.c | 14 +- drivers/infiniband/hw/cxgb4/qp.c

[PATCHv2 net-next 2/3] cxgb4: Cleanup macros so they follow the same style and look consistent

2014-11-03 Thread Hariprasad Shenai
-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 32 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 16 +++-- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c |6 +- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h

[PATCHv2 net-next 1/3] cxgb4: Add cxgb4_debugfs.c, move all debugfs code to new file

2014-11-03 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/Makefile|1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 158 drivers/net/ethernet/chelsio/cxgb4

[PATCH 0/3] Add missing neigh_release, fix ntuple calculation for IPv6

2014-09-23 Thread Hariprasad Shenai
. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (3): RDMA/cxgb4: Take IPv6 into account for best_mtu and set_emss RDMA/cxgb4: Add missing neigh_release in find_route RDMA/cxgb4

[PATCH 2/3] RDMA/cxgb4: Add missing neigh_release in find_route

2014-09-23 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 2ca9ec8..2ee9892 100644 --- a/drivers/infiniband/hw/cxgb4

[PATCH 0/5] Misc. fix for cxgb4 and iw_cxgb4

2014-07-21 Thread Hariprasad Shenai
. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (5): cxgb4: Add the MC1 registers to read in the interrupt handler iw_cxgb4: log detailed warnings for negative advice iw_cxgb4: Support query_qp() verb iw_cxgb4: advertise the correct

[PATCH 1/5] cxgb4: Add the MC1 registers to read in the interrupt handler

2014-07-21 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 16 +--- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h |3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b

[PATCH 3/5] iw_cxgb4: Support query_qp() verb

2014-07-21 Thread Hariprasad Shenai
Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/qp.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c

[PATCH 5/5] iw_cxgb4: Don't limit TPTE count to 32KB

2014-07-21 Thread Hariprasad Shenai
Use the size advertised by FW Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- drivers/infiniband/hw/cxgb4/t4.h |1 - 2 files changed, 1 insertions(+), 2 deletions

[PATCH] iw_cxgb4: fix for 64-bit integer division

2014-07-17 Thread Hariprasad Shenai
Fixed error introduced in commit id 7730b4c ( cxgb4/iw_cxgb4: work request logging feature) while compiling on 32 bit architecture reported by kbuild. Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c |3 ++- 1 files changed, 2 insertions(+), 1

[PATCHv2 net-next 0/4] Misc. fixes for iw_cxgb4

2014-07-14 Thread Hariprasad Shenai
on review comments given by Yann Droneaud. Hariprasad Shenai (4): iw_cxgb4: Detect Ing. Padding Boundary at run-time cxgb4/iw_cxgb4: use firmware ord/ird resource limits cxgb4/iw_cxgb4: display TPTE on errors cxgb4/iw_cxgb4: work request logging feature drivers/infiniband/hw/cxgb4/cm.c

[PATCHv2 net-next 3/4] cxgb4/iw_cxgb4: display TPTE on errors

2014-07-14 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c| 28 -- drivers/infiniband/hw/cxgb4/ev.c| 55 +-- drivers/infiniband/hw/cxgb4/t4.h|4 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 66

[PATCHv2 net-next 2/4] cxgb4/iw_cxgb4: use firmware ord/ird resource limits

2014-07-14 Thread Hariprasad Shenai
if the negotiated IRD exhausts the available adapter ird resources. So the driver will track the amount of ird resource in use and not send an RI_WR/INIT to FW that would reduce the available ird resources below zero. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai

[PATCHv2 net-next 1/4] iw_cxgb4: Detect Ing. Padding Boundary at run-time

2014-07-14 Thread Hariprasad Shenai
Updates iw_cxgb4 to determine the Ingress Padding Boundary from cxgb4_lld_info, and take subsequent actions. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c|4 ++-- drivers

[PATCH 1/4] iw_cxgb4: Detect Ing. Padding Boundary at run-time

2014-07-11 Thread Hariprasad Shenai
Updates iw_cxgb4 to determine the Ingress Padding Boundary from cxgb4_lld_info, and take subsequent actions. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c|4 ++-- drivers

[PATCH 0/4] Misc. fixes for iw_cxgb4

2014-07-11 Thread Hariprasad Shenai
would like to request this patch series to get merged via David Miller's 'net-next' tree. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Hariprasad Shenai (4): iw_cxgb4: Detect Ing. Padding Boundary at run-time

[PATCH 4/4] cxgb4/iw_cxgb4: work request logging feature

2014-07-11 Thread Hariprasad Shenai
posting the work request until the firmware sees it. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c|4 + drivers/infiniband/hw/cxgb4/device.c| 137

[PATCH 2/4] cxgb4/iw_cxgb4: use firmware ord/ird resource limits

2014-07-11 Thread Hariprasad Shenai
if the negotiated IRD exhausts the available adapter ird resources. So the driver will track the amount of ird resource in use and not send an RI_WR/INIT to FW that would reduce the available ird resources below zero. Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai

[PATCH 3/4] cxgb4/iw_cxgb4: display TPTE on errors

2014-07-11 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c| 27 -- drivers/infiniband/hw/cxgb4/ev.c| 53 -- drivers/infiniband/hw/cxgb4/t4.h|4 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 66

[PATCH 0/5] cxgb4: Fix for PCI passthrough and some Misc. fixes

2014-06-27 Thread Hariprasad Shenai
. We have included all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (5): rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is exposed through PCI Passthrough cxgb4: Use FW interface to get BAR0

[PATCH 1/5] rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is exposed through PCI Passthrough

2014-06-27 Thread Hariprasad Shenai
, is attached to a Virtual Machine via some form of PCI Pass Through technology and the PCI Function shows up as PF0 in the VM. Based on original work by Casey Leedom lee...@chelsio.com Signed-off-by: Casey Leedom lee...@chelsio.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com

[PATCH 5/5] cxgb4vf: Adds device ID for few more Chelsio T4 Adapters

2014-06-27 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- .../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c|9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf

[PATCH 4/5] cxgb4: Adds device ID for few more Chelsio T4 Adapters

2014-06-27 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4

[PATCH 3/5] cxgb4: Replaced the backdoor mechanism to access the HW memory with PCIe Window method

2014-06-27 Thread Hariprasad Shenai
. Based on origninal work by Casey Leedom lee...@chelsio.com and Steve Wise sw...@opengridcomputing.com Signed-off-by: Casey Leedom lee...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4

[PATCH 0/2] Fixes skb leak and connection clean up on ARP error

2014-06-23 Thread Hariprasad Shenai
of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (2): iw_cxgb4: Fix skb_leak in reject_cr iw_cxgb4: clean up connection on arp error drivers/infiniband/hw/cxgb4/cm.c | 12 ++-- 1 files changed, 10 insertions(+), 2

[PATCH 1/2] iw_cxgb4: Fix skb_leak in reject_cr

2014-06-23 Thread Hariprasad Shenai
Based on origninal work by Steve Wise sw...@opengridcomputing.com Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH 2/2] iw_cxgb4: clean up connection on arp error

2014-06-23 Thread Hariprasad Shenai
Based on origninal work by Steve Wise sw...@opengridcomputing.com Signed-off-by: Steve Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git

[PATCH net-next 0/4] Adds support for CIQ and other misc. fixes for rdma/cxgb4

2014-06-06 Thread Hariprasad Shenai
all the maintainers of respective drivers. Kindly review the change and let us know in case of any review comments. Thanks Hariprasad Shenai (4): iw_cxgb4: Allocate and use IQs specifically for indirect interrupts iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections

[PATCH net-next 4/4] cxgb4: Change default Interrupt Holdoff Packet Count Threshold

2014-06-06 Thread Hariprasad Shenai
Based on original work by Casey Leedom lee...@chelsio.com Signed-off-by: Casey Leedom lee...@chelsio.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 69 +-- drivers/net/ethernet/chelsio/cxgb4/sge.c

[PATCH net-next 1/4] iw_cxgb4: Allocate and use IQs specifically for indirect interrupts

2014-06-06 Thread Hariprasad Shenai
Wise sw...@opengridcomputing.com Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cq.c|7 ++- drivers/infiniband/hw/cxgb4/provider.c |2 +- drivers/infiniband/hw/cxgb4/t4.h|1 + drivers/net/ethernet/chelsio

[PATCH net-next 2/4] iw_cxgb4: Choose appropriate hw mtu index and ISS for iWARP connections

2014-06-06 Thread Hariprasad Shenai
-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c| 73 +--- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h |1 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 107 ++- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h

[PATCH] iw_cxgb4: Update Kconfig to include Chelsio T5 adapter.

2014-04-25 Thread Hariprasad Shenai
Signed-off-by: Hariprasad Shenai haripra...@chelsio.com --- drivers/infiniband/hw/cxgb4/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/Kconfig b/drivers/infiniband/hw/cxgb4/Kconfig index d4e8983..23f38cf 100644 --- a/drivers

[PATCH 4/8] iw_cxgb4: Max fastreg depth depends on DSGL support

2014-03-26 Thread Hariprasad Shenai
From: Steve Wise sw...@opengridcomputing.com The max depth of a fastreg mr depends on whether the device supports DSGL or not. So compute it dynamically based on the device support and the module use_dsgl option. Signed-off-by: Steve Wise sw...@opengridcomputing.com ---

[PATCH 2/8] iw_cxgb4: rmb() after reading valid gen bit

2014-03-26 Thread Hariprasad Shenai
From: Steve Wise sw...@opengridcomputing.com Some HW platforms can reorder read operations, so we must rmb() after we see a valid gen bit in a CQE but before we read any other fields from the CQE. Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/t4.h | 2 ++

[PATCH 1/8] iw_cxgb4: endpoint timeout fixes

2014-03-26 Thread Hariprasad Shenai
From: Steve Wise sw...@opengridcomputing.com 1) timedout endpoint processing can be starved. If there is continual CPL messages flowing into the driver, the endpoint timeout processing can be starved. This condition exposed the other bugs below. Solution: In process_work(), call

[PATCH 6/8] iw_cxgb4: Initialize reserved fields in a FW work request

2014-03-26 Thread Hariprasad Shenai
From: Steve Wise sw...@opengridcomputing.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/qp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 0af82af..e865fa4 100644 ---

  1   2   3   4   >