On Wed, 10 Jan 2018 14:15:49 +0800
Wenzhuo Lu <wenzhuo...@intel.com> wrote:

> +
> +#define AVF_MAX_NUM_QUEUES       16
> +/* Vlan table size */
> +#define AVF_VLAN_TB_SIZE               (4096 / (CHAR_BIT * sizeof(uint32_t)))

You could use ETHER_MAX_VLAN_ID (which is 4095).
Also it is most efficient if bit tables use unsigned long to access.

Reply via email to