diff mbox series

[ovs-dev,4/5] netdev-dpdk: Add flow_api support for netdev geneve vports

Message ID 20220816125009.508053-5-simon.horman@corigine.com
State Superseded
Headers show
Series netdev-offload-dpdk: update rte_flow phases 1 and 2 | expand

Checks

Context Check Description
ovsrobot/apply-robot warning apply and check: warning
ovsrobot/github-robot-_Build_and_Test success github build: passed

Commit Message

Simon Horman Aug. 16, 2022, 12:50 p.m. UTC
From: Chaoyong He <chaoyong.he@corigine.com>

Add the acceptance of geneve devices to
netdev_dpdk_flow_api() API, to allow offloading of
DPDK geneve devices.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
---
 lib/netdev-dpdk.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

0-day Robot Aug. 16, 2022, 1:10 p.m. UTC | #1
References:  <20220816125009.508053-5-simon.horman@corigine.com>
 

Bleep bloop.  Greetings Simon Horman, I am a robot and I have tried out your patch.
Thanks for your contribution.

I encountered some error that I wasn't expecting.  See the details below.


checkpatch:
WARNING: Unexpected sign-offs from developers who are not authors or co-authors or committers: Simon Horman <simon.horman@corigine.com>
Lines checked: 33, Warnings: 1, Errors: 0


Please check this out.  If you feel there has been an error, please email aconole@redhat.com

Thanks,
0-day Robot
diff mbox series

Patch

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 0dd655507b50..8ee51df98fc4 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -5201,7 +5201,8 @@  netdev_dpdk_flow_api_supported(struct netdev *netdev)
     bool ret = false;
 
     if ((!strcmp(netdev_get_type(netdev), "vxlan") ||
-         !strcmp(netdev_get_type(netdev), "gre")) &&
+         !strcmp(netdev_get_type(netdev), "gre") ||
+         !strcmp(netdev_get_type(netdev), "geneve")) &&
         !strcmp(netdev_get_dpif_type(netdev), "netdev")) {
         ret = true;
         goto out;