[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1266407905.3799.24.camel@bigi>
Date: Wed, 17 Feb 2010 06:58:25 -0500
From: jamal <hadi@...erus.ca>
To: Benny Amorsen <benny+usenet@...rsen.dk>
Cc: Patrick McHardy <kaber@...sh.net>, timo.teras@....fi,
herbert@...dor.apana.org.au, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [net-next-2.6 PATCH 1/7] xfrm: introduce basic mark
infrastructure
On Tue, 2010-02-16 at 22:56 +0100, Benny Amorsen wrote:
> jamal <hadi@...erus.ca> writes:
> > ip route add blah blah mark 0x10
>
> Exactly.
>
> > and that the routing core will use the mark to (as it does for example
> > with ifindex) to pick the route? I like the idea for the simple fact it
> > will reduce immensely configuration in some cases..
>
> It would certainly be handy for me...
>
I would certainly be interested in adding this feature for the reasons
described above.
An additional interesting connection would be to tie this feature to
grouping of netdevices for the purpose of multipath routing. This would
be the same as what we do currently with bindtodevice but on a group
instead of a single netdevice. It would require to also have general
purpose netdev->mark to group multiple netdevices (for this case).
The dev->mark could also be handy for other things (which have not
been efficiently solved in the past); example, i could add mark 0x10 to
all ppp* devices and then do "ip link ls mark 0x10" and it would only
fetch ppp* (or for shit-and-giggles as some New Brunswickians like to
say, ip link mark 0x10 down)
Patrick, thoughts? see anything breaking from either feature?
cheers,
jamal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists