[E1000-devel] Fw: Enable VF only on 2nd 82576 port

2012-03-30 Thread Jemma Jones


If I load the driver with 

modprobe igb max_vfs=0,1

which would mean 0 VFs in PF 0 and 1 VF on PF 1 then I get an error saying 
0,1 invalid for parameter max_vfs.

So it's not working this way.





 From: Wyborny, Carolyn carolyn.wybo...@intel.com
To: Jemma Jones jemmajone...@yahoo.co.uk; e1000-devel@lists.sourceforge.net 
e1000-devel@lists.sourceforge.net 
Sent: Thursday, 22 March 2012, 15:38
Subject: RE: [E1000-devel] Enable VF only on 2nd 82576 port
 


-Original Message-
From: Jemma Jones [mailto:jemmajone...@yahoo.co.uk]
Sent: Thursday, March 22, 2012 8:26 AM
To: e1000-devel@lists.sourceforge.net
Subject: [E1000-devel] Enable VF only on 2nd 82576 port

Hi, I've got a 82576 car with 2 ports.


They show up on my system as 2 physical functions:

04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)

Now I would like to enable 1 VF on the 2nd port of the device.
When I load the driver with

modprobe igb
 max_vfs=1


Then I get 1 VF at the first port.

04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function
(rev 01)

How can I load the driver to get 1 VF at the 2nd port?

Cheers,
Jemma

You need to enter one parameter for each port:  modprobe igb max_vfs=1,1

Thanks,

Carolyn

Carolyn Wyborny
Linux Development
LAN Access Division
Intel Corporation--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel#174; Ethernet, visit 
http://communities.intel.com/community/wired


Re: [E1000-devel] Fw: Enable VF only on 2nd 82576 port

2012-03-30 Thread Jemma Jones
It also gives me that same error with 1,1.

I run the latest driver from Linux net-next development tree btw, so this is 
not an out-of-tree driver version, this is the one that ships with the Linux 
kernel.

I'm on Linux 3.3.0-rc6.

Jemma



 From: Jemma Jones jemmajone...@yahoo.co.uk
To: e1000-devel@lists.sourceforge.net e1000-devel@lists.sourceforge.net 
Sent: Friday, 30 March 2012, 11:10
Subject: [E1000-devel] Fw:  Enable VF only on 2nd 82576 port
 


If I load the driver with 

modprobe igb max_vfs=0,1

which would mean 0 VFs in PF 0 and 1 VF on PF 1 then I get an error saying 
0,1 invalid for parameter max_vfs.

So it's not working this way.





From: Wyborny, Carolyn carolyn.wybo...@intel.com
To: Jemma Jones jemmajone...@yahoo.co.uk; e1000-devel@lists.sourceforge.net 
e1000-devel@lists.sourceforge.net 
Sent: Thursday, 22 March 2012, 15:38
Subject: RE: [E1000-devel] Enable VF only on 2nd 82576 port



-Original Message-
From: Jemma Jones [mailto:jemmajone...@yahoo.co.uk]
Sent: Thursday, March 22, 2012 8:26 AM
To: e1000-devel@lists.sourceforge.net
Subject: [E1000-devel] Enable VF only on 2nd 82576 port

Hi, I've got a 82576 car with 2 ports.


They show up on my system as 2 physical functions:

04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)
04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
Connection (rev 01)

Now I would like to enable 1 VF on the 2nd port of the device.
When I load the driver with

modprobe igb
max_vfs=1


Then I get 1 VF at the first port.

04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function
(rev 01)

How can I load the driver to get 1 VF at the 2nd port?

Cheers,
Jemma

You need to enter one parameter for each port:  modprobe igb max_vfs=1,1

Thanks,

Carolyn

Carolyn Wyborny
Linux Development
LAN Access Division
Intel Corporation
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel#174; Ethernet, visit 
http://communities.intel.com/community/wired


Re: [E1000-devel] Fw: Enable VF only on 2nd 82576 port

2012-03-30 Thread Jesse Brandeburg
Try 
modprobe igb max_vfs=-1,1

--
Spelling via autocorrect, please fogrive me

On Mar 30, 2012, at 3:10 AM, Jemma Jones jemmajone...@yahoo.co.uk wrote:

 
 
 If I load the driver with 
 
 modprobe igb max_vfs=0,1
 
 which would mean 0 VFs in PF 0 and 1 VF on PF 1 then I get an error saying 
 0,1 invalid for parameter max_vfs.
 
 So it's not working this way.
 
 
 
 
 
 From: Wyborny, Carolyn carolyn.wybo...@intel.com
 To: Jemma Jones jemmajone...@yahoo.co.uk; 
 e1000-devel@lists.sourceforge.net e1000-devel@lists.sourceforge.net 
 Sent: Thursday, 22 March 2012, 15:38
 Subject: RE: [E1000-devel] Enable VF only on 2nd 82576 port
 
 
 
 -Original Message-
 From: Jemma Jones [mailto:jemmajone...@yahoo.co.uk]
 Sent: Thursday, March 22, 2012 8:26 AM
 To: e1000-devel@lists.sourceforge.net
 Subject: [E1000-devel] Enable VF only on 2nd 82576 port
 
 Hi, I've got a 82576 car with 2 ports.
 
 
 They show up on my system as 2 physical functions:
 
 04:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network
 Connection (rev 01)
 04:00.1 Ethernet controller: Intel Corporation 82576 Gigabit Network
 Connection (rev 01)
 
 Now I would like to enable 1 VF on the 2nd port of the device.
 When I load the driver with
 
 modprobe igb
 max_vfs=1
 
 
 Then I get 1 VF at the first port.
 
 04:10.0 Ethernet controller: Intel Corporation 82576 Virtual Function
 (rev 01)
 
 How can I load the driver to get 1 VF at the 2nd port?
 
 Cheers,
 Jemma
 
 You need to enter one parameter for each port:  modprobe igb max_vfs=1,1
 
 Thanks,
 
 Carolyn
 
 Carolyn Wyborny
 Linux Development
 LAN Access Division
 Intel Corporation
 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here 
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 E1000-devel mailing list
 E1000-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/e1000-devel
 To learn more about Intel#174; Ethernet, visit 
 http://communities.intel.com/community/wired

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel#174; Ethernet, visit 
http://communities.intel.com/community/wired