Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2023 09:51:38 +0800
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   About IFNET_PCP_NONE
Message-ID:  <DC95210D-FFB4-461C-BCD0-50E47DF263EF@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Hi Konstantin,


I was just about going to open a PR for =
https://reviews.freebsd.org/D39536 and
realized I might made wrong assumption.

I thought IFNET_PCP_NONE is something like IEEE8021Q_PCP_BE but I second =
why not
use IEEE8021Q_PCP_BE but a new const IFNET_PCP_NONE.

So despite its naming IFNET_PCP_NONE, is it actually a flag to let =
specific interface
completely bypass (disable) PCP processing?

The const IFNET_PCP_NONE is defined in sys/net/if.h with=20
```
#define IFNET_PCP_NONE 0xff   /* PCP disabled */
```


Best regards,
Zhenlei




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC95210D-FFB4-461C-BCD0-50E47DF263EF>