Re: [RFC 00/11] Add support for iSCSI Extentions for RDMA (ISER) target

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: This series is first RFC for iSCSI Extentions for RDMA (ISER) target support with existing iscsi-target TCP based socket code for a future v3.10 merge. This code is available in git here:

[PATCH V2 00/12] Support for PMC 8081/8088/8089 controllers

2013-03-14 Thread Anand
Hi, This is second resubmission for PM8081/88/89 patchset. This handles comments from James Bottomley and Hannes. From 375653061c0db3189e9e5678b11291b7b0195ac3 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Wed, 13 Mar 2013 14:09:48 +0530 Subject: [PATCH

[PATCH V2 02/12] pm80xx: Added SPCv/ve specific ids, variables and modify for SPC

2013-03-14 Thread Anand
From ef678e2188866af926f2a089719c24ec99e4e88c Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Wed, 27 Feb 2013 20:22:50 +0530 Subject: [PATCH V2 02/12] pm80xx: Added SPCv/ve specific ids, variables and modify for SPC Updated pci id table with device,

[PATCH V2 03/12] pm80xx: Multiple inbound/outbound queue configuration

2013-03-14 Thread Anand
From f0b469f372f1c1faa393123f4a3a5e93e05b8387 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Wed, 27 Feb 2013 20:25:25 +0530 Subject: [PATCH V2 03/12] pm80xx: Multiple inbound/outbound queue configuration Memory allocation and configuration of multiple

[PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Anand
From 62b6f575d1978a965339c69158bd10d0529815fb Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:20:19 +0530 Subject: [PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts Implementation of interrupt handlers and tasklets to

[PATCH V2 07/12] pm80xx: SPC new firmware changes for device id 0x8081 alone

2013-03-14 Thread Anand
From 2083ae66cd04ca9d1ace29bc8f6a159215ece5b6 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:37:51 +0530 Subject: [PATCH V2 07/12] pm80xx: SPC new firmware changes for device id 0x8081 alone Additional bar shift for new SPC firmware,

[PATCH V2 09/12] pm80xx: Changed module name and debug messages update

2013-03-14 Thread Anand
From 763c1337ae0ec3acea557fa9a4117dd9e2f2ef32 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:41:38 +0530 Subject: [PATCH V2 09/12] pm80xx: Changed module name and debug messages update Changed name in driver to pm80xx. Updated debug

[PATCH V2 10/12] pm80xx: WWN Modification for PM8081/88/89 controllers

2013-03-14 Thread Anand
From 39041621d54839dcd6878005a48f5ee3e1ec90b9 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:42:13 +0530 Subject: [PATCH V2 10/12] pm80xx: WWN Modification for PM8081/88/89 controllers Individual WWN read operations based on controller.

[PATCH V2 11/12] pm80xx: NCQ error handling changes

2013-03-14 Thread Anand
From 6c5a97ffa25ca47e2403b11e8325c51ac044e501 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:43:20 +0530 Subject: [PATCH V2 11/12] pm80xx: NCQ error handling changes Handled NCQ errors in the low level driver as the FW is not providing

[PATCH V2 12/12] pm80xx: thermal, sas controller config and error handling update

2013-03-14 Thread Anand
From 375653061c0db3189e9e5678b11291b7b0195ac3 Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:44:36 +0530 Subject: [PATCH V2 12/12] pm80xx: thermal, sas controller config and error handling update Modified thermal configuration to happen

Re: [RFC 10/11] iser-target: Add logic for core

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +void +isert_dump_ib_wc(struct ib_wc *wc) +{ + pr_debug(wc-wr_id: %llu\n, wc-wr_id); + pr_debug(wc-status: 0x%08x\n, wc-status); This helper is called for a CQ completion with error, but when this happens all the WC fields except

RE: [RESEND] [PATCH 05/13] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Anand Kumar Santhanam
Hi Hannes, I have addressed your comment and merged individual tasklet to one and have resubmitted the patchset. Regards Anand -Original Message- From: Hannes Reinecke [mailto:h...@suse.de] Sent: Monday, March 04, 2013 3:46 PM To: Anand Kumar Santhanam Cc: linux-scsi@vger.kernel.org;

Re: [RFC 09/11] iser-target: Add logic for verbs

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +++ b/drivers/infiniband/ulp/isert/isert_verbs.c +#define ISERT_ADDR_ROUTE_TIMEOUT 1000 remove this define, its irrelevant and you don't use that anywhere +static void +isert_qp_event_callback(struct ib_event *e, void *context) +{ +

Re: [PATCH V2 05/12] pm80xx: MSI-X implementation for using 64 interrupts

2013-03-14 Thread Hannes Reinecke
Sorry for the late reply. On 03/14/2013 12:04 PM, Anand wrote: From 62b6f575d1978a965339c69158bd10d0529815fb Mon Sep 17 00:00:00 2001 From: Sakthivel K sakthivel.saravanankamalr...@pmcs.com Date: Mon, 11 Mar 2013 20:20:19 +0530 Subject: [PATCH V2 05/12] pm80xx: MSI-X implementation for using

Re: [RFC 09/11] iser-target: Add logic for verbs

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: isert_conn-conn_rx_cq = ib_create_cq(ib_dev, isert_cq_rx_callback, + isert_cq_event_callback, + (void *)isert_conn, +

Re: [RFC 10/11] iser-target: Add logic for core

2013-03-14 Thread Or Gerlitz
On 08/03/2013 03:45, Nicholas A. Bellinger wrote: +void +iser_cq_tx_tasklet(unsigned long data) +{ + struct isert_conn *isert_conn = (struct isert_conn *)data; + struct ib_cq *tx_cq = isert_conn-conn_tx_cq; + struct iser_tx_desc *tx_desc; + struct ib_wc wc; + +

Re: [patch] [SCSI] mpt3sas: move dereference under check

2013-03-14 Thread Dan Carpenter
On Thu, Mar 14, 2013 at 06:52:35PM +0530, Reddy, Sreekanth wrote: Hi Dan Carpenter, While analyzing this patch, I have added some debugging prints to print the address referenced by the IOC-sense_dma_pool before and after pci_pool_free() API and I have observed that the address referenced

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

2013-03-14 Thread Vipul Pandya
Hi All, This patch series adds support for Chelsio's T5 adapter. It also adds support for new features of T5. It adds these in cxgb4, cxgb4vf, RDMA/cxgb4 and csiostor drivers. Chelsio's T5 asic moves the architecture into 40GbE speeds. T5 is a 10/40GbE controller with full offload support of a

[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 ++---

[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 +

[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 +++

[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

[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 -

[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 +-

[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 +++

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

2013-03-14 Thread Vipul Pandya
It enables direct DMA by HW to memory region PBL arrays and fast register PBL arrays from host memory, vs the T4 way of passing these arrays in the WR itself. The result is lower latency for memory registration, and larger PBL array support for fast register operations. This patch also updates

[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
T5 adapter does not support onchip queue memory. Present logic fails to allocate QP for T5 and returns an error. Also, if module parameter ocqp_support is zero then we are unable to allocate QP which should not be the case. Ideally if ocqp_support parameter is 0 or onchip queue support is disable

[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
From: Santosh Rastapur sant...@chelsio.com This patch implements a low latency Write Combining (aka Write Coalescing) work request path. PCIE maps User Space Doorbell BAR2 region writes to the new interface to SGE. SGE pulls a new message from PCIE new interface and if its a coalesced write work

[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

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

2013-03-14 Thread David Miller
From: Vipul Pandya vi...@chelsio.com Date: Thu, 14 Mar 2013 20:38:46 +0530 We request to merge this patch series via David Miller's net-next tree. We are copying respective maintainers of all the drivers for reviewing the changes. Kindly let us know in case of any review comments. All applied

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

2013-03-14 Thread Steve Wise
Acked-by: Steve Wise sw...@opengridcomputing.com -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

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

2013-03-14 Thread David Laight
This patch implements a low latency Write Combining (aka Write Coalescing) work request path. PCIE maps User Space Doorbell BAR2 region writes to the new interface to SGE. SGE pulls a new message from PCIE new interface and if its a coalesced write work request then pushes it for processing.

Re: [PATCH] scsi_transport_fc: Make 'port_state' writeable

2013-03-14 Thread Steffen Maier
Just for my understanding: So this is a bit like writing 0 into the failed attribute of a zfcp_port in sysfs (zfcp_sysfs_port_failed_store()) which forces a port reopen recovery including a sequence of fc_remote_port_delete and fc_remote_port_add? If so, it sounds good to have this

[PATCH 1/3] ipr: fix addition of abort command to HRRQ free queue

2013-03-14 Thread wenxiong
From: Kleber Sacilotto de Souza kleb...@linux.vnet.ibm.com The abort command issued by ipr_cancel_op() is being added to the wrong HRRQ free queue after the command returns. Fix it by using the HRRQ pointer in the ipr command struct itself. Signed-off-by: Kleber Sacilotto de Souza

[PATCH 0/3] Fixed several ipr bugs when bring up an ipr adapter

2013-03-14 Thread wenxiong
-- Hi All, These patches fixed several ipr bugs when brining up new adapters. Let me know if you have any questions. Thanks, Wendy -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 2/3] ipr: dlpar failed when adding an adapter back

2013-03-14 Thread wenxiong
Reinitialize resource queue prior to freeing resource entries to ensure they are not referenced. This fixes an issue with target_destoy accessing memory after it was freed. Signed-off-by: Wen Xiong wenxi...@linux.vnet.ibm.com --- drivers/scsi/ipr.c |1 + 1 file changed, 1 insertion(+)

[PATCH 3/3] ipr: Avoid target_destroy accessing memory after it was freed

2013-03-14 Thread wenxiong
Defined target_ids,array_ids and vsets_ids as unsigned long to avoid target_destroy accessing memory after it was freed. Signed-off-by: Wen Xiong wenxi...@linux.vnet.ibm.com --- drivers/scsi/ipr.c | 16 drivers/scsi/ipr.h |6 +++--- 2 files changed, 3 insertions(+), 19