[PATCH net-next 01/22] cxgb4: Add register definations for T5

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 94 ++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/drivers

[PATCH net-next 00/22] Add support for Chelsio T5 adapter

2013-03-12 Thread Vipul Pandya
stress tests on this patch series. Thanks, Vipul Pandya Arvind Bhushan (4): csiostor: Segregate T4 adapter operations. csiostor: Add T5 adapter operations. csiostor: Header file modifications for chip support and bug fixes. csiostor: Cleanup chip specific operations. Santosh Rastapur (11

[PATCH net-next 03/22] cxgb4: Initialize T5

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 85 ++--- drivers/net/ethernet/chelsio/cxgb4/sge.c| 37 -- drivers/net

[PATCH net-next 10/22] cxgb4: Disable SR-IOV support for PF4-7 for T5

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com All T5 adapters will only support VFs on PF0-3 despite the ability of the hardware to support them on PF4-7. This keeps our T4 and T5 adapters more similar which simplifies host driver software. Signed-off-by: Vipul Pandya vi...@chelsio.com

[PATCH net-next 06/22] cxgb4: Enable doorbell drop recovery only for T4 adapter

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 87 ++ 1 files changed, 71 insertions(+), 16 deletions(-) diff --git a/drivers

[PATCH net-next 11/22] cxgb4vf: Add support for Chelsio T5 adapter

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4vf/adapter.h |1 + .../net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c| 35 ++-- drivers

[PATCH net-next 05/22] cxgb4: Add T5 write combining support

2013-03-12 Thread Vipul Pandya
request then pushes it for processing. This patch copies coalesced work request to memory mapped BAR2 space. Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |2 + drivers/net/ethernet/chelsio

[PATCH net-next 09/22] cxgb4: Update driver version and description

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet

Re: [PATCH net-next 05/22] cxgb4: Add T5 write combining support

2013-03-13 Thread Vipul Pandya
On 12-03-2013 20:12, Steve Wise wrote: On 3/12/2013 7:19 AM, David Miller wrote: From: Vipul Pandya vi...@chelsio.com Date: Tue, 12 Mar 2013 17:16:17 +0530 + writel(n, adap-bar2 + q-udb + 8); +#if defined(CONFIG_X86_32) || defined(CONFIG_X86_64

[PATCH v2 net-next 00/22] Add support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
stress tests on this patch series. Thanks, Vipul Pandya v2: Replaced #ifdef with portable interface wmb in ring_tx_db Arvind Bhushan (4): csiostor: Segregate T4 adapter operations. csiostor: Add T5 adapter operations. csiostor: Header file modifications for chip support and bug fixes

[PATCH v2 net-next 03/22] cxgb4: Initialize T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 85 ++--- drivers/net

[PATCH v2 net-next 04/22] cxgb4: Dump T5 registers

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 452 ++- 1 files

[PATCH v2 net-next 08/22] cxgb4: Add T5 PCI ids

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 38 +++ 1 files

[PATCH v2 net-next 10/22] cxgb4: Disable SR-IOV support for PF4-7 for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com All T5 adapters will only support VFs on PF0-3 despite the ability of the hardware to support them on PF4-7. This keeps our T4 and T5 adapters more similar which simplifies host driver software. Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2

[PATCH v2 net-next 11/22] cxgb4vf: Add support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4vf/adapter.h |1 + .../net/ethernet/chelsio

[PATCH v2 net-next 12/22] RDMA/cxgb4: Add Support for Chelsio T5 adapter

2013-03-14 Thread Vipul Pandya
Adds support for Chelsio T5 adapter. Enables T5's Write Combining feature. Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/cm.c | 64 +++ drivers/infiniband/hw/cxgb4

[PATCH v2 net-next 14/22] RDMA/cxgb4: Add module_params to enable DB FC Coalescing on T5

2013-03-14 Thread Vipul Pandya
Both DB Flow-Control and DB Coalescing are disabled by default on T5 Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/device.c | 25 +++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h

[PATCH v2 net-next 16/22] RDMA/cxgb4: Map pbl buffers for dma if using DSGL.

2013-03-14 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/mem.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers

[PATCH v2 net-next 02/22] cxgb4: Add macros, structures and inline functions for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 50 - drivers

[PATCH v2 net-next 06/22] cxgb4: Enable doorbell drop recovery only for T4 adapter

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 87 ++ 1 files

[PATCH v2 net-next 09/22] cxgb4: Update driver version and description

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c |4 ++-- 1 files changed, 2

[PATCH v2 net-next 07/22] cxgb4: Add T5 debugfs support

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +- drivers/net/ethernet/chelsio

[PATCH v2 net-next 13/22] RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use.

2013-03-14 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/qp.c| 20 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 19 +++ drivers/net/ethernet/chelsio

[PATCH v2 net-next 15/22] RDMA/cxgb4: Use DSGLs for fastreg and adapter memory writes for T5.

2013-03-14 Thread Vipul Pandya
ULP_TX_MEM_WRITE command fields for T5. Ordering bit of ULP_TX_MEM_WRITE is at bit position 22 in T5 and at 23 in T4. Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- drivers

[PATCH v2 net-next 17/22] RDMA/cxgb4: Bump tcam_full stat and WR reply timeout

2013-03-14 Thread Vipul Pandya
Always bump the tcam_full stat. Also, bump wr reply timeout to 30 seconds. Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/cm.c |2 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- 2 files

[PATCH v2 net-next 18/22] RDMA/cxgb4: Fix onchip queue support for T5

2013-03-14 Thread Vipul Pandya
then host QP should be allocated before returning an error. Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/infiniband/hw/cxgb4/qp.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH v2 net-next 19/22] csiostor: Segregate T4 adapter operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch separates T4 adapter operations into a new file. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db

[PATCH v2 net-next 20/22] csiostor: Add T5 adapter operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch creates a new file for T5 adapter operations. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db

[PATCH v2 net-next 21/22] csiostor: Header file modifications for chip support and bug fixes.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch defines the common operations to support multiple chips. It includes common header file modifications to support the current chips (T4 and T5). It also includes the following bug fixes: - reconfirms the rnode state after an implicit logo. -

[PATCH v2 net-next 22/22] csiostor: Cleanup chip specific operations.

2013-03-14 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch removes chip specific operations from the common hardware paths, as well as the Makefile change to accomodate the new files. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com --- v2: Replaced

[PATCH v2 net-next 05/22] cxgb4: Add T5 write combining support

2013-03-14 Thread Vipul Pandya
request then pushes it for processing. This patch copies coalesced work request to memory mapped BAR2 space. Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet

[PATCH v2 net-next 01/22] cxgb4: Add register definations for T5

2013-03-14 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- v2: Replaced #ifdef with portable interface wmb in ring_tx_db drivers/net/ethernet/chelsio/cxgb4/t4_regs.h | 94 ++ 1 files

[PATCH net-next 02/22] cxgb4: Add macros, structures and inline functions for T5

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h| 50 - drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 45

[PATCH net-next 12/22] RDMA/cxgb4: Add Support for Chelsio T5 adapter

2013-03-12 Thread Vipul Pandya
Adds support for Chelsio T5 adapter. Enables T5's Write Combining feature. Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c | 64 +++ drivers/infiniband/hw/cxgb4/device.c | 13 -- drivers/infiniband/hw/cxgb4/iw_cxgb4.h

[PATCH net-next 07/22] cxgb4: Add T5 debugfs support

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |3 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 55 +--- drivers/net/ethernet

[PATCH net-next 13/22] RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use.

2013-03-12 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/qp.c| 20 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 19 +++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h |3 +++ drivers/net/ethernet/chelsio/cxgb4

[PATCH net-next 04/22] cxgb4: Dump T5 registers

2013-03-12 Thread Vipul Pandya
From: Santosh Rastapur sant...@chelsio.com Signed-off-by: Santosh Rastapur sant...@chelsio.com Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 452 ++- 1 files changed, 448 insertions(+), 4 deletions(-) diff --git

[PATCH net-next 14/22] RDMA/cxgb4: Add module_params to enable DB FC Coalescing on T5

2013-03-12 Thread Vipul Pandya
Both DB Flow-Control and DB Coalescing are disabled by default on T5 Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/device.c | 25 +++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |1 + drivers/infiniband/hw/cxgb4/qp.c | 10

[PATCH net-next 15/22] RDMA/cxgb4: Use DSGLs for fastreg and adapter memory writes for T5.

2013-03-12 Thread Vipul Pandya
ULP_TX_MEM_WRITE command fields for T5. Ordering bit of ULP_TX_MEM_WRITE is at bit position 22 in T5 and at 23 in T4. Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- drivers/infiniband/hw/cxgb4/mem.c | 138

[PATCH net-next 16/22] RDMA/cxgb4: Map pbl buffers for dma if using DSGL.

2013-03-12 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/mem.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers/infiniband/hw/cxgb4/mem.c index 33db9ee..4cb8eb2 100644

[PATCH net-next 17/22] RDMA/cxgb4: Bump tcam_full stat and WR reply timeout

2013-03-12 Thread Vipul Pandya
Always bump the tcam_full stat. Also, bump wr reply timeout to 30 seconds. Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/cm.c |2 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH net-next 18/22] RDMA/cxgb4: Fix onchip queue support for T5

2013-03-12 Thread Vipul Pandya
then host QP should be allocated before returning an error. Signed-off-by: Vipul Pandya vi...@chelsio.com --- drivers/infiniband/hw/cxgb4/qp.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c

[PATCH net-next 19/22] csiostor: Segregate T4 adapter operations.

2013-03-12 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch separates T4 adapter operations into a new file. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com --- drivers/scsi/csiostor/csio_hw_t4.c | 403 1 files

[PATCH net-next 22/22] csiostor: Cleanup chip specific operations.

2013-03-12 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch removes chip specific operations from the common hardware paths, as well as the Makefile change to accomodate the new files. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com ---

[PATCH net-next 21/22] csiostor: Header file modifications for chip support and bug fixes.

2013-03-12 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch defines the common operations to support multiple chips. It includes common header file modifications to support the current chips (T4 and T5). It also includes the following bug fixes: - reconfirms the rnode state after an implicit logo. -

[PATCH net-next 20/22] csiostor: Add T5 adapter operations.

2013-03-12 Thread Vipul Pandya
From: Arvind Bhushan arvi...@chelsio.com This patch creates a new file for T5 adapter operations. Signed-off-by: Arvind Bhushan arvi...@chelsio.com Signed-off-by: Naresh Kumar Inna nar...@chelsio.com --- drivers/scsi/csiostor/csio_hw_t5.c | 397 1 files