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:
parent
3a6ee8dafb
commit
76f1481bd1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user