[ovs-dev] [PATCH 3/3] netdev-dpdk: set_miimon should return EOPNOTSUPP
Mark D. Gray
mark.d.gray at intel.com
Fri Feb 13 10:00:58 UTC 2015
From: "Mark D. Gray" <mark.d.gray at intel.com>
According to netdev-provider, this function should return
EOPNOTSUPP if not supported.
Signed-off-by: Mark D. Gray <mark.d.gray at intel.com>
---
lib/netdev-dpdk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 391695f..aea2016 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -1116,7 +1116,7 @@ static int
netdev_dpdk_set_miimon(struct netdev *netdev_ OVS_UNUSED,
long long int interval OVS_UNUSED)
{
- return 0;
+ return EOPNOTSUPP;
}
static int
--
1.9.3
More information about the dev
mailing list