RE: fail to add 64 VLANs or more when SR-IOV is enabled
From: Madoka Komatsubara
Date: Wed Apr 02 2014 - 05:12:50 EST
>-----Original Message-----
>From: Komatsubara Madoka(小松原 円)
>Sent: Thursday, March 27, 2014 6:11 PM
>To: 'linux-kernel@xxxxxxxxxxxxxxx'; 'e1000-devel@xxxxxxxxxxxxxxxxxxxxx'; 'netdev@xxxxxxxxxxxxxxx'
>Cc: Shimamoto Hiroshi(島本 裕志); Baba Hiroshi(馬場 裕司)
>Subject: fail to add 64 VLANs or more when SR-IOV is enabled
>
>Hi all,
>
>
>We're facing an issue that we cannot add 64 VLANs or more per VF.
>When using SR-IOV, pass through a VF to the KVM guest and a lot of VLANs, we could add 63 VLANs using vconfig but we >failed to add 64th VLAN.
>We'd like to use many VLANs on the guest with SR-IOV.
>We're using Intel's 82599EB chip with ixgbe and ixgbevf driver.
>
>Has anyone seen the same issue?
>Is there any idea to solve this?
>
Hi Donald,
Do you also notice this problem?
We're facing an issue that we can use only 64 VLANs per VF.
We're using Intel's 82599EB chip with ixgbe and ixgbevf driver.
Is it subject to the specification restrictions only 64 VLAN can use per VF?
We'd like to use about 2000 VLAN per VF.
Does it come from hardware?
Regards,
Madoka Komatsubara
>The below instruction is a reproducing method.
>Create hundred VLANs on the guest.
>
># for i in `seq 100 199`; do vconfig add eth2 $i; ifconfig 192.168.$i.1/24; done
>
># vconfig add eth2 100
>Added VLAN with VID == 100 to IF -:eth2:-
>
># vconfig add eth2 101
>Added VLAN with VID == 101 to IF -:eth2:-
>
># vconfig add eth2 102
>Added VLAN with VID == 102 to IF -:eth2:-
>
>...
>
># vconfig add eth2 162
>Added VLAN with VID == 162 to IF -:eth2:-
>
># vconfig add eth2 163
>ERROR: trying to add VLAN #163 to IF -:eth2:- error: Permission denied
>SIOCSIFADDR: No such device
>eth2.163: unknown interface: No such device
>
># vconfig add eth2 164
>ERROR: trying to add VLAN #164 to IF -:eth2:- error: Permission denied
>SIOCSIFADDR: No such device
>eth2.164: unknown interface: No such device
>
># vconfig add eth2 165
>ERROR: trying to add VLAN #165 to IF -:eth2:- error: Permission denied
>SIOCSIFADDR: No such device
>eth2.165: unknown interface: No such device
>
>
>thanks,
>Madoka Komatsubara
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/