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:
@@ -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 *);
|
||||
|
||||
|
Reference in New Issue
Block a user