libc/newlib/libc/sys
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
..
a29khif Add nvptx port. 2018-04-13 15:42:37 -04:00
arm Add nvptx port. 2018-04-13 15:42:37 -04:00
d10v Add nvptx port. 2018-04-13 15:42:37 -04:00
decstation Add nvptx port. 2018-04-13 15:42:37 -04:00
epiphany Add nvptx port. 2018-04-13 15:42:37 -04:00
h8300hms Add nvptx port. 2018-04-13 15:42:37 -04:00
h8500hms Add nvptx port. 2018-04-13 15:42:37 -04:00
linux Add nvptx port. 2018-04-13 15:42:37 -04:00
m88kbug Add nvptx port. 2018-04-13 15:42:37 -04:00
mmixware Add nvptx port. 2018-04-13 15:42:37 -04:00
netware Add nvptx port. 2018-04-13 15:42:37 -04:00
or1k Add nvptx port. 2018-04-13 15:42:37 -04:00
phoenix Add nvptx port. 2018-04-13 15:42:37 -04:00
rdos Add nvptx port. 2018-04-13 15:42:37 -04:00
rtems Allow to specify PCP on packets not belonging to any VLAN. 2018-08-24 15:00:03 +02:00
sh Add nvptx port. 2018-04-13 15:42:37 -04:00
sparc64 Add nvptx port. 2018-04-13 15:42:37 -04:00
sun4 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysmec Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnec810 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnecv850 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvi386 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvnecv70 Add nvptx port. 2018-04-13 15:42:37 -04:00
tic80 Add nvptx port. 2018-04-13 15:42:37 -04:00
tirtos Add nvptx port. 2018-04-13 15:42:37 -04:00
w65 Add nvptx port. 2018-04-13 15:42:37 -04:00
z8ksim Add nvptx port. 2018-04-13 15:42:37 -04:00
Makefile.am Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01: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 Add port for Phoenix-RTOS in common configure files. 2016-05-09 15:23:58 -04:00