ethdev: replace single bit masks with macros
authorAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Fri, 22 Oct 2021 07:30:02 +0000 (10:30 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 22 Oct 2021 16:36:34 +0000 (18:36 +0200)
commit4852c647d104c65efe8552186b9853a920f0bfa6
tree41122e26fe8a9e54b89709563cef4168abde9b9c
parent295968d1740760337e16b0d7914875c5cac52850
ethdev: replace single bit masks with macros

The macros RTE_BIT32 and RTE_BIT64 are used to replace single bit masks.

Do not switch VLAN offload flags since type is not fixed size.

Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/ethdev/rte_ethdev.h