All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
To: David Miller <davem@davemloft.net>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>,
	roopa@cumulusnetworks.com, shm@cumulusnetworks.com,
	sashok@cumulusnetworks.com, sharpd@cumulusnetworks.com,
	kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org,
	kaber@trash.net
Subject: Re: [PATCH net-next v2] net: ipmr/ip6mr: add support for keeping an entry age
Date: Fri, 15 Jul 2016 23:11:15 -0700	[thread overview]
Message-ID: <8FE06EF5-DBAA-4915-938B-A7B7736E5E35@cumulusnetworks.com> (raw)
In-Reply-To: <20160715.225608.440125257853766623.davem@davemloft.net>


> On Jul 15, 2016, at 10:56 PM, David Miller <davem@davemloft.net> wrote:
> 
> From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
> Date: Thu, 14 Jul 2016 19:28:27 +0300
> 
>> In preparation for hardware offloading of ipmr/ip6mr we need an
>> interface that allows to check (and later update) the age of entries.
>> Relying on stats alone can show activity but not actual age of the entry,
>> furthermore when there're tens of thousands of entries a lot of the
>> hardware implementations only support "hit" bits which are cleared on
>> read to denote that the entry was active and shouldn't be aged out,
>> these can then be naturally translated into age timestamp and will be
>> compatible with the software forwarding age. Using a lastuse entry doesn't
>> affect performance because the members in that cache line are written to
>> along with the age.
>> Since all new users are encouraged to use ipmr via netlink, this is
>> exported via the RTA_EXPIRES attribute.
>> Also do a minor local variable declaration style adjustment - arrange them
>> longest to shortest.
>> 
>> Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
>> CC: Roopa Prabhu <roopa@cumulusnetworks.com>
>> CC: Shrijeet Mukherjee <shm@cumulusnetworks.com>
>> CC: Satish Ashok <sashok@cumulusnetworks.com>
>> CC: Donald Sharp <sharpd@cumulusnetworks.com>
>> CC: David S. Miller <davem@davemloft.net>
>> CC: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
>> CC: James Morris <jmorris@namei.org>
>> CC: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
>> CC: Patrick McHardy <kaber@trash.net>
>> ---
>> v2: Just reuse RTA_EXPIRES instead to minimize the attr size and simplify,
>> others will be added when needed
> 
> Why are your dates on these changes in the past?
> 
> Having them in the past messes up the ordering on patchwork because
> patchwork orders incoming patches by date, and therefore I can't just
> look at the first page to see "newer" submissions.
> 
> So please don't do whatever propagates commit dates into your emails,
> or whatever is causing this problem.  It's best always to use the
> current time.

Hmm, it seems my VM has its time zone messed up and since I’m in California right now the dates
come out wrong. Sorry about that, would you like me to resubmit the patch ?

Thanks,
 Nik

  reply	other threads:[~2016-07-16  6:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 15:08 [PATCH net-next] net: ipmr/ip6mr: add support for keeping an entry age Nikolay Aleksandrov
2016-07-14 16:28 ` [PATCH net-next v2] " Nikolay Aleksandrov
2016-07-16  5:56   ` David Miller
2016-07-16  6:11     ` Nikolay Aleksandrov [this message]
2016-07-16  6:21       ` David Miller
2016-07-17  3:20   ` David Miller
2016-07-15 23:19 ` [PATCH net-next] " Nikolay Aleksandrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8FE06EF5-DBAA-4915-938B-A7B7736E5E35@cumulusnetworks.com \
    --to=nikolay@cumulusnetworks.com \
    --cc=davem@davemloft.net \
    --cc=jmorris@namei.org \
    --cc=kaber@trash.net \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@cumulusnetworks.com \
    --cc=sashok@cumulusnetworks.com \
    --cc=sharpd@cumulusnetworks.com \
    --cc=shm@cumulusnetworks.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.