[ovs-dev] [PATCH V2 1/1] dpif-netlink: Log eth type 0x1234 not offloadable

Eli Britstein elibr at mellanox.com
Wed Jul 3 04:58:06 UTC 2019


Ethernet type 0x1234 is used for testing and not being offloadable. For
testing offloadable features, log about using this value.

Signed-off-by: Eli Britstein <elibr at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Eli Britstein <elibr at mellanox.com>
---
 lib/dpif-netlink.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
index ba80a0079..a0d51ae61 100644
--- a/lib/dpif-netlink.c
+++ b/lib/dpif-netlink.c
@@ -2007,6 +2007,7 @@ parse_flow_put(struct dpif_netlink *dpif, struct dpif_flow_put *put)
 
     /* When we try to install a dummy flow from a probed feature. */
     if (match.flow.dl_type == htons(0x1234)) {
+        VLOG_INFO_RL(&rl, "eth 0x1234 is special and not offloadable");
         return EOPNOTSUPP;
     }
 
-- 
2.17.2



More information about the dev mailing list