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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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-
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
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
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
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
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
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
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-
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
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
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
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
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
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
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 +
> >
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
> > ---
>
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
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
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
66 matches
Mail list logo