[ovs-dev] [PATCH] ovs-dpctl: Do not report pmd info for 'dpif-netlink' datapath.

Ben Pfaff blp at nicira.com
Tue Feb 3 22:55:29 UTC 2015


On Mon, Feb 02, 2015 at 03:03:32PM -0800, Alex Wang wrote:
> In 'ovs-dpctl dump-flows' output, we should only report the pmd
> related info for 'dpif-netdev' datapath.  However, current
> implementation also reports uninitialized pmd info for
> 'dpif-netlink' datapath, which is very confusing to users.
> 
> This commit fixes it.
> 
> Signed-off-by: Alex Wang <alexw at nicira.com>

It seems like another alternative would be for this code to just skip
printing pmd ids when they're PMD_ID_NULL.  If we do that, can we avoid
adding a special case for netdev_dpif here?



More information about the dev mailing list