mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
netdev-dpdk: Drop offload API for vhost ports.
vhost ports are not DPDK eth ports and has no rte_flow API.
Stop calling this API with DPDK_ETH_PORT_ID_INVALID to
avoid time wasting and errors in log.
Additionally, DPDK_FLOW_OFFLOAD_API definition moved to .c
file, because there is no need to expose it in header.
CC: Finn Christensen <fc@napatech.com>
Fixes: e8a2b5bf92
("netdev-dpdk: implement flow offload with rte flow")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
This commit is contained in:
committed by
Ian Stokes
parent
af26093ab1
commit
c0af6425d7
@@ -25,10 +25,6 @@ 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