linux_dsm_epyc7002/net/mpls
Eric W. Biederman 7720c01f3f mpls: Add a sysctl to control the size of the mpls label table
This sysctl gives two benefits.  By defaulting the table size to 0
mpls even when compiled in and enabled defaults to not forwarding
any packets.  This prevents unpleasant surprises for users.

The other benefit is that as mpls labels are allocated locally a dense
table a small dense label table may be used which saves memory and
is extremely simple and efficient to implement.

This sysctl allows userspace to choose the restrictions on the label
table size userspace applications need to cope with.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-04 00:26:06 -05:00
..
af_mpls.c mpls: Add a sysctl to control the size of the mpls label table 2015-03-04 00:26:06 -05:00
internal.h mpls: Basic routing support 2015-03-04 00:26:06 -05:00
Kconfig mpls: Basic routing support 2015-03-04 00:26:06 -05:00
Makefile mpls: Basic routing support 2015-03-04 00:26:06 -05:00
mpls_gso.c net: mark some potential candidates __read_mostly 2015-01-30 17:58:39 -08:00