diff options
author | Simon Horman <simon.horman@netronome.com> | 2016-11-11 14:31:07 +0100 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2016-11-15 10:12:55 +0100 |
commit | 56a56874de0b5fe88cc7bebd9d46f09d928484f8 (patch) | |
tree | 07a771c8fbc0431ee4e5e79ef657494b008c74a8 /lib/dpif-netdev.c | |
parent | 44975bb06f6476e18d7c5a06947650eee10a830e (diff) | |
download | openvswitch-56a56874de0b5fe88cc7bebd9d46f09d928484f8.tar.gz |
dpif-provider: Use ODPP_NONE in dp_netdev_flow_add()
This appears to be the only place where ODPP_NONE is not used but could be.
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'lib/dpif-netdev.c')
-rw-r--r-- | lib/dpif-netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 742e128fd..f69f86d2e 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -2263,7 +2263,7 @@ dp_netdev_flow_add(struct dp_netdev_pmd_thread *pmd, netdev_flow_key_init_masked(&flow->cr.flow, &match->flow, &mask); /* Select dpcls for in_port. Relies on in_port to be exact match */ - ovs_assert(match->wc.masks.in_port.odp_port == ODP_PORT_C(UINT32_MAX)); + ovs_assert(match->wc.masks.in_port.odp_port == ODPP_NONE); cls = dp_netdev_pmd_find_dpcls(pmd, in_port); dpcls_insert(cls, &flow->cr, &mask); |