From: Maxime Coquelin Date: Wed, 8 Jun 2022 12:49:44 +0000 (+0200) Subject: net/vhost: make VLAN stripping flag a boolean X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=76f1481bd15a87762841804fb7828aff26c617d8;p=dpdk.git 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 Reviewed-by: Chenbo Xia --- diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 1620e30df8..e931d59053 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -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 {