2014-04-02 09:12:39

by Madoka Komatsubara

[permalink] [raw]
Subject: RE: fail to add 64 VLANs or more when SR-IOV is enabled


>-----Original Message-----
>From: Komatsubara Madoka($B>.>>86(B $B1_(B)
>Sent: Thursday, March 27, 2014 6:11 PM
>To: '[email protected]'; '[email protected]'; '[email protected]'
>Cc: Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5;J(B)
>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


2014-04-02 23:23:18

by Fujinaka, Todd

[permalink] [raw]
Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled

I think you're running into the filter limit for VFs.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
[email protected]
(503) 712-4565


-----Original Message-----
From: Madoka Komatsubara [mailto:[email protected]]
Sent: Wednesday, April 02, 2014 2:11 AM
To: Skidmore, Donald C; [email protected]; [email protected]; [email protected]
Cc: Hiroshi Shimamoto; Hiroshi Baba
Subject: Re: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled


>-----Original Message-----
>From: Komatsubara Madoka($B>.>>86(B $B1_(B)
>Sent: Thursday, March 27, 2014 6:11 PM
>To: '[email protected]'; '[email protected]'; '[email protected]'
>Cc: Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5;J(B)
>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


------------------------------------------------------------------------------
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired

2014-04-03 01:13:51

by Madoka Komatsubara

[permalink] [raw]
Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled


> -----Original Message-----
> From: Fujinaka, Todd [mailto:[email protected]]
> Sent: Thursday, April 03, 2014 8:23 AM
> To: Komatsubara Madoka($B>.>>86(B $B1_(B); Skidmore, Donald C;
> [email protected]; [email protected];
> [email protected]
> Cc: Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5;J(B)
> Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled
>
> I think you're running into the filter limit for VFs.
>

Hi Todd,

Thank you for the quick response.
How can I increase the limit$B!)(B


Regards,
Madoka Komatsubara



> Todd Fujinaka
> Software Application Engineer
> Networking Division (ND)
> Intel Corporation
> [email protected]
> (503) 712-4565
>
>
> -----Original Message-----
> From: Madoka Komatsubara [mailto:[email protected]]
> Sent: Wednesday, April 02, 2014 2:11 AM
> To: Skidmore, Donald C; [email protected];
> [email protected]; [email protected]
> Cc: Hiroshi Shimamoto; Hiroshi Baba
> Subject: Re: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled
>
>
> >-----Original Message-----
> >From: Komatsubara Madoka($B>.>>86(B $B1_(B)
> >Sent: Thursday, March 27, 2014 6:11 PM
> >To: '[email protected]'; '[email protected]';
> '[email protected]'
> >Cc: Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5;J(B)
> >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
>
>
> -------------------------------------------------------------------------
> -----
> _______________________________________________
> E1000-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/e1000-devel
> To learn more about Intel® Ethernet, visit
> http://communities.intel.com/community/wired

2014-04-03 01:38:11

by David Miller

[permalink] [raw]
Subject: Re: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled

From: Madoka Komatsubara <[email protected]>
Date: Thu, 3 Apr 2014 01:12:13 +0000

> Thank you for the quick response.
> How can I increase the limit$B!)(B

It's a hardware limit, you cannot increase it.

2014-04-03 02:05:35

by Madoka Komatsubara

[permalink] [raw]
Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled


> -----Original Message-----
> From: David Miller [mailto:[email protected]]
> Sent: Thursday, April 03, 2014 10:40 AM
> To: Komatsubara Madoka($B>.>>86(B $B1_(B)
> Cc: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5(B
> $B;J(B)
> Subject: Re: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled
>
> From: Madoka Komatsubara <[email protected]>
> Date: Thu, 3 Apr 2014 01:12:13 +0000
>
> > Thank you for the quick response.
> > How can I increase the limit$B!)(B
>
> It's a hardware limit, you cannot increase it.


Thank you for your information.
Does it mean disabling filter is the only way to use over 64 VLANs and is it possible?

Regards,
Madoka

2014-04-04 21:30:07

by Fujinaka, Todd

[permalink] [raw]
Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled

You can have more than 64 VLANs, but not for a single VF.

Todd Fujinaka
Software Application Engineer
Networking Division (ND)
Intel Corporation
[email protected]
(503) 712-4565


-----Original Message-----
From: Madoka Komatsubara [mailto:[email protected]]
Sent: Wednesday, April 02, 2014 7:04 PM
To: David Miller; Fujinaka, Todd; Skidmore, Donald C; [email protected]; [email protected]; [email protected]
Cc: Hiroshi Shimamoto; Hiroshi Baba
Subject: RE: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is enabled


> -----Original Message-----
> From: David Miller [mailto:[email protected]]
> Sent: Thursday, April 03, 2014 10:40 AM
> To: Komatsubara Madoka($B>.>>86(B $B1_(B)
> Cc: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; Shimamoto Hiroshi($BEgK\(B $BM5;V(B); Baba Hiroshi($BGO>l(B $BM5(B
> $B;J(B)
> Subject: Re: [E1000-devel] fail to add 64 VLANs or more when SR-IOV is
> enabled
>
> From: Madoka Komatsubara <[email protected]>
> Date: Thu, 3 Apr 2014 01:12:13 +0000
>
> > Thank you for the quick response.
> > How can I increase the limit$B!)(B
>
> It's a hardware limit, you cannot increase it.


Thank you for your information.
Does it mean disabling filter is the only way to use over 64 VLANs and is it possible?

Regards,
Madoka