[dpdk-users] net/i40e VF state does not track PF state

David Harton (dharton) dharton at cisco.com
Mon Sep 30 18:14:33 CEST 2019


Yes, the VFs are set to the default ‘link-state auto’:

ip link show enp9s0f1
15: enp9s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 90:e2:ba:ac:16:19 brd ff:ff:ff:ff:ff:ff
    vf 0 MAC 52:54:00:63:12:97, spoof checking on, link-state auto, trust off, query_rss off
    vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 6 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 7 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 8 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off
    vf 9 MAC 00:00:00:00:00:00, spoof checking on, link-state auto, trust off, query_rss off


> From: Laurent Dumont <laurentfdumont at gmail.com> 
> Sent: Monday, September 30, 2019 11:53 AM
> To: David Harton (dharton) <dharton at cisco.com>
> Cc: users at dpdk.org
> Subject: Re: [dpdk-users] net/i40e VF state does not track PF state
>
> Hey David,
>
> From the compute, can you check if the VF "link-state" status is set to "auto"? That parameter is required for the physical > state of the PF to be reflected by the VF.
>
> Thanks
>
>
>
> > On Mon, Sep 30, 2019, 11:12 AM David Harton (dharton) <mailto:dharton at cisco.com> wrote:
> > I'm using i40evf based interfaces using DPDK 18.11.
> >
> > The host is rhel 7.3 and the PF driver details are:
> > ethtool -i enp9s0f1
> > driver: i40e
> > version: 1.5.10-k
> > firmware-version: 6.01 0x800036b8 0.385.33
> > expansion-rom-version:
> > bus-info: 0000:09:00.1
> > supports-statistics: yes
> > supports-test: yes
> > supports-eeprom-access: yes
> > supports-register-dump: yes
> > supports-priv-flags: yes
> >
> > When the PF is shut the VFs are not showing a 'down' state.
> >
> > Is this a known issue?  Any tips on how to debug?
> >
> > Thanks,
> > Dave


More information about the users mailing list