[PATCH net] libcxgb: fix incorrect ppmax calculation

2019-04-03 Thread Varun Prakash
BITS_TO_LONGS() uses DIV_ROUND_UP() because of this ppmax value can be greater than available per cpu page pods. This patch removes BITS_TO_LONGS() to fix this issue. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 9 - 1 file changed, 8 insertions

Re: [PATCH] cxgbit: use T6 specific macro to set force bit

2017-01-24 Thread Varun Prakash
On Wed, Jan 25, 2017 at 02:41:40AM +0530, Joe Perches wrote: > On Tue, 2017-01-24 at 17:07 +0530, Varun Prakash wrote: > > For T6 adapters use T6 specific macro to set > > force bit. > [] > > diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_msg.h > > b/driv

Re: [PATCH] cxgbit: use T6 specific macro to set force bit

2017-01-24 Thread Varun Prakash
On Wed, Jan 25, 2017 at 01:56:16AM +0530, David Miller wrote: > From: Varun Prakash > Date: Tue, 24 Jan 2017 17:07:02 +0530 > > > For T6 adapters use T6 specific macro to set > > force bit. > > > > Signed-off-by: Varun Prakash > > What tree is this for

[PATCH] cxgbit: use T6 specific macro to set force bit

2017-01-24 Thread Varun Prakash
For T6 adapters use T6 specific macro to set force bit. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 4 drivers/target/iscsi/cxgbit/cxgbit_target.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4

[PATCH net] libcxgb: fix error check for ip6_route_output()

2017-01-03 Thread Varun Prakash
ip6_route_output() never returns NULL so check dst->error instead of !dst. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c

[PATCH scsi 3/3] scsi: cxgb4i,libcxgbi,cxgb4: add T6 iSCSI completion feature

2016-12-01 Thread Varun Prakash
T6 adapters reduce number of completions to host by generating single completion for all the directly placed(DDP) iSCSI pdus in a sequence. This patch adds new structure for completion hw cmd (struct cpl_rx_iscsi_cmp) and implements T6 completion feature. Signed-off-by: Varun Prakash

[PATCH scsi 2/3] scsi: cxgb4i,libcxgbi: add active open cmd for T6 adapters

2016-12-01 Thread Varun Prakash
Add T6 active open cmd to open active connections on T6 adapters. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 86 -- drivers/scsi/cxgbi/libcxgbi.c | 6 +-- 2 files changed, 77 insertions(+), 15 deletions(-) diff --git a

[PATCH scsi 0/3] cxgb4i: add support for Chelsio T6 adapters

2016-12-01 Thread Varun Prakash
This patch series adds support for Chelsio T6 adapters in iSCSI initiator offload driver(cxgb4i). Varun Prakash (3): scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx scsi: cxgb4i,libcxgbi: add active open cmd for T6 adapters scsi: cxgb4i,libcxgbi,cxgb4: add T6 iSCSI completion feature

[PATCH scsi 1/3] scsi: cxgb4i: use cxgb4_tp_smt_idx() to get smt_idx

2016-12-01 Thread Varun Prakash
cxgb4_tp_smt_idx() is defined in cxgb4 driver, it returns smt_idx for T4,T5,T6 adapters. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i

Re: [net-next PATCH 00/11] iw_cxgb4,cxgbit: remove duplicate code

2016-09-15 Thread Varun Prakash
Hi Or, On Wed, Sep 14, 2016 at 02:02:43PM +0530, Or Gerlitz wrote: > On Tue, Sep 13, 2016 at 6:53 PM, Varun Prakash wrote: > > This patch series removes duplicate code from > > iw_cxgb4 and cxgbit by adding common function definitions in libcxgb. > > Is that bunch of misc f

[net-next PATCH 00/11] iw_cxgb4,cxgbit: remove duplicate code

2016-09-13 Thread Varun Prakash
This patch series removes duplicate code from iw_cxgb4 and cxgbit by adding common function definitions in libcxgb. Please review. Thanks Varun Varun Prakash (11): libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route() libcxgb,iw_cxgb4,cxgbit: add

[net-next PATCH 07/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_tid_release()

2016-09-13 Thread Varun Prakash
Add cxgb_mk_tid_release() to remove duplicate code to form CPL_TID_RELEASE hardware command. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 10 -- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 13 + drivers/target/iscsi/cxgbit

[net-next PATCH 04/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_is_neg_adv()

2016-09-13 Thread Varun Prakash
Add cxgb_is_neg_adv() in libcxgb_cm.h to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 15 +++ drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 9 + dr

[net-next PATCH 10/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_abort_rpl()

2016-09-13 Thread Varun Prakash
Add cxgb_mk_abort_rpl() to remove duplicate code to form CPL_ABORT_RPL hardware command. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 10 -- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 14 ++ drivers/target/iscsi/cxgbit

[net-next PATCH 08/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_close_con_req()

2016-09-13 Thread Varun Prakash
Add cxgb_mk_close_con_req() to remove duplicate code to form CPL_CLOSE_CON_REQ hardware command. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 13 - drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 16 drivers/target/iscsi

[net-next PATCH 11/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_rx_data_ack()

2016-09-13 Thread Varun Prakash
Add cxgb_mk_rx_data_ack() to remove duplicate code to form CPL_RX_DATA_ACK hardware command. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 19 --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 15 +++ drivers/target/iscsi

[net-next PATCH 09/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_mk_abort_req()

2016-09-13 Thread Varun Prakash
Add cxgb_mk_abort_req() to remove duplicate code to form CPL_ABORT_REQ hardware command. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 13 - drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h | 16 drivers/target/iscsi/cxgbit

[net-next PATCH 03/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route6()

2016-09-13 Thread Varun Prakash
Add cxgb_find_route6() in libcxgb_cm.c to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 70 ++- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c

[net-next PATCH 05/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_best_mtu()

2016-09-13 Thread Varun Prakash
Add cxgb_best_mtu() in libcxgb_cm.h to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 32 +++ drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h

[net-next PATCH 01/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple()

2016-09-13 Thread Varun Prakash
Add cxgb_get_4tuple() in libcxgb_cm.c to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/Kconfig | 1 + drivers/infiniband/hw/cxgb4/Makefile | 1 + drivers/infiniband/hw/

[net-next PATCH 02/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_find_route()

2016-09-13 Thread Varun Prakash
Add cxgb_find_route() in libcxgb_cm.c to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 53 +++ drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c

[net-next PATCH 06/11] libcxgb,iw_cxgb4,cxgbit: add cxgb_compute_wscale()

2016-09-13 Thread Varun Prakash
Add cxgb_compute_wscale() in libcxgb_cm.h to remove it's duplicate definitions from cxgb4/cm.c and cxgbit/cxgbit_cm.c. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/cm.c | 12 ++-- drivers/infiniband/hw/cxgb4/iw_cxgb4.h| 9 - dr

[net-next v3 6/6] cxgb3i,cxgb4i: fix symbol not declared sparse warning

2016-07-21 Thread Varun Prakash
Fix following sparse warnings warning: symbol 'cxgb3i_ofld_init' was not declared. Should it be static? warning: symbol 'cxgb4i_cplhandlers' was not declared. Should it be static? warning: symbol 'cxgb4i_ofld_init' was not declared. Should it be static? Signed-off-

[net-next v3 3/6] cxgb4i,libcxgbi: add iSCSI DDP support

2016-07-21 Thread Varun Prakash
Add iSCSI DDP support in cxgb4i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/Makefile| 2 + drivers/scsi/cxgbi/cxgb3i/Kbuild | 1 + drivers/scsi/cxgbi/cxgb3i/Kconfig | 1 + drivers/scsi/cxgbi/cxgb4i/Kbuild | 1

[net-next v3 5/6] libcxgb: export ppm release and tagmask set api

2016-07-21 Thread Varun Prakash
Export cxgbi_ppm_release() to release ppod manager and cxgbi_tagmask_set() to set tag mask, they are used by cxgb3i, cxgb4i and cxgbit. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 2 ++ drivers/scsi/cxgbi/cxgb3i/cxgb3i.c

[net-next v3 4/6] cxgb3i: add iSCSI DDP support

2016-07-21 Thread Varun Prakash
Add iSCSI DDP support in cxgb3i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 119 - 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/drivers/scsi

[net-next v3 2/6] cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support

2016-07-21 Thread Varun Prakash
Remove old ddp code from cxgb3i,cxgb4i,libcxgbi. Next two commits adds DDP support using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 128 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 142 - drivers/scsi/cxgbi/libcxgbi.c

[net-next v3 0/6] common library for Chelsio drivers.

2016-07-21 Thread Varun Prakash
CONFIG_CHELSIO_LIB to an invisible option - changed libcxgb.ko module license from GPL to Dual BSD/GPL Varun Prakash (6): libcxgb: add library module for Chelsio drivers cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support cxgb4i,libcxgbi: add iSCSI DDP support cxgb3i: add iSCSI DDP support

[net-next v3 1/6] libcxgb: add library module for Chelsio drivers

2016-07-21 Thread Varun Prakash
have common connection management and hardware specific code that can be shared by multiple Chelsio drivers. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/net/ethernet/chelsio/Kconfig | 16 +++- drivers/net/ethernet/chelsio/Makefile | 1

[net-next v2 6/6] cxgb3i,cxgb4i: fix symbol not declared sparse warning

2016-07-16 Thread Varun Prakash
Fix following sparse warnings warning: symbol 'cxgb3i_ofld_init' was not declared. Should it be static? warning: symbol 'cxgb4i_cplhandlers' was not declared. Should it be static? warning: symbol 'cxgb4i_ofld_init' was not declared. Should it be static? Signed-off-

[net-next v2 4/6] cxgb3i: add iSCSI DDP support

2016-07-16 Thread Varun Prakash
Add iSCSI DDP support in cxgb3i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 119 - 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/drivers/scsi

[net-next v2 5/6] libcxgb: export ppm release and tagmask set api

2016-07-16 Thread Varun Prakash
Export cxgbi_ppm_release() to release ppod manager and cxgbi_tagmask_set() to set tag mask, they are used by cxgb3i, cxgb4i and cxgbit. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 2 ++ drivers/scsi/cxgbi/cxgb3i/cxgb3i.c

[net-next v2 3/6] cxgb4i,libcxgbi: add iSCSI DDP support

2016-07-16 Thread Varun Prakash
Add iSCSI DDP support in cxgb4i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/Makefile| 2 + drivers/scsi/cxgbi/cxgb3i/Kbuild | 1 + drivers/scsi/cxgbi/cxgb3i/Kconfig | 1 + drivers/scsi/cxgbi/cxgb4i/Kbuild | 1

[net-next v2 0/6] common library for Chelsio drivers

2016-07-16 Thread Varun Prakash
libcxgb.ko module license from GPL to Dual BSD/GPL Varun Prakash (6): libcxgb: add library module for Chelsio drivers cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support cxgb4i,libcxgbi: add iSCSI DDP support cxgb3i: add iSCSI DDP support libcxgb: export ppm release and tagmask set api cxgb3i

[net-next v2 1/6] libcxgb: add library module for Chelsio drivers

2016-07-16 Thread Varun Prakash
have common connection management and hardware specific code that can be shared by multiple Chelsio drivers. Signed-off-by: Varun Prakash Reviewed-by: Steve Wise --- drivers/net/ethernet/chelsio/Kconfig | 16 ++- drivers/net/ethernet/chelsio/Makefile | 1 + drivers

[net-next v2 2/6] cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support

2016-07-16 Thread Varun Prakash
Remove old ddp code from cxgb3i,cxgb4i,libcxgbi. Next two commits adds DDP support using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 128 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 142 - drivers/scsi/cxgbi/libcxgbi.c

Re: [net-next 3/6] cxgb4i,libcxgbi: add iSCSI DDP support

2016-07-16 Thread Varun Prakash
On Fri, Jul 15, 2016 at 07:43:10PM +0530, Steve Wise wrote: > > Add iSCSI DDP support in cxgb4i driver > > using common iSCSI DDP Page Pod Manager. > > > > Signed-off-by: Varun Prakash > > --- > > drivers/scsi/cxgbi/Makefile| 2 + > >

Re: [net-next 2/6] cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support

2016-07-16 Thread Varun Prakash
On Fri, Jul 15, 2016 at 07:35:32PM +0530, Steve Wise wrote: > > Remove old ddp code from cxgb3i,cxgb4i,libcxgbi. > > > > Next two commits adds DDP support using > > common iSCSI DDP Page Pod Manager. > > > > Signed-off-by: Varun Prakash > > --- >

[net-next 5/6] libcxgb: export ppm release and tagmask set api

2016-07-08 Thread Varun Prakash
Export cxgbi_ppm_release() to release ppod manager and cxgbi_tagmask_set() to set tag mask, they are used by cxgb3i, cxgb4i and cxgbit. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c | 2 ++ drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 1 + drivers

[net-next 6/6] cxgb3i,cxgb4i: fix symbol not declared sparse warning

2016-07-08 Thread Varun Prakash
Fix following sparse warnings warning: symbol 'cxgb3i_ofld_init' was not declared. Should it be static? warning: symbol 'cxgb4i_cplhandlers' was not declared. Should it be static? warning: symbol 'cxgb4i_ofld_init' was not declared. Should it be static? Signed-off-b

[net-next 3/6] cxgb4i,libcxgbi: add iSCSI DDP support

2016-07-08 Thread Varun Prakash
Add iSCSI DDP support in cxgb4i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/Makefile| 2 + drivers/scsi/cxgbi/cxgb3i/Kbuild | 1 + drivers/scsi/cxgbi/cxgb3i/Kconfig | 1 + drivers/scsi/cxgbi/cxgb4i/Kbuild | 1

[net-next 2/6] cxgb3i,cxgb4i,libcxgbi: remove iSCSI DDP support

2016-07-08 Thread Varun Prakash
Remove old ddp code from cxgb3i,cxgb4i,libcxgbi. Next two commits adds DDP support using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 128 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 142 - drivers/scsi/cxgbi/libcxgbi.c

[net-next 1/6] libcxgb: add library module for Chelsio drivers

2016-07-08 Thread Varun Prakash
have common connection management and hardware specific code that can be shared by multiple Chelsio drivers. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/Kconfig | 18 ++-- drivers/net/ethernet/chelsio/Makefile | 1 + drivers/net/ethernet

[net-next 4/6] cxgb3i: add iSCSI DDP support

2016-07-08 Thread Varun Prakash
Add iSCSI DDP support in cxgb3i driver using common iSCSI DDP Page Pod Manager. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 119 - 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b

[net-next 0/6] common library for Chelsio drivers

2016-07-08 Thread Varun Prakash
, cxgb4i, cxgbit. In future this module will have common connection management and hardware specific code that can be shared by multiple Chelsio drivers(cxgb4, csiostor, iw_cxgb4, cxgb4i, cxgbit). Please review. Thanks Varun Varun Prakash (6): libcxgb: add library module for Chelsio drivers

[target-pending 09/12] cxgb4: move VLAN_NONE macro definition

2016-03-13 Thread Varun Prakash
move VLAN_NONE macro definition from l2t.c to l2t.h Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/l2t.c | 2 -- drivers/net/ethernet/chelsio/cxgb4/l2t.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/l2t.c b

[target-pending 10/12] cxgb4, iw_cxgb4: move delayed ack macro definitions

2016-03-13 Thread Varun Prakash
move delayed ack macro definitions to common header file t4_msg.h. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 9 - drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 9 + 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers

[target-pending 08/12] cxgb4: update struct cxgb4_lld_info definition

2016-03-13 Thread Varun Prakash
add members for iSCSI DDP. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 ++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 4 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 4 3 files changed, 10 insertions(+) diff --git a/drivers/net

[target-pending 07/12] cxgb4: add definitions for iSCSI target ULD

2016-03-13 Thread Varun Prakash
add structure, macro and constant definitions for iSCSI Tx and Rx. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 107 ++ drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 7 ++ 2 files changed, 114 insertions(+) diff --git a/drivers

[target-pending 11/12] cxgb4: add iSCSI DDP page pod manager

2016-03-13 Thread Varun Prakash
add files for common page pod manager, both iSCSI initiator and target ULDs will use common ppod manager for DDP. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ppm.c | 464 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_ppm.h | 310

[target-pending 04/12] cxgb4, iw_cxgb4: move definitions to common header file

2016-03-13 Thread Varun Prakash
move struct tcp_options, struct cpl_pass_accept_req, enum defining congestion control algorithms and associated macros to common header file t4_msg.h Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 81 - drivers/net/ethernet/chelsio

[target-pending 06/12] cxgb4, cxgb4i: move struct cpl_rx_data_ddp definition

2016-03-13 Thread Varun Prakash
move struct cpl_rx_data_ddp definition to common header file t4_msg.h. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 15 +++ drivers/scsi/cxgbi/cxgb4i/cxgb4i.h | 12 2 files changed, 15 insertions(+), 12 deletions(-) diff --git

[target-pending 02/12] cxgb4: allocate resources for CXGB4_ULD_ISCSIT

2016-03-13 Thread Varun Prakash
allocate rxqs for non T4 adapters, dump rxqs sge qinfo through debugfs. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 11 - drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 34 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c| 53

[target-pending 12/12] cxgb4: update Kconfig and Makefile

2016-03-13 Thread Varun Prakash
update Kconfig and Makefile for enabling iSCSI DDP page pod manager. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/Kconfig| 11 +++ drivers/net/ethernet/chelsio/cxgb4/Makefile | 1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ethernet/chelsio

[target-pending 05/12] cxgb4, iw_cxgb4, cxgb4i: remove duplicate definitions

2016-03-13 Thread Varun Prakash
move struct ulptx_idata definition to common header file t4_msg.h. Signed-off-by: Varun Prakash --- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 9 - drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 5 + drivers/scsi/cxgbi/cxgb4i/cxgb4i.h | 5 - 3 files changed, 5

[target-pending 03/12] cxgb4: large receive offload support

2016-03-13 Thread Varun Prakash
add large receive offload(LRO) support for upper layer drivers. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 14 - drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 42 ++--- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 6

[target-pending 00/12] cxgb4 patch series for cxgbit.ko

2016-03-13 Thread Varun Prakash
Hi Nicholas, I am posting cxgb4 patch series as suggested by you in following email thread http://www.spinics.net/lists/target-devel/msg12437.html This series consists of patches from initial cxgb4 series without any change. Thanks Varun Varun Prakash (12): cxgb4: add new ULD

[target-pending 01/12] cxgb4: add new ULD type CXGB4_ULD_ISCSIT

2016-03-13 Thread Varun Prakash
Chelsio iSCSI target offload driver will register with cxgb4 driver as ULD of type CXGB4_ULD_ISCSIT. Signed-off-by: Varun Prakash --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h b/drivers/net

Re: [target-pending 00/12] cxgb4 changes for cxgbit.ko

2016-03-13 Thread Varun Prakash
On Sun, Mar 13, 2016 at 06:58:50PM +0530, Varun Prakash wrote: > Hi Nicholas, > >I am posting cxgb4 patch series as >suggested by you in following email thread > >http://www.spinics.net/lists/target-devel/msg12437.html > >This series consists of patches

[target-pending 05/12] cxgb4, iw_cxgb4, cxgb4i: remove duplicate definitions

2016-03-13 Thread Varun Prakash
move struct ulptx_idata definition to common header file t4_msg.h. Signed-off-by: Varun Prakash Signed-off-by: Nicholas Bellinger --- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 9 - drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 5 + drivers/scsi/cxgbi/cxgb4i/cxgb4i.h

[target-pending 04/12] cxgb4, iw_cxgb4: move definitions to common header file

2016-03-13 Thread Varun Prakash
move struct tcp_options, struct cpl_pass_accept_req, enum defining congestion control algorithms and associated macros to common header file t4_msg.h Signed-off-by: Varun Prakash Signed-off-by: Nicholas Bellinger --- drivers/infiniband/hw/cxgb4/t4fw_ri_api.h | 81

[target-pending 02/12] cxgb4: allocate resources for CXGB4_ULD_ISCSIT

2016-03-13 Thread Varun Prakash
allocate rxqs for non T4 adapters, dump rxqs sge qinfo through debugfs. Signed-off-by: Varun Prakash Signed-off-by: Nicholas Bellinger --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 11 - drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 34 +- drivers/net/ethernet

[target-pending 03/12] cxgb4: large receive offload support

2016-03-13 Thread Varun Prakash
add large receive offload(LRO) support for upper layer drivers. Signed-off-by: Varun Prakash Signed-off-by: Nicholas Bellinger --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 14 - drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 42 ++--- drivers/net

[target-pending 01/12] cxgb4: add new ULD type CXGB4_ULD_ISCSIT

2016-03-13 Thread Varun Prakash
Chelsio iSCSI target offload driver will register with cxgb4 driver as ULD of type CXGB4_ULD_ISCSIT. Signed-off-by: Varun Prakash Signed-off-by: Nicholas Bellinger --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet

[target-pending 00/12] cxgb4 changes for cxgbit.ko

2016-03-13 Thread Varun Prakash
Hi Nicholas, I am posting cxgb4 patch series as suggested by you in following email thread http://www.spinics.net/lists/target-devel/msg12437.html This series consists of patches from initial cxgb4 series without any change. Thanks Varun Varun Prakash (12): cxgb4: add

Re: [PATCH net-next v2 1/4] cxgb4/iw_cxgb4/cxgb4i: remove duplicate definitions

2015-04-15 Thread Varun Prakash
On Mon, Apr 13, 2015 at 10:38:08AM -0600, Jason Gunthorpe wrote: > On Mon, Apr 13, 2015 at 07:34:23PM +0530, Varun Prakash wrote: > > define struct ulptx_idata in common header file t4_msg.h > > to remove duplicate definitions. > > The Infiniband side of this patch looks