netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Duyck <alexander.duyck@gmail.com>
To: Scott Feldman <sfeldma@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	"alexander.h.duyck@redhat.com" <alexander.h.duyck@redhat.com>,
	Netdev <netdev@vger.kernel.org>
Subject: Re: I can tell no FIB
Date: Thu, 05 Mar 2015 16:20:43 -0800	[thread overview]
Message-ID: <54F8F2DB.5070901@gmail.com> (raw)
In-Reply-To: <CAE4R7bB1Z_gBbaUQLXz2FRS3SSVZp__n-PNnGfX16-Apscf=YA@mail.gmail.com>

On 03/05/2015 04:07 PM, Scott Feldman wrote:
> On Thu, Mar 5, 2015 at 2:01 PM, Alexander Duyck
> <alexander.duyck@gmail.com> wrote:
>> On 03/05/2015 01:27 PM, David Miller wrote:
>>> From: Alexander Duyck <alexander.duyck@gmail.com>
>>> Date: Thu, 05 Mar 2015 13:17:54 -0800
>>>
>>>> On 03/05/2015 12:49 PM, Scott Feldman wrote:
>>>>> Hi Alex, turns out you're required to take a mandatory week-long
>>>>> vacation after your fourth patch set to net/ipv4/fib_*.  See you in a
>>>>> week!  Take lots of pictures.
>>>>>
>>>>> -scott
>>>> Well I have one more set of 9 and then I will stop for a while.  I was
>>>> planning to send it later tonight.  Then I can probably take that
>>>> week-long vacation..
>>>>
>>>> I'm going to drop the portion of the patches I had where I was
>>>> up-levelling the key vector since I still don't have a solution for the
>>>> extra costs of insertion/deletion from the trie.  Also I don't think it
>>>> would work well with the merge of the main and local tries if that is
>>>> the route we are planning to take.
>>> Ok, where do you want to place the main/local tree patch then?
>>>
>>> Scott's L3 work logically depends upon that, and actually I think
>>> Scott is sending you on vacation so that he doesn't have to rebase so
>>> much :-)
>> Yeah, I kind of figured that might be the case.  If needed I can hold
>> off for a day or so while Scott gets the FIB offloading stuff in and I
>> could just submit the remaining 9 plus the main/local merge patch as an
>> RFC so that it can be reviewed while the offload stuff is accepted.
> Holding off for a day or two would help; I think my next v4 set I'm
> testing now and sending later today will stick.

Well the last batch of patches are out there, but there isn't any rush
on them.  If need be Dave can just leave them in review until we get the
thumbs up or down on the v4 changes since I think you and I are probably
the only two patching that region for now.  I suspect the changes
shouldn't be as bad as the past patches have been since most of it is
just reworking structures and updating the resize code.

> I think I've had to rebase my FIB changes 3 times so far, and it's
> getting harder each time because more is moving around as you peel the
> onion.  But your work is awesome, so don't take it the wrong way.

Yeah, a lot of it was pretty messy since I was having to untangle some
messed up code.

> I'll need you to review my v4 changes in fib_trie.c.  I had to clone
> your new fib_table_flush() to make one to clear out external FIB
> entries (those FIB entries that where offloaded externally).  I'm not
> happy with the duplication of code, but I wasn't seeing a clean way to
> break it apart.  You have a goto jumping back into the middle of a
> while loop, and my tiny brain can't deal with that.  :)  I'm hoping
> you can look at it and see a way to minimize duplicate code.

Just CC me on the patches and I will look them over when you submit
them.  You may want to consider just adding a flag field to
fib_table_flush call since the determining factor for dropping a
fib_alias is based on if the fib_info has the RTNH_F_DEAD flag set, you
could pass that flag to the legacy callers for fib_table_flush and pass
RTNH_F_EXTERNAL for your new call.

> Thanks Alex.
>
> -scott

No problem, as is things for me are winding down in terms of the FIB. 
I'm just flushing my backlog at this point so as long as I can get the
last 9 flushed out before net-next closes I'll be good.

- Alex

  reply	other threads:[~2015-03-06  0:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 20:49 I can tell no FIB Scott Feldman
2015-03-05 21:01 ` Dave Taht
2015-03-05 23:44   ` Alexander Duyck
2015-03-05 21:17 ` Alexander Duyck
2015-03-05 21:27   ` David Miller
2015-03-05 22:01     ` Alexander Duyck
2015-03-06  0:07       ` Scott Feldman
2015-03-06  0:20         ` Alexander Duyck [this message]
2015-03-06  3:20           ` David Miller
2015-03-06  5:34             ` Scott Feldman

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=54F8F2DB.5070901@gmail.com \
    --to=alexander.duyck@gmail.com \
    --cc=alexander.h.duyck@redhat.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sfeldma@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).