net/vhost: make VLAN stripping flag a boolean

This trivial patch makes the vlan_strip field of the
pmd_internal struct a boolean, since it is handled as
such.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
This commit is contained in:
Maxime Coquelin 2022-06-08 14:49:44 +02:00
parent 3a6ee8dafb
commit 76f1481bd1

View File

@ -88,7 +88,7 @@ struct pmd_internal {
uint16_t max_queues;
int vid;
rte_atomic32_t started;
uint8_t vlan_strip;
bool vlan_strip;
};
struct internal_list {