4 Replies Latest reply on Jan 11, 2018 12:53 AM by Intel Corporation

    will ixgbe driver support ndo_set_vf_link_state defined in struct net_device_ops?

    agreatwar

      my nic is 2 port x520: lspci | grep Ethernet

      41:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

      41:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)

       

      sr-iov enabled via : echo 4 > /sys/class/net/p1p1/device/sriov_numvfs

      ip link show p1p1

       

      p1p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000

          link/ether 38:4c:4f:29:08:fc brd ff:ff:ff:ff:ff:ff

          vf 0 MAC 52:54:00:13:25:bc, vlan 99, spoof checking on, link-state auto, trust off, query_rss off

          vf 1 MAC 52:54:00:46:20:35, vlan 99, spoof checking on, link-state auto, trust off, query_rss off

          vf 2 MAC 52:04:0a:08:01:01, spoof checking on, link-state auto, trust off, query_rss off

          vf 3 MAC 52:04:0a:08:01:02, spoof checking on, link-state auto, trust off, query_rss off

       

      and failed set link-state via: ip link set p1p1 vf 0 state enable

      RTNETLINK answers: Operation not supported

       

      i am using CentOS 7.4, and checked in ixgbe driver source from centos,there is no ndo_set_vf_link_state handler.

      i also checked ixgbe driver from intel driver download from version 3.x to version 5.3.4(latest for now), and no ndo_set_vf_link_state implemention.

       

      is there a plan to support ndo_set_vf_link_state? or some patch available?

       

      thanks a lot.