net: use named constants for deprecated QinQ TPIDs
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 19 Jun 2020 09:21:15 +0000 (10:21 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit5cf04fd15ab7d6f00ff6b48188add10a184abe9e
treea7bf7b3b86eff326ec1db4721a00dd1fe68e8e66
parent3a164e002af00a6c1f2f06f4d86a6d383d1d08f7
net: use named constants for deprecated QinQ TPIDs

Add named constants for deprecated QinQ TPIDs.
Update drivers which have already been using existing
TPID named constants from librte_net to use the
new named constants rather than magic numbers.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/bnxt/bnxt_ethdev.c
lib/librte_net/rte_ether.h