diff options
author | Xavier Simonart <simonartxavier@gmail.com> | 2022-02-20 00:50:56 +0000 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@chenapan.org> | 2022-12-28 21:56:36 +0000 |
commit | 5efd9d81ff920b8eb546721eb6c2502ce6e887d3 (patch) | |
tree | 45d3bbe79e8977f44c9aa08e0bf98c990e89dcf5 /VNFs/DPPD-PROX/commands.c | |
parent | b950110b2a8a23ac498deef1bebca643f80c38b1 (diff) |
Fix tons of deprecation warnings
reported since DPDK 20.11, 21.05, 21.11 and 22.03, and
turned into undeclared symbol errors with DPDK 22.11.
Signed-off-by: Xavier Simonart <simonartxavier@gmail.com>
Signed-off-by: Patrice Buriez <patrice.buriez@chenapan.org>
Change-Id: Ice9a0f662ee057211984f799010701cd81e5a4d0
Diffstat (limited to 'VNFs/DPPD-PROX/commands.c')
-rw-r--r-- | VNFs/DPPD-PROX/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/commands.c b/VNFs/DPPD-PROX/commands.c index 1c4d7020..af76a66e 100644 --- a/VNFs/DPPD-PROX/commands.c +++ b/VNFs/DPPD-PROX/commands.c @@ -1012,7 +1012,7 @@ void cmd_set_vlan_offload(uint8_t port_id, unsigned int val) } plog_info("setting vlan offload to %d\n", val); - if (val & ~(ETH_VLAN_STRIP_OFFLOAD | ETH_VLAN_FILTER_OFFLOAD | ETH_VLAN_EXTEND_OFFLOAD)) { + if (val & ~(RTE_ETH_VLAN_STRIP_OFFLOAD | RTE_ETH_VLAN_FILTER_OFFLOAD | RTE_ETH_VLAN_EXTEND_OFFLOAD)) { plog_info("wrong vlan offload value\n"); } int ret = rte_eth_dev_set_vlan_offload(port_id, val); |