[ovs-dev] [PATCH v4] netdev-vport: Use the dst_port in tunnel netdev name

Ben Pfaff blp at ovn.org
Mon Apr 15 19:47:10 UTC 2019


On Sat, Apr 13, 2019 at 04:09:37PM +0800, Chris Mi wrote:
> If tunnel device dst_port is not the default one, "ovs-dpctl dump-flows"
> will fail. The error message for vxlan is:
> 
> netdev_linux|INFO|ioctl(SIOCGIFINDEX) on vxlan_sys_4789 device failed: No such device
> 
> That's because when calling netdev_vport_construct() for netdev
> vxlan_sys_xxxx, the default dst_port is used. Actually, the dst_port
> value is in the netdev name. Use it to avoid the error.
> 
> Signed-off-by: Chris Mi <chrism at mellanox.com>
> Reviewed-by: Roi Dayan <roid at mellanox.com>

Thanks, applied to master.


More information about the dev mailing list