Re: [PATCH 3/3] cxgb4i: iscsi and pdu processing part

From: Mike Christie
Date: Thu Apr 08 2010 - 15:16:15 EST


On 04/08/2010 07:14 AM, Rakesh Ranjan wrote:
From: Rakesh Ranjan<rakesh@xxxxxxxxxxx>


Signed-off-by: Rakesh Ranjan<rakesh@xxxxxxxxxxx>
---
drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 715 ++++++++++++++++++++++++++++++++++++
drivers/scsi/cxgb4i/cxgb4i_pdu.c | 475 ++++++++++++++++++++++++
drivers/scsi/cxgb4i/cxgb4i_pdu.h | 61 +++
3 files changed, 1251 insertions(+), 0 deletions(-)
create mode 100644 drivers/scsi/cxgb4i/cxgb4i_iscsi.c
create mode 100644 drivers/scsi/cxgb4i/cxgb4i_pdu.c
create mode 100644 drivers/scsi/cxgb4i/cxgb4i_pdu.h


The code in these files looks like the code is the cxgb3i iscsi and pdu code. Can you just make a common cxgb3i iscsi/pdu layer and add some callouts?

Something similar to what qla2xxx or lpfc has done to support multiple cards. In their case they have common fc and driver stuff and then callouts for hw specifics?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/