[PATCH v2 4/6] net/vhost: make VLAN stripping flag a boolean
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Jun 8 14:49:44 CEST 2022
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 at redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia at intel.com>
---
drivers/net/vhost/rte_eth_vhost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
--
2.35.3
More information about the dev
mailing list