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
The prefix bit lenght value was not updated, resulting in incorrect addrlabel
entry. This patch fixes that issue.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
ip/ipaddrlabel.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ip/ipaddrlabel.
Krishna Kumar2 wrote:
> Varun Chandramohan <[EMAIL PROTECTED]> wrote on 09/20/2007 08:59:03
> PM:
>
>
>> @@ -2123,6 +2131,7 @@ static int rt6_fill_node(struct sk_buff
>> {
>> struct rtmsg *rtm;
>> struct nlmsghdr *nlh;
>> + struct t
The age field is filled with the current time at the time of creation of the
route. When the routes are dumped
then the age value stored in the route structure is subtracted from the current
time value and the difference is the age expressed in secs.
Signed-off-by: Varun Chandramohan <[EM
: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/ip6_fib.h |1 +
net/ipv6/addrconf.c |5 +
net/ipv6/route.c | 14 ++
3 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index c48ea87..e30a1cf 100644
A new attribute RTA_AGE is added for the age value to be exported to userlevel
using netlink
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include
make it a bit more readable. But i
think you are right. So, in this patchset i have taken care of this issue. Is
this ok?
Regards,
Varun
Original Comment:
According to the RFC 4292 (IP Forwarding Table MIB) there is a need for an age
entry for all the routes in therouting table. The entry in
: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/ip6_fib.h |1 +
include/net/ip6_route.h |3 +++
net/ipv6/addrconf.c |5 +
net/ipv6/route.c| 24
4 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/include/net/ip6_f
A new function for converting timeval to time_t is added in netlink.h. Its a
common function used in differentplaces. The reason for adding this function in
netlink.h is that its used by netlink for stats purpose.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/net
The age field is filled with the current time at the time of creation of the
route. When the routes are dumped
then the age value stored in the route structure is subtracted from the current
time value and the difference is the age expressed in secs.
Signed-off-by: Varun Chandramohan <[EM
A new attribute RTA_AGE is added for the age value to be exported to userlevel
using netlink
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include
Hi Dave,
Iam resending the patch set again. Let me know if you need anything
else.
Regards,
Varun
Original Comment:
According to the RFC 4292 (IP Forwarding Table MIB) there is a need for an age
entry for all the routes in therouting table. The entry in the RFC is
inetCidrRouteAge and
,
Varun
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Dave,
Last week i sent out the rev-3 of the age patch set,
and i got no comments . So i assume the people who reviewed it earlier
are ok with it. Can you please go through it and push it upstream?
Regards,
Varun
-
To unsubscribe from this list: send the line "unsubs
: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/ip6_fib.h |1 +
include/net/ip6_route.h |3 +++
net/ipv6/addrconf.c |5 +
net/ipv6/route.c| 24
4 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/include/net/ip6_f
The age field is filled with the current time at the time of creation of the
route. When the routes are dumped
then the age value stored in the route structure is subtracted from the current
time value and the difference is the age expressed in secs.
Signed-off-by: Varun Chandramohan <[EM
A new function for converting timeval to time_t is added in netlink.h. Its a
common function used in differentplaces. The reason for adding this function in
netlink.h is that its used by netlink for stats purpose.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/net
A new attribute RTA_AGE is added for the age value to be exported to userlevel
using netlink
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include
tion Thomas Graf
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thomas Graf wrote:
> * Varun Chandramohan <[EMAIL PROTECTED]> 2007-08-21 16:52
>
>> I know its a bit confusing but let me explain the reason. In my first
>> version patch i used fn_hash_insert() (place where alias is created)as
>> place to insert my current time
Thomas Graf wrote:
> * Varun Chandramohan <[EMAIL PROTECTED]> 2007-08-20 13:46
>
>> The age field is filled with the current time at the time of creation of the
>> route. When the routes are dumped
>> then the age value stored in the route structure is subtra
Bob Beers wrote:
> What if the name of the function was more descriptive of what the
> function actually does? Maybe timeval_ceil_sec()?
>
Looks ok, it can be done if everyone is ok with it.
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to [
Stephen Hemminger wrote:
> On Mon, 20 Aug 2007 13:45:36 +0530
> Varun Chandramohan <[EMAIL PROTECTED]> wrote:
>
>
>> A new function for converting timeval to time_t is added in time.h. Its a
>> common function used in different
>> places.
>>
&g
: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/ip6_fib.h |1 +
include/net/ip6_route.h |3 +++
net/ipv6/addrconf.c |5 +
net/ipv6/route.c| 24
4 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/include/net/ip6_f
A new function for converting timeval to time_t is added in time.h. Its a
common function used in different
places.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/time.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/include
The age field is filled with the current time at the time of creation of the
route. When the routes are dumped
then the age value stored in the route structure is subtracted from the current
time value and the difference is the age expressed in secs.
Signed-off-by: Varun Chandramohan <[EM
A new attribute RTA_AGE is added for the age value to be exported to userlevel
using netlink
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include
-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Did you mean that the above should be like this?
NLA_PUT_U32(skb, RTA_AGE, (unsigned int) *age);
return tv->tv_sec + (tv->tv_usec ? 1 : 0);
is much faster
So can we say that "usec" is *always *< 100 ?
Regards,
Varun
-
Eric Dumazet wrote:
> Varun Chandramohan a écrit :
>> Eric Dumazet wrote:
>>> Varun Chandramohan a écrit :
>>>> The age field is filled with the current time at the time of creation
>>>> of the route. When the routes are dumped
>>>> then the
Eric Dumazet wrote:
> Varun Chandramohan a écrit :
>> The age field is filled with the current time at the time of creation
>> of the route. When the routes are dumped
>> then the age value stored in the route structure is subtracted from
>> the current time value an
clarity is added as per
suggestion.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/net/ip6_fib.h |1 +
include/net/ip6_route.h |3 +++
net/ipv6/addrconf.c |5 +
net/ipv6/route.c| 23 +++
4 files changed, 28 insertions(+), 4 del
A new function for converting timeval to time_t is added in time.h. Its a
common function used in different
places. The timeout is now rounded up as per the suggestion.
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/time.h | 11 +++
1 files chang
A new attribute RTA_AGE is added for the age value to be exported to userlevel
using netlink
Signed-off-by: Varun Chandramohan <[EMAIL PROTECTED]>
---
include/linux/rtnetlink.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/rtnetlink.h b/include
The age field is filled with the current time at the time of creation of the
route. When the routes are dumped
then the age value stored in the route structure is subtracted from the current
time value and the difference is the age expressed in secs.
Signed-off-by: Varun Chandramohan <[EM
1 - 100 of 117 matches
Mail list logo