kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #127173
[Bug 1475134] Missing required logs.
This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:
apport-collect 1475134
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.
** Changed in: linux (Ubuntu)
Status: New => Incomplete
** Tags added: trusty
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1475134
Title:
ixgbe and iproute2: inconsistent behaviour when setting VF mac and
vlan using 'ip link'
Status in linux package in Ubuntu:
Incomplete
Bug description:
'ip link' behaves strangely when trying to set both vlan and mac for a
VF.
Consider the following example:
$ sudo ip link set p2p1 vf 6 mac 36:c3:25:02:65:c4 vlan 300
$ ip link show p2p1
189: p2p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 0c:c4:7a:1e:ac:0e brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 6 MAC 36:c3:25:02:65:c4, spoof checking on, link-state auto
As you can see, it was able to set MAC address, but silently ignored VLAN setting.
Now comes the interesting part, if I specify vlan first and then mac, things work:
$ sudo ip link set p2p1 vf 6 vlan 300 mac 36:c3:25:02:65:c5
$ ip link show p2p1
189: p2p1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 0c:c4:7a:1e:ac:0e brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 1 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 2 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 3 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 4 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 5 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
vf 6 MAC 36:c3:25:02:65:c5, vlan 300, spoof checking on, link-state auto
The system is:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
$ cat /proc/version_signature
Ubuntu 3.13.0-40.69-generic 3.13.11.10
$ ip -V
ip utility, iproute2-ss131122
$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1475134/+subscriptions
References