dpif-netlink: Suppress DPIF_FP_PROBE here instead of in ofproto-dpif.
authorBen Pfaff <blp@nicira.com>
Sat, 11 Jul 2015 15:27:43 +0000 (08:27 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 13 Jul 2015 15:12:59 +0000 (08:12 -0700)
commit0c594f51167ae13dfd69e4e8d63992955d24213a
treeedfcffedaf4f809c65e98f052e3884464f754315
parentd830e982cea9b9417b89719b06794d16faafff8b
dpif-netlink: Suppress DPIF_FP_PROBE here instead of in ofproto-dpif.

Commit 22b4ccf4f (ofproto-dpif: Don't try to use dpif_probe_feature() with
Windows datapath.) stopped ofproto-dpif from trying to use the DPIF_FP_PROBE
feature of the datapath interface, because it doesn't work with Windows
yet.  However, it was *too* broad--it also stopped ofproto-dpif from
using DPIF_FP_PROBE with the netdev datapath, which still does support
DPIF_FP_PROBE on Windows.  This commit moves disabling DPIF_FP_PROBE a
couple of layers down, to a place where the two datapaths can be easily
distinguished.

Reported-by: Gurucharan Shetty <shettyg@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
lib/dpif-netlink.c
ofproto/ofproto-dpif.c