frr/zebra/dpdk/zebra_dplane_dpdk.h
EasyNetDev 0e040960d7
zebra: Update Zebra for DPDK >=22.11 API
* Starting from version DPDK 22.11 we have API changes:
The rte_driver and rte_device objects are now opaque and must be manipulated through added accessors.

We need to update Zebra DPDK sources to DPDK version >=22.11

* Fix clang-format

Signed-off-by: EasyNet <devel@easynet.dev>
2024-05-16 14:26:26 +03:00

26 lines
559 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Zebra dataplane plugin for DPDK based hw offload
*
* Copyright (C) 2021 Nvidia
* Anuradha Karuppiah
*/
#ifndef _ZEBRA_DPLANE_DPDK_H
#define _ZEBRA_DPLANE_DPDK_H
#include <zebra.h>
#define ZD_DPDK_INVALID_PORT 0xffff
extern void zd_dpdk_pbr_flows_show(struct vty *vty);
extern void zd_dpdk_port_show(struct vty *vty, uint16_t port_id, bool uj,
int detail);
extern void zd_dpdk_stat_show(struct vty *vty);
extern void zd_dpdk_vty_init(void);
extern struct zebra_privs_t zserv_privs;
#endif