[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181118175253.GB7446@lunn.ch>
Date: Sun, 18 Nov 2018 18:52:53 +0100
From: Andrew Lunn <andrew@...n.ch>
To: David Ahern <dsahern@...il.com>
Cc: "Md. Islam" <mislam4@...t.edu>, Netdev <netdev@...r.kernel.org>,
Jesper Dangaard Brouer <brouer@...hat.com>,
David Miller <davem@...emloft.net>,
Stephen Hemminger <stephen@...workplumber.org>,
john fastabend <john.fastabend@...il.com>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>
Subject: Re: [PATCH RFC net-next] net: SAIL based FIB lookup for XDP
> > + * The router can have upto 255 ports. This limitation
> > + * allows us to represent netdev_index as an u8
> > + */
> > +#define NETDEV_COUNT_MAX 255
>
> ... 255 is high for a physical port count but not a logical device
> count. In the presence of VLANs 255 is nothing and VLANs are an
> essential deployment feature.
I agree with David here. Doing some network simulation work using
namespaces, i've had more than 255 devices in the root namespace.
Andrew
Powered by blists - more mailing lists