Hi All, I am using "Ethernet Controller X710 for 10GbE SFP+" SRIOV NIC card on the host with 8 VFs. Out of these VFs two VFs are associated with a VM, one VF is bound to Linux kernel driver i40evf and another is bound to dpdk pmd i.e. igb_uio. when there is a link fault on the hardware nic, the fault is not detected for the VF that is bound to dpdk. Instead it is detecting medium change from 10GBase-SR to 100BASE-TXFD. Is there any configuration, that will allow me to detect the link state on hardware NIC in the VM ?
Basically I want to get the Link change notification on the dpdk application in VM. I tried to register for the link state change interrupt but the "rte_eth_dev_configure" fails with error code -22 I believe link-state auto actually means replicate PF link-state to VF Current Config : [root@ironman tmp]# ip link show p2p2 34: p2p2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000 link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff vf 0 MAC xx:xx:xx:xx:xx:01, spoof checking on, link-state auto, trust off vf 1 MAC xx:xx:xx:xx:xx:02, spoof checking on, link-state auto, trust off vf 2 MAC xx:xx:xx:xx:xx:03, spoof checking on, link-state auto, trust off vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off vf 7 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off Regards, Tushar