2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

netdev: Clean up class initialization.

The macros are hard to read.  This makes it a little more readable.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
This commit is contained in:
Ben Pfaff
2018-08-15 10:38:09 -07:00
committed by Ian Stokes
parent 74cd69a479
commit 89c09c1cd1
8 changed files with 360 additions and 572 deletions

View File

@@ -25,6 +25,10 @@ struct dp_packet;
#ifdef DPDK_NETDEV
#define DPDK_FLOW_OFFLOAD_API \
.flow_put = netdev_dpdk_flow_put, \
.flow_del = netdev_dpdk_flow_del
void netdev_dpdk_register(void);
void free_dpdk_buf(struct dp_packet *);