libc/newlib/libc/sys/rtems
kib b0250c7356 Allow to specify PCP on packets not belonging to any VLAN.
According to 802.1Q-2014, VLAN tagged packets with VLAN id 0 should be
considered as untagged, and only PCP and DEI values from the VLAN tag
are meaningful.  See for instance
https://www.cisco.com/c/en/us/td/docs/switches/connectedgrid/cg-switch-sw-master/software/configuration/guide/vlan0/b_vlan_0.html.

Make it possible to specify PCP value for outgoing packets on an
ethernet interface.  When PCP is supplied, the tag is appended, VLAN
id set to 0, and PCP is filled by the supplied value.  The code to do
VLAN tag encapsulation is refactored from the if_vlan.c and moved into
if_ethersubr.c.

Drivers might have issues with filtering VID 0 packets on
receive.  This bug should be fixed for each driver.

Reviewed by:	ae (previous version), hselasky, melifaro
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D14702
2018-08-24 15:00:03 +02:00
..
include Allow to specify PCP on packets not belonging to any VLAN. 2018-08-24 15:00:03 +02:00
Makefile.am Add some POSIX header files for RTEMS 2017-05-25 12:41:33 -04:00
Makefile.in Add some POSIX header files for RTEMS 2017-05-25 12:41:33 -04:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure Add nvptx port. 2018-04-13 15:42:37 -04:00
configure.in 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> 2006-04-13 19:56:32 +00:00
cpusetalloc.c 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-11-27 14:53:59 +00:00
cpusetfree.c 2013-11-27 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-11-27 14:53:59 +00:00
crt0.c RTEMS: Add __tls_get_addr() to crt0 2018-08-20 13:54:22 +02:00
dummysys.c import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00