今天在内核源码的时候在vlan_skb_recv中看到这个注释
/* If the VLAN device is defined, we use it.
* If not, and the VID is 0, it is a 802.1p packet (not
* really a VLAN),
*/
这句话什么意思呢?是没有创建vlan,报文也会带有优先级,用的是默认的vlan 0吗?还是要怎么设置才能在没有创建vlan的情况下报文带有优先级?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |