[ovs-discuss] segmentation fault when adding a VF in DPDK to a switch

Riccardo Ravaioli riccardoravaioli at gmail.com
Thu Jan 11 00:27:43 UTC 2018


Hi,

I was going through the openvswitch+dpdk tutorial and wanted to add a
virtual function (VF) to a bridge as a dpdk interface.

I can bind the VF to the vfio-pci driver successfully with dpdk-devbind.py,
but as soon as I add the interface to an ovs bridge (in netdev mode),
openvswitch goes in segmentation fault and continuously tries to restart
itself.

I'm running openvswitch 2.8.1 and dpdk 17.11 on Debian jessie with Linux
kernel 4.6.

Is this a known problem? Is there a fix?
I have the same issue with VFs bound to igb_uio, whereas with real physical
interfaces it works just fine.

Here are the relevant lines from ovs-vswitchd.log:

2018-01-10T15:53:26.949Z|00157|dpdk|INFO|PMD: igbvf_dev_configure(): VF
can't disable HW CRC Strip
2018-01-10T15:53:26.949Z|00158|netdev_dpdk|ERR|Interface 0.extra2 MTU
(1500) setup error: Operation not supported
2018-01-10T15:53:26.949Z|00159|netdev_dpdk|ERR|Interface 0.extra2(rxq:1
txq:1) configure error: Operation not supported
2018-01-10T15:53:27.333Z|00066|daemon_unix(monitor)|ERR|fork child died
before signaling startup (killed (Segmentation fault))
2018-01-10T15:53:27.333Z|00067|daemon_unix(monitor)|WARN|23 crashes: pid
21413 died, killed (Segmentation fault), core dumped, waiting until 10
seconds since last restart
2018-01-10T15:53:33.333Z|00068|daemon_unix(monitor)|ERR|23 crashes: pid
21413 died, killed (Segmentation fault), core dumped, restarting

Thanks!

Riccardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180111/0250e428/attachment.html>


More information about the discuss mailing list