* Re: [net-next-2.6 PATCH] net: add priority field to pktgen
From: David Miller @ 2010-11-18 18:43 UTC (permalink / raw)
To: eric.dumazet; +Cc: john.r.fastabend, netdev
In-Reply-To: <1289971637.2732.83.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 17 Nov 2010 06:27:17 +0100
> Le mardi 16 novembre 2010 à 21:12 -0800, John Fastabend a écrit :
>> Add option to set skb priority to pktgen. Useful for testing
>> QOS features. Also by running pktgen on the vlan device the
>> qdisc on the real device can be tested.
>>
>> Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
>> ---
>
> Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied, thanks everyone.
This will be useful for stressing things like VLAN qos I guess
:-)
^ permalink raw reply
* Re: [PATCH kernel 2.6.37-rc1]ipg.c: remove id [SUNDANCE, 0x1021]
From: David Miller @ 2010-11-18 18:45 UTC (permalink / raw)
To: ken_kawasaki; +Cc: netdev
In-Reply-To: <20101114084208.b3ee991d.ken_kawasaki@spring.nifty.jp>
From: Ken Kawasaki <ken_kawasaki@spring.nifty.jp>
Date: Sun, 14 Nov 2010 08:42:08 +0900
>
> ipg.c:
> The id [SUNDANCE, 0x1021] (=[0x13f0, 0x1021]) is defined
> at dl2k.h and ipg.c.
> But this device works better with dl2k driver.
>
> This problem is similar with the commit
> [25cca5352712561fba97bd37c495593d641c1d39
> ipg: Remove device claimed by dl2k from pci id table]
> at 11 Feb 2010.
>
> Signed-off-by: Ken Kawasaki <ken_kawasaki@spring.nifty.jp>
Applied, thank you.
^ permalink raw reply
* Re: [PATCH] 3c59x: fix build failure on !CONFIG_PCI
From: David Miller @ 2010-11-18 18:48 UTC (permalink / raw)
To: randy.dunlap; +Cc: namhyung, klassert, netdev, linux-kernel
In-Reply-To: <4CE3FBAC.3030503@oracle.com>
From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Wed, 17 Nov 2010 07:58:36 -0800
> On 11/16/10 18:22, Namhyung Kim wrote:
>> 2010-11-16 (화), 09:14 -0800, Randy Dunlap:
>>> Hi,
>>>
>>
>> Hi, Randy
>>
>>
>>> Interesting patch. I have reported this build error and looked
>>> into fixing it, but did not come up with this solution.
>>>
>>> Looking at it more: if CONFIG_PCI is not enabled, DEVICE_PCI() is NULL.
>>> That makes VORTEX_PCI() (with or without your patch) have a value of NULL.
>>>
>>> Is the line with the reported syntax error (3211) executed in
>>> function acpi_set_WOL() ? If so, let's assume that vp->enable_wol is true.
>>> Then what happens on line 3211 (or 3213 after your patch)?
>>>
>>> if (VORTEX_PCI(vp)->current_state < PCI_D3hot)
>>> return;
>>>
>>> or if I am really confuzed this morning, please tell me how it works.
>>>
>>
>> At first glance, I've noticed that the code above could make a NULL
>> dereference so I added NULL check prior to the line.
>>
>> But after reading more code I realized that other pci-functions called
>> in acpi_set_WOL() would not work with NULL pci_dev pointer also. And I
>> found all callers of the acpi_set_WOL() already checked NULL pointer
>> before the call. Finally I could remove the NULL check and leave the
>> code as is. That's how it works. :)
>
> I see. and concur. Thanks for the explanation.
Looks good to me too, applied, thanks!
^ permalink raw reply
* Re: extended netdevice naming proposal
From: Matt Domsch @ 2010-11-18 18:51 UTC (permalink / raw)
To: Ben Hutchings; +Cc: Bill Nottingham, linux-hotplug, netdev, narendra_k, jcm
In-Reply-To: <1290047397.3818.3.camel@localhost>
On Thu, Nov 18, 2010 at 02:29:57AM +0000, Ben Hutchings wrote:
> On Wed, 2010-11-17 at 21:10 -0500, Bill Nottingham wrote:
> > Matt Domsch (Matt_Domsch@dell.com) said:
> > > (location)(slot)#(port)/(instance).(vlan)
> >
> > AIUI, the kernel explicitly rejects '/' in the name (for fairly obvious
> > sysfs reasons.) So you'd at least need a different delimiter. There may
> > also be potential confusion with pci01#03:02.0001 with someone thinking
> > that's bus/dev/fn, if we're being really petty.
>
> ':' is also reserved for alias interfaces, the old way of assigning
> multiple IP addresses.
>
> I would say '-' is a good separator, but that might result in ambiguity
> in IRQ names.
How about underscore to separate VFs?
(location)(slot)#(port)_(instance).(vlan)
And 'em' as prefix for embedded?
See below this implementation in biosdevname now. This is a system
with 4 onboard NICs, plus an add-in dual-port Intel Niantic card in
PCI slot 2. It exposes 63 VFs per port (max_vfs=63). Here see the
devices get named
onboard: emX
add-in card: pci2#0, pci2#1
VFs there: pci2#0_0, pci2#1_62
Thanks,
Matt
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
BIOS device: em1
Kernel name: lom1
Permanant MAC: 00:22:19:59:8E:56
Assigned MAC : 00:22:19:59:8E:56
Driver: bnx2
Driver version: 2.0.18
Firmware version: bc 5.0.11 NCSI 2.0.5
Bus Info: 0000:01:00.0
PCI name : 0000:01:00.0
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 1
SMBIOS Enabled: True
SMBIOS Label: Embedded NIC 1
sysfs Index: 1
sysfs Label: Embedded NIC 1
Index in slot: 0
BIOS device: em2
Kernel name: lom2
Permanant MAC: 00:22:19:59:8E:58
Assigned MAC : 00:22:19:59:8E:58
Driver: bnx2
Driver version: 2.0.18
Firmware version: bc 5.0.11 NCSI 2.0.5
Bus Info: 0000:01:00.1
PCI name : 0000:01:00.1
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 2
SMBIOS Enabled: True
SMBIOS Label: Embedded NIC 2
sysfs Index: 2
sysfs Label: Embedded NIC 2
Index in slot: 1
BIOS device: em3
Kernel name: lom3
Permanant MAC: 00:22:19:59:8E:5A
Assigned MAC : 00:22:19:59:8E:5A
Driver: bnx2
Driver version: 2.0.18
Firmware version: bc 5.0.11 NCSI 2.0.5
Bus Info: 0000:02:00.0
PCI name : 0000:02:00.0
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 3
SMBIOS Enabled: True
SMBIOS Label: Embedded NIC 3
sysfs Index: 3
sysfs Label: Embedded NIC 3
Index in slot: 2
BIOS device: em4
Kernel name: lom4
Permanant MAC: 00:22:19:59:8E:5C
Assigned MAC : 00:22:19:59:8E:5C
Driver: bnx2
Driver version: 2.0.18
Firmware version: bc 5.0.11 NCSI 2.0.5
Bus Info: 0000:02:00.1
PCI name : 0000:02:00.1
PCI Slot : embedded
SMBIOS Device Type: Ethernet
SMBIOS Instance: 4
SMBIOS Enabled: True
SMBIOS Label: Embedded NIC 4
sysfs Index: 4
sysfs Label: Embedded NIC 4
Index in slot: 3
BIOS device: pci2#0
Kernel name: eth63-eth4
Permanant MAC: 00:1B:21:42:66:30
Assigned MAC : 00:1B:21:42:66:30
Driver: ixgbe
Driver version: 2.0.84-k2
Firmware version: 0.9-3
Bus Info: 0000:05:00.0
PCI name : 0000:05:00.0
PCI Slot : 2
SMBIOS Label: PCI2
Index in slot: 0
Virtual Functions:
0000:05:10.0
0000:05:10.2
0000:05:10.4
0000:05:10.6
0000:05:11.0
0000:05:11.2
0000:05:11.4
0000:05:11.6
0000:05:12.0
0000:05:12.2
0000:05:12.4
0000:05:12.6
0000:05:13.0
0000:05:13.2
0000:05:13.4
0000:05:13.6
0000:05:14.0
0000:05:14.2
0000:05:14.4
0000:05:14.6
0000:05:15.0
0000:05:15.2
0000:05:15.4
0000:05:15.6
0000:05:16.0
0000:05:16.2
0000:05:16.4
0000:05:16.6
0000:05:17.0
0000:05:17.2
0000:05:17.4
0000:05:17.6
0000:05:18.0
0000:05:18.2
0000:05:18.4
0000:05:18.6
0000:05:19.0
0000:05:19.2
0000:05:19.4
0000:05:19.6
0000:05:1a.0
0000:05:1a.2
0000:05:1a.4
0000:05:1a.6
0000:05:1b.0
0000:05:1b.2
0000:05:1b.4
0000:05:1b.6
0000:05:1c.0
0000:05:1c.2
0000:05:1c.4
0000:05:1c.6
0000:05:1d.0
0000:05:1d.2
0000:05:1d.4
0000:05:1d.6
0000:05:1e.0
0000:05:1e.2
0000:05:1e.4
0000:05:1e.6
0000:05:1f.0
0000:05:1f.2
0000:05:1f.4
BIOS device: pci2#1
Kernel name: eth127-eth5
Permanant MAC: 00:1B:21:42:66:31
Assigned MAC : 00:1B:21:42:66:31
Driver: ixgbe
Driver version: 2.0.84-k2
Firmware version: 0.9-3
Bus Info: 0000:05:00.1
PCI name : 0000:05:00.1
PCI Slot : 2
Index in slot: 1
Virtual Functions:
0000:05:10.1
0000:05:10.3
0000:05:10.5
0000:05:10.7
0000:05:11.1
0000:05:11.3
0000:05:11.5
0000:05:11.7
0000:05:12.1
0000:05:12.3
0000:05:12.5
0000:05:12.7
0000:05:13.1
0000:05:13.3
0000:05:13.5
0000:05:13.7
0000:05:14.1
0000:05:14.3
0000:05:14.5
0000:05:14.7
0000:05:15.1
0000:05:15.3
0000:05:15.5
0000:05:15.7
0000:05:16.1
0000:05:16.3
0000:05:16.5
0000:05:16.7
0000:05:17.1
0000:05:17.3
0000:05:17.5
0000:05:17.7
0000:05:18.1
0000:05:18.3
0000:05:18.5
0000:05:18.7
0000:05:19.1
0000:05:19.3
0000:05:19.5
0000:05:19.7
0000:05:1a.1
0000:05:1a.3
0000:05:1a.5
0000:05:1a.7
0000:05:1b.1
0000:05:1b.3
0000:05:1b.5
0000:05:1b.7
0000:05:1c.1
0000:05:1c.3
0000:05:1c.5
0000:05:1c.7
0000:05:1d.1
0000:05:1d.3
0000:05:1d.5
0000:05:1d.7
0000:05:1e.1
0000:05:1e.3
0000:05:1e.5
0000:05:1e.7
0000:05:1f.1
0000:05:1f.3
0000:05:1f.5
BIOS device: pci2#0_0
Kernel name: eth0
Permanant MAC: 82:CB:F4:96:48:54
Assigned MAC : 82:CB:F4:96:48:54
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.0
PCI name : 0000:05:10.0
PCI Slot : 2
Index in slot: 2
BIOS device: pci2#1_0
Kernel name: eth64
Permanant MAC: 1E:F9:6D:E6:49:2A
Assigned MAC : 1E:F9:6D:E6:49:2A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.1
PCI name : 0000:05:10.1
PCI Slot : 2
Index in slot: 3
BIOS device: pci2#0_1
Kernel name: eth1
Permanant MAC: F2:54:AF:2F:03:2B
Assigned MAC : F2:54:AF:2F:03:2B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.2
PCI name : 0000:05:10.2
PCI Slot : 2
Index in slot: 4
BIOS device: pci2#1_1
Kernel name: eth65
Permanant MAC: CE:C9:30:B1:77:80
Assigned MAC : CE:C9:30:B1:77:80
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.3
PCI name : 0000:05:10.3
PCI Slot : 2
Index in slot: 5
BIOS device: pci2#0_2
Kernel name: eth2
Permanant MAC: D2:D9:37:E5:9C:2B
Assigned MAC : D2:D9:37:E5:9C:2B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.4
PCI name : 0000:05:10.4
PCI Slot : 2
Index in slot: 6
BIOS device: pci2#1_2
Kernel name: eth66
Permanant MAC: 8E:2B:51:24:D5:DC
Assigned MAC : 8E:2B:51:24:D5:DC
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.5
PCI name : 0000:05:10.5
PCI Slot : 2
Index in slot: 7
BIOS device: pci2#0_3
Kernel name: eth3
Permanant MAC: E2:F6:5F:A1:29:0E
Assigned MAC : E2:F6:5F:A1:29:0E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.6
PCI name : 0000:05:10.6
PCI Slot : 2
Index in slot: 8
BIOS device: pci2#1_3
Kernel name: eth67
Permanant MAC: 8A:15:38:A9:69:5D
Assigned MAC : 8A:15:38:A9:69:5D
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:10.7
PCI name : 0000:05:10.7
PCI Slot : 2
Index in slot: 9
BIOS device: pci2#0_4
Kernel name: eth4
Permanant MAC: 4A:D3:97:44:5C:57
Assigned MAC : 4A:D3:97:44:5C:57
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.0
PCI name : 0000:05:11.0
PCI Slot : 2
Index in slot: 10
BIOS device: pci2#1_4
Kernel name: eth68
Permanant MAC: 46:4A:E0:1B:C3:5E
Assigned MAC : 46:4A:E0:1B:C3:5E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.1
PCI name : 0000:05:11.1
PCI Slot : 2
Index in slot: 11
BIOS device: pci2#0_5
Kernel name: eth5
Permanant MAC: CE:AF:3A:41:EC:3A
Assigned MAC : CE:AF:3A:41:EC:3A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.2
PCI name : 0000:05:11.2
PCI Slot : 2
Index in slot: 12
BIOS device: pci2#1_5
Kernel name: eth69
Permanant MAC: 5E:47:92:64:09:B3
Assigned MAC : 5E:47:92:64:09:B3
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.3
PCI name : 0000:05:11.3
PCI Slot : 2
Index in slot: 13
BIOS device: pci2#0_6
Kernel name: eth6
Permanant MAC: 6E:71:3B:A3:4C:15
Assigned MAC : 6E:71:3B:A3:4C:15
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.4
PCI name : 0000:05:11.4
PCI Slot : 2
Index in slot: 14
BIOS device: pci2#1_6
Kernel name: eth70
Permanant MAC: B2:92:86:3A:FD:D0
Assigned MAC : B2:92:86:3A:FD:D0
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.5
PCI name : 0000:05:11.5
PCI Slot : 2
Index in slot: 15
BIOS device: pci2#0_7
Kernel name: eth7
Permanant MAC: 8A:57:06:78:91:7E
Assigned MAC : 8A:57:06:78:91:7E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.6
PCI name : 0000:05:11.6
PCI Slot : 2
Index in slot: 16
BIOS device: pci2#1_7
Kernel name: eth71
Permanant MAC: FE:CC:6E:C4:E0:7F
Assigned MAC : FE:CC:6E:C4:E0:7F
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:11.7
PCI name : 0000:05:11.7
PCI Slot : 2
Index in slot: 17
BIOS device: pci2#0_8
Kernel name: eth8
Permanant MAC: 26:99:89:D7:10:20
Assigned MAC : 26:99:89:D7:10:20
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.0
PCI name : 0000:05:12.0
PCI Slot : 2
Index in slot: 18
BIOS device: pci2#1_8
Kernel name: eth72
Permanant MAC: 52:06:71:E6:38:F3
Assigned MAC : 52:06:71:E6:38:F3
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.1
PCI name : 0000:05:12.1
PCI Slot : 2
Index in slot: 19
BIOS device: pci2#0_9
Kernel name: eth9
Permanant MAC: 26:63:72:7C:CB:16
Assigned MAC : 26:63:72:7C:CB:16
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.2
PCI name : 0000:05:12.2
PCI Slot : 2
Index in slot: 20
BIOS device: pci2#1_9
Kernel name: eth73
Permanant MAC: 16:66:FE:82:ED:F7
Assigned MAC : 16:66:FE:82:ED:F7
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.3
PCI name : 0000:05:12.3
PCI Slot : 2
Index in slot: 21
BIOS device: pci2#0_10
Kernel name: eth10
Permanant MAC: 76:91:58:71:5A:6E
Assigned MAC : 76:91:58:71:5A:6E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.4
PCI name : 0000:05:12.4
PCI Slot : 2
Index in slot: 22
BIOS device: pci2#1_10
Kernel name: eth74
Permanant MAC: 46:59:F6:8C:0F:C8
Assigned MAC : 46:59:F6:8C:0F:C8
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.5
PCI name : 0000:05:12.5
PCI Slot : 2
Index in slot: 23
BIOS device: pci2#0_11
Kernel name: eth11
Permanant MAC: 32:13:93:10:58:D2
Assigned MAC : 32:13:93:10:58:D2
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.6
PCI name : 0000:05:12.6
PCI Slot : 2
Index in slot: 24
BIOS device: pci2#1_11
Kernel name: eth75
Permanant MAC: B6:A0:1B:C3:3A:34
Assigned MAC : B6:A0:1B:C3:3A:34
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:12.7
PCI name : 0000:05:12.7
PCI Slot : 2
Index in slot: 25
BIOS device: pci2#0_12
Kernel name: eth12
Permanant MAC: CA:C7:B1:56:76:1E
Assigned MAC : CA:C7:B1:56:76:1E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.0
PCI name : 0000:05:13.0
PCI Slot : 2
Index in slot: 26
BIOS device: pci2#1_12
Kernel name: eth76
Permanant MAC: 62:9B:85:9A:23:B8
Assigned MAC : 62:9B:85:9A:23:B8
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.1
PCI name : 0000:05:13.1
PCI Slot : 2
Index in slot: 27
BIOS device: pci2#0_13
Kernel name: eth13
Permanant MAC: EA:F0:B4:B4:7A:B0
Assigned MAC : EA:F0:B4:B4:7A:B0
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.2
PCI name : 0000:05:13.2
PCI Slot : 2
Index in slot: 28
BIOS device: pci2#1_13
Kernel name: eth77
Permanant MAC: F2:50:7C:40:1C:02
Assigned MAC : F2:50:7C:40:1C:02
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.3
PCI name : 0000:05:13.3
PCI Slot : 2
Index in slot: 29
BIOS device: pci2#0_14
Kernel name: eth14
Permanant MAC: 1A:80:AA:1A:F8:B9
Assigned MAC : 1A:80:AA:1A:F8:B9
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.4
PCI name : 0000:05:13.4
PCI Slot : 2
Index in slot: 30
BIOS device: pci2#1_14
Kernel name: eth78
Permanant MAC: CA:E1:AA:57:50:E4
Assigned MAC : CA:E1:AA:57:50:E4
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.5
PCI name : 0000:05:13.5
PCI Slot : 2
Index in slot: 31
BIOS device: pci2#0_15
Kernel name: eth15
Permanant MAC: 16:01:8B:BA:3D:73
Assigned MAC : 16:01:8B:BA:3D:73
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.6
PCI name : 0000:05:13.6
PCI Slot : 2
Index in slot: 32
BIOS device: pci2#1_15
Kernel name: eth79
Permanant MAC: EE:28:73:D7:CF:0B
Assigned MAC : EE:28:73:D7:CF:0B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:13.7
PCI name : 0000:05:13.7
PCI Slot : 2
Index in slot: 33
BIOS device: pci2#0_16
Kernel name: eth16
Permanant MAC: 42:E8:DB:54:F5:5B
Assigned MAC : 42:E8:DB:54:F5:5B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.0
PCI name : 0000:05:14.0
PCI Slot : 2
Index in slot: 34
BIOS device: pci2#1_16
Kernel name: eth80
Permanant MAC: 0A:CD:C2:38:9F:97
Assigned MAC : 0A:CD:C2:38:9F:97
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.1
PCI name : 0000:05:14.1
PCI Slot : 2
Index in slot: 35
BIOS device: pci2#0_17
Kernel name: eth17
Permanant MAC: A2:47:7C:AF:7C:EE
Assigned MAC : A2:47:7C:AF:7C:EE
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.2
PCI name : 0000:05:14.2
PCI Slot : 2
Index in slot: 36
BIOS device: pci2#1_17
Kernel name: eth81
Permanant MAC: A2:33:3D:D0:D0:F5
Assigned MAC : A2:33:3D:D0:D0:F5
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.3
PCI name : 0000:05:14.3
PCI Slot : 2
Index in slot: 37
BIOS device: pci2#0_18
Kernel name: eth18
Permanant MAC: EE:92:0D:B9:58:68
Assigned MAC : EE:92:0D:B9:58:68
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.4
PCI name : 0000:05:14.4
PCI Slot : 2
Index in slot: 38
BIOS device: pci2#1_18
Kernel name: eth82
Permanant MAC: 8A:FD:7F:0C:55:24
Assigned MAC : 8A:FD:7F:0C:55:24
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.5
PCI name : 0000:05:14.5
PCI Slot : 2
Index in slot: 39
BIOS device: pci2#0_19
Kernel name: eth19
Permanant MAC: CA:54:82:D0:AF:BF
Assigned MAC : CA:54:82:D0:AF:BF
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.6
PCI name : 0000:05:14.6
PCI Slot : 2
Index in slot: 40
BIOS device: pci2#1_19
Kernel name: eth83
Permanant MAC: DE:7D:8E:78:52:AA
Assigned MAC : DE:7D:8E:78:52:AA
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:14.7
PCI name : 0000:05:14.7
PCI Slot : 2
Index in slot: 41
BIOS device: pci2#0_20
Kernel name: eth20
Permanant MAC: 16:78:05:72:38:3C
Assigned MAC : 16:78:05:72:38:3C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.0
PCI name : 0000:05:15.0
PCI Slot : 2
Index in slot: 42
BIOS device: pci2#1_20
Kernel name: eth84
Permanant MAC: FE:AF:2E:51:23:F4
Assigned MAC : FE:AF:2E:51:23:F4
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.1
PCI name : 0000:05:15.1
PCI Slot : 2
Index in slot: 43
BIOS device: pci2#0_21
Kernel name: eth21
Permanant MAC: E6:88:49:E6:73:2E
Assigned MAC : E6:88:49:E6:73:2E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.2
PCI name : 0000:05:15.2
PCI Slot : 2
Index in slot: 44
BIOS device: pci2#1_21
Kernel name: eth85
Permanant MAC: 8E:AB:71:7E:8A:0C
Assigned MAC : 8E:AB:71:7E:8A:0C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.3
PCI name : 0000:05:15.3
PCI Slot : 2
Index in slot: 45
BIOS device: pci2#0_22
Kernel name: eth22
Permanant MAC: 4A:B8:6B:81:FA:A4
Assigned MAC : 4A:B8:6B:81:FA:A4
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.4
PCI name : 0000:05:15.4
PCI Slot : 2
Index in slot: 46
BIOS device: pci2#1_22
Kernel name: eth86
Permanant MAC: 5A:7C:C6:47:FC:AD
Assigned MAC : 5A:7C:C6:47:FC:AD
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.5
PCI name : 0000:05:15.5
PCI Slot : 2
Index in slot: 47
BIOS device: pci2#0_23
Kernel name: eth23
Permanant MAC: 42:BD:72:88:5C:34
Assigned MAC : 42:BD:72:88:5C:34
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.6
PCI name : 0000:05:15.6
PCI Slot : 2
Index in slot: 48
BIOS device: pci2#1_23
Kernel name: eth87
Permanant MAC: D2:D8:94:DB:8A:10
Assigned MAC : D2:D8:94:DB:8A:10
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:15.7
PCI name : 0000:05:15.7
PCI Slot : 2
Index in slot: 49
BIOS device: pci2#0_24
Kernel name: eth24
Permanant MAC: D6:20:20:DA:8D:1A
Assigned MAC : D6:20:20:DA:8D:1A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.0
PCI name : 0000:05:16.0
PCI Slot : 2
Index in slot: 50
BIOS device: pci2#1_24
Kernel name: eth88
Permanant MAC: BA:DC:0A:78:95:94
Assigned MAC : BA:DC:0A:78:95:94
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.1
PCI name : 0000:05:16.1
PCI Slot : 2
Index in slot: 51
BIOS device: pci2#0_25
Kernel name: eth25
Permanant MAC: 3E:45:98:02:A8:CA
Assigned MAC : 3E:45:98:02:A8:CA
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.2
PCI name : 0000:05:16.2
PCI Slot : 2
Index in slot: 52
BIOS device: pci2#1_25
Kernel name: eth89
Permanant MAC: 62:95:A4:78:91:3A
Assigned MAC : 62:95:A4:78:91:3A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.3
PCI name : 0000:05:16.3
PCI Slot : 2
Index in slot: 53
BIOS device: pci2#0_26
Kernel name: eth26
Permanant MAC: AE:1E:2E:42:06:26
Assigned MAC : AE:1E:2E:42:06:26
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.4
PCI name : 0000:05:16.4
PCI Slot : 2
Index in slot: 54
BIOS device: pci2#1_26
Kernel name: eth90
Permanant MAC: 8A:D2:E7:BB:74:75
Assigned MAC : 8A:D2:E7:BB:74:75
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.5
PCI name : 0000:05:16.5
PCI Slot : 2
Index in slot: 55
BIOS device: pci2#0_27
Kernel name: eth27
Permanant MAC: 1A:FB:43:18:6D:0D
Assigned MAC : 1A:FB:43:18:6D:0D
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.6
PCI name : 0000:05:16.6
PCI Slot : 2
Index in slot: 56
BIOS device: pci2#1_27
Kernel name: eth91
Permanant MAC: 3E:C4:70:EC:91:6B
Assigned MAC : 3E:C4:70:EC:91:6B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:16.7
PCI name : 0000:05:16.7
PCI Slot : 2
Index in slot: 57
BIOS device: pci2#0_28
Kernel name: eth28
Permanant MAC: 02:F9:E3:97:A7:2F
Assigned MAC : 02:F9:E3:97:A7:2F
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.0
PCI name : 0000:05:17.0
PCI Slot : 2
Index in slot: 58
BIOS device: pci2#1_28
Kernel name: eth92
Permanant MAC: F2:8F:A4:90:36:DC
Assigned MAC : F2:8F:A4:90:36:DC
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.1
PCI name : 0000:05:17.1
PCI Slot : 2
Index in slot: 59
BIOS device: pci2#0_29
Kernel name: eth29
Permanant MAC: 02:71:EC:8B:C3:9C
Assigned MAC : 02:71:EC:8B:C3:9C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.2
PCI name : 0000:05:17.2
PCI Slot : 2
Index in slot: 60
BIOS device: pci2#1_29
Kernel name: eth93
Permanant MAC: 32:38:C9:FD:D9:7B
Assigned MAC : 32:38:C9:FD:D9:7B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.3
PCI name : 0000:05:17.3
PCI Slot : 2
Index in slot: 61
BIOS device: pci2#0_30
Kernel name: eth30
Permanant MAC: E2:88:EC:3B:B4:83
Assigned MAC : E2:88:EC:3B:B4:83
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.4
PCI name : 0000:05:17.4
PCI Slot : 2
Index in slot: 62
BIOS device: pci2#1_30
Kernel name: eth94
Permanant MAC: E6:F4:CB:63:62:5D
Assigned MAC : E6:F4:CB:63:62:5D
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.5
PCI name : 0000:05:17.5
PCI Slot : 2
Index in slot: 63
BIOS device: pci2#0_31
Kernel name: eth31
Permanant MAC: 36:39:72:44:CE:8A
Assigned MAC : 36:39:72:44:CE:8A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.6
PCI name : 0000:05:17.6
PCI Slot : 2
Index in slot: 64
BIOS device: pci2#1_31
Kernel name: eth95
Permanant MAC: 9E:D8:C0:B3:0A:74
Assigned MAC : 9E:D8:C0:B3:0A:74
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:17.7
PCI name : 0000:05:17.7
PCI Slot : 2
Index in slot: 65
BIOS device: pci2#0_32
Kernel name: eth32
Permanant MAC: E6:43:86:56:42:25
Assigned MAC : E6:43:86:56:42:25
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.0
PCI name : 0000:05:18.0
PCI Slot : 2
Index in slot: 66
BIOS device: pci2#1_32
Kernel name: eth96
Permanant MAC: 52:16:FB:B3:DE:EB
Assigned MAC : 52:16:FB:B3:DE:EB
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.1
PCI name : 0000:05:18.1
PCI Slot : 2
Index in slot: 67
BIOS device: pci2#0_33
Kernel name: eth33
Permanant MAC: AE:60:EC:3F:1F:80
Assigned MAC : AE:60:EC:3F:1F:80
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.2
PCI name : 0000:05:18.2
PCI Slot : 2
Index in slot: 68
BIOS device: pci2#1_33
Kernel name: eth97
Permanant MAC: CA:E4:94:9A:92:54
Assigned MAC : CA:E4:94:9A:92:54
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.3
PCI name : 0000:05:18.3
PCI Slot : 2
Index in slot: 69
BIOS device: pci2#0_34
Kernel name: eth34
Permanant MAC: B2:FB:37:8B:05:4C
Assigned MAC : B2:FB:37:8B:05:4C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.4
PCI name : 0000:05:18.4
PCI Slot : 2
Index in slot: 70
BIOS device: pci2#1_34
Kernel name: eth98
Permanant MAC: AE:16:C0:16:D5:8C
Assigned MAC : AE:16:C0:16:D5:8C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.5
PCI name : 0000:05:18.5
PCI Slot : 2
Index in slot: 71
BIOS device: pci2#0_35
Kernel name: eth35
Permanant MAC: FE:E5:B2:3B:01:3B
Assigned MAC : FE:E5:B2:3B:01:3B
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.6
PCI name : 0000:05:18.6
PCI Slot : 2
Index in slot: 72
BIOS device: pci2#1_35
Kernel name: eth99
Permanant MAC: 9A:BD:81:21:64:F1
Assigned MAC : 9A:BD:81:21:64:F1
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:18.7
PCI name : 0000:05:18.7
PCI Slot : 2
Index in slot: 73
BIOS device: pci2#0_36
Kernel name: eth36
Permanant MAC: 9A:51:3F:AC:8D:E9
Assigned MAC : 9A:51:3F:AC:8D:E9
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.0
PCI name : 0000:05:19.0
PCI Slot : 2
Index in slot: 74
BIOS device: pci2#1_36
Kernel name: eth100
Permanant MAC: C6:36:AE:8F:F4:E2
Assigned MAC : C6:36:AE:8F:F4:E2
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.1
PCI name : 0000:05:19.1
PCI Slot : 2
Index in slot: 75
BIOS device: pci2#0_37
Kernel name: eth37
Permanant MAC: 3E:B2:03:1C:EA:BF
Assigned MAC : 3E:B2:03:1C:EA:BF
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.2
PCI name : 0000:05:19.2
PCI Slot : 2
Index in slot: 76
BIOS device: pci2#1_37
Kernel name: eth101
Permanant MAC: E6:2A:AF:AD:5A:2C
Assigned MAC : E6:2A:AF:AD:5A:2C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.3
PCI name : 0000:05:19.3
PCI Slot : 2
Index in slot: 77
BIOS device: pci2#0_38
Kernel name: eth38
Permanant MAC: 1A:E4:80:E7:8E:00
Assigned MAC : 1A:E4:80:E7:8E:00
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.4
PCI name : 0000:05:19.4
PCI Slot : 2
Index in slot: 78
BIOS device: pci2#1_38
Kernel name: eth102
Permanant MAC: 16:84:9C:C6:6A:65
Assigned MAC : 16:84:9C:C6:6A:65
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.5
PCI name : 0000:05:19.5
PCI Slot : 2
Index in slot: 79
BIOS device: pci2#0_39
Kernel name: eth39
Permanant MAC: 5E:C8:FF:AD:F3:58
Assigned MAC : 5E:C8:FF:AD:F3:58
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.6
PCI name : 0000:05:19.6
PCI Slot : 2
Index in slot: 80
BIOS device: pci2#1_39
Kernel name: eth103
Permanant MAC: D2:C5:6A:9C:BA:94
Assigned MAC : D2:C5:6A:9C:BA:94
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:19.7
PCI name : 0000:05:19.7
PCI Slot : 2
Index in slot: 81
BIOS device: pci2#0_40
Kernel name: eth40
Permanant MAC: 9A:A5:E6:92:4B:FF
Assigned MAC : 9A:A5:E6:92:4B:FF
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.0
PCI name : 0000:05:1a.0
PCI Slot : 2
Index in slot: 82
BIOS device: pci2#1_40
Kernel name: eth104
Permanant MAC: 6A:BD:6C:AC:12:D1
Assigned MAC : 6A:BD:6C:AC:12:D1
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.1
PCI name : 0000:05:1a.1
PCI Slot : 2
Index in slot: 83
BIOS device: pci2#0_41
Kernel name: eth41
Permanant MAC: DA:6A:7E:22:BF:36
Assigned MAC : DA:6A:7E:22:BF:36
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.2
PCI name : 0000:05:1a.2
PCI Slot : 2
Index in slot: 84
BIOS device: pci2#1_41
Kernel name: eth105
Permanant MAC: FA:5C:DF:30:BC:D7
Assigned MAC : FA:5C:DF:30:BC:D7
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.3
PCI name : 0000:05:1a.3
PCI Slot : 2
Index in slot: 85
BIOS device: pci2#0_42
Kernel name: eth42
Permanant MAC: CA:43:B6:6C:D6:F1
Assigned MAC : CA:43:B6:6C:D6:F1
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.4
PCI name : 0000:05:1a.4
PCI Slot : 2
Index in slot: 86
BIOS device: pci2#1_42
Kernel name: eth106
Permanant MAC: DE:93:8B:36:47:48
Assigned MAC : DE:93:8B:36:47:48
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.5
PCI name : 0000:05:1a.5
PCI Slot : 2
Index in slot: 87
BIOS device: pci2#0_43
Kernel name: eth43
Permanant MAC: B2:82:9C:2C:F3:65
Assigned MAC : B2:82:9C:2C:F3:65
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.6
PCI name : 0000:05:1a.6
PCI Slot : 2
Index in slot: 88
BIOS device: pci2#1_43
Kernel name: eth107
Permanant MAC: 62:43:76:F4:1D:54
Assigned MAC : 62:43:76:F4:1D:54
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1a.7
PCI name : 0000:05:1a.7
PCI Slot : 2
Index in slot: 89
BIOS device: pci2#0_44
Kernel name: eth44
Permanant MAC: C6:2D:C7:55:30:3A
Assigned MAC : C6:2D:C7:55:30:3A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.0
PCI name : 0000:05:1b.0
PCI Slot : 2
Index in slot: 90
BIOS device: pci2#1_44
Kernel name: eth108
Permanant MAC: D6:26:42:7C:7B:66
Assigned MAC : D6:26:42:7C:7B:66
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.1
PCI name : 0000:05:1b.1
PCI Slot : 2
Index in slot: 91
BIOS device: pci2#0_45
Kernel name: eth45
Permanant MAC: 9A:2C:DD:AE:7D:2C
Assigned MAC : 9A:2C:DD:AE:7D:2C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.2
PCI name : 0000:05:1b.2
PCI Slot : 2
Index in slot: 92
BIOS device: pci2#1_45
Kernel name: eth109
Permanant MAC: DA:1D:20:14:66:E3
Assigned MAC : DA:1D:20:14:66:E3
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.3
PCI name : 0000:05:1b.3
PCI Slot : 2
Index in slot: 93
BIOS device: pci2#0_46
Kernel name: eth46
Permanant MAC: 26:3B:25:3A:31:64
Assigned MAC : 26:3B:25:3A:31:64
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.4
PCI name : 0000:05:1b.4
PCI Slot : 2
Index in slot: 94
BIOS device: pci2#1_46
Kernel name: eth110
Permanant MAC: 9E:75:E0:61:5A:22
Assigned MAC : 9E:75:E0:61:5A:22
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.5
PCI name : 0000:05:1b.5
PCI Slot : 2
Index in slot: 95
BIOS device: pci2#0_47
Kernel name: eth47
Permanant MAC: 36:77:F3:1A:7A:DB
Assigned MAC : 36:77:F3:1A:7A:DB
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.6
PCI name : 0000:05:1b.6
PCI Slot : 2
Index in slot: 96
BIOS device: pci2#1_47
Kernel name: eth111
Permanant MAC: BA:17:5D:3C:17:50
Assigned MAC : BA:17:5D:3C:17:50
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1b.7
PCI name : 0000:05:1b.7
PCI Slot : 2
Index in slot: 97
BIOS device: pci2#0_48
Kernel name: eth48
Permanant MAC: 9E:01:90:05:38:8D
Assigned MAC : 9E:01:90:05:38:8D
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.0
PCI name : 0000:05:1c.0
PCI Slot : 2
Index in slot: 98
BIOS device: pci2#1_48
Kernel name: eth112
Permanant MAC: 36:0C:F8:F2:59:AC
Assigned MAC : 36:0C:F8:F2:59:AC
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.1
PCI name : 0000:05:1c.1
PCI Slot : 2
Index in slot: 99
BIOS device: pci2#0_49
Kernel name: eth49
Permanant MAC: 82:C6:7E:85:8A:D6
Assigned MAC : 82:C6:7E:85:8A:D6
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.2
PCI name : 0000:05:1c.2
PCI Slot : 2
Index in slot: 100
BIOS device: pci2#1_49
Kernel name: eth113
Permanant MAC: BA:46:ED:93:D2:0E
Assigned MAC : BA:46:ED:93:D2:0E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.3
PCI name : 0000:05:1c.3
PCI Slot : 2
Index in slot: 101
BIOS device: pci2#0_50
Kernel name: eth50
Permanant MAC: 56:0E:4B:88:A5:8E
Assigned MAC : 56:0E:4B:88:A5:8E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.4
PCI name : 0000:05:1c.4
PCI Slot : 2
Index in slot: 102
BIOS device: pci2#1_50
Kernel name: eth114
Permanant MAC: 8A:6F:9B:F4:4C:E5
Assigned MAC : 8A:6F:9B:F4:4C:E5
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.5
PCI name : 0000:05:1c.5
PCI Slot : 2
Index in slot: 103
BIOS device: pci2#0_51
Kernel name: eth51
Permanant MAC: 62:37:A2:D1:A4:57
Assigned MAC : 62:37:A2:D1:A4:57
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.6
PCI name : 0000:05:1c.6
PCI Slot : 2
Index in slot: 104
BIOS device: pci2#1_51
Kernel name: eth115
Permanant MAC: 9E:FB:A9:23:3F:E9
Assigned MAC : 9E:FB:A9:23:3F:E9
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1c.7
PCI name : 0000:05:1c.7
PCI Slot : 2
Index in slot: 105
BIOS device: pci2#0_52
Kernel name: eth52
Permanant MAC: DA:8F:99:6D:22:25
Assigned MAC : DA:8F:99:6D:22:25
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.0
PCI name : 0000:05:1d.0
PCI Slot : 2
Index in slot: 106
BIOS device: pci2#1_52
Kernel name: eth116
Permanant MAC: 1E:14:98:50:7A:79
Assigned MAC : 1E:14:98:50:7A:79
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.1
PCI name : 0000:05:1d.1
PCI Slot : 2
Index in slot: 107
BIOS device: pci2#0_53
Kernel name: eth53
Permanant MAC: 3E:4C:CD:C9:67:3A
Assigned MAC : 3E:4C:CD:C9:67:3A
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.2
PCI name : 0000:05:1d.2
PCI Slot : 2
Index in slot: 108
BIOS device: pci2#1_53
Kernel name: eth117
Permanant MAC: DA:88:D7:FD:CC:25
Assigned MAC : DA:88:D7:FD:CC:25
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.3
PCI name : 0000:05:1d.3
PCI Slot : 2
Index in slot: 109
BIOS device: pci2#0_54
Kernel name: eth54
Permanant MAC: 76:97:E4:8B:92:5C
Assigned MAC : 76:97:E4:8B:92:5C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.4
PCI name : 0000:05:1d.4
PCI Slot : 2
Index in slot: 110
BIOS device: pci2#1_54
Kernel name: eth118
Permanant MAC: 6E:D2:22:E6:71:88
Assigned MAC : 6E:D2:22:E6:71:88
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.5
PCI name : 0000:05:1d.5
PCI Slot : 2
Index in slot: 111
BIOS device: pci2#0_55
Kernel name: eth55
Permanant MAC: E6:5C:51:CD:88:5C
Assigned MAC : E6:5C:51:CD:88:5C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.6
PCI name : 0000:05:1d.6
PCI Slot : 2
Index in slot: 112
BIOS device: pci2#1_55
Kernel name: eth119
Permanant MAC: 8A:71:2B:B5:27:FC
Assigned MAC : 8A:71:2B:B5:27:FC
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1d.7
PCI name : 0000:05:1d.7
PCI Slot : 2
Index in slot: 113
BIOS device: pci2#0_56
Kernel name: eth56
Permanant MAC: 12:29:5D:8E:37:CF
Assigned MAC : 12:29:5D:8E:37:CF
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.0
PCI name : 0000:05:1e.0
PCI Slot : 2
Index in slot: 114
BIOS device: pci2#1_56
Kernel name: eth120
Permanant MAC: 6A:C2:99:E5:CE:27
Assigned MAC : 6A:C2:99:E5:CE:27
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.1
PCI name : 0000:05:1e.1
PCI Slot : 2
Index in slot: 115
BIOS device: pci2#0_57
Kernel name: eth57
Permanant MAC: 32:A4:1B:CB:42:28
Assigned MAC : 32:A4:1B:CB:42:28
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.2
PCI name : 0000:05:1e.2
PCI Slot : 2
Index in slot: 116
BIOS device: pci2#1_57
Kernel name: eth121
Permanant MAC: 6E:3F:07:B1:1E:28
Assigned MAC : 6E:3F:07:B1:1E:28
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.3
PCI name : 0000:05:1e.3
PCI Slot : 2
Index in slot: 117
BIOS device: pci2#0_58
Kernel name: eth58
Permanant MAC: 02:63:BE:D0:F6:5C
Assigned MAC : 02:63:BE:D0:F6:5C
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.4
PCI name : 0000:05:1e.4
PCI Slot : 2
Index in slot: 118
BIOS device: pci2#1_58
Kernel name: eth122
Permanant MAC: 12:71:66:F9:99:72
Assigned MAC : 12:71:66:F9:99:72
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.5
PCI name : 0000:05:1e.5
PCI Slot : 2
Index in slot: 119
BIOS device: pci2#0_59
Kernel name: eth59
Permanant MAC: 6E:20:60:C3:55:A3
Assigned MAC : 6E:20:60:C3:55:A3
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.6
PCI name : 0000:05:1e.6
PCI Slot : 2
Index in slot: 120
BIOS device: pci2#1_59
Kernel name: eth123
Permanant MAC: 76:BB:88:2F:01:9E
Assigned MAC : 76:BB:88:2F:01:9E
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1e.7
PCI name : 0000:05:1e.7
PCI Slot : 2
Index in slot: 121
BIOS device: pci2#0_60
Kernel name: eth60
Permanant MAC: AE:18:C6:B9:D2:0D
Assigned MAC : AE:18:C6:B9:D2:0D
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.0
PCI name : 0000:05:1f.0
PCI Slot : 2
Index in slot: 122
BIOS device: pci2#1_60
Kernel name: eth124
Permanant MAC: 12:54:8B:A6:9C:A5
Assigned MAC : 12:54:8B:A6:9C:A5
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.1
PCI name : 0000:05:1f.1
PCI Slot : 2
Index in slot: 123
BIOS device: pci2#0_61
Kernel name: eth61
Permanant MAC: 92:0E:6C:58:8F:CA
Assigned MAC : 92:0E:6C:58:8F:CA
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.2
PCI name : 0000:05:1f.2
PCI Slot : 2
Index in slot: 124
BIOS device: pci2#1_61
Kernel name: eth125
Permanant MAC: 9E:F7:72:12:0F:BA
Assigned MAC : 9E:F7:72:12:0F:BA
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.3
PCI name : 0000:05:1f.3
PCI Slot : 2
Index in slot: 125
BIOS device: pci2#0_62
Kernel name: eth62
Permanant MAC: 0E:1A:1E:0D:B6:56
Assigned MAC : 0E:1A:1E:0D:B6:56
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.4
PCI name : 0000:05:1f.4
PCI Slot : 2
Index in slot: 126
BIOS device: pci2#1_62
Kernel name: eth126
Permanant MAC: 2E:B2:27:24:03:15
Assigned MAC : 2E:B2:27:24:03:15
Driver: ixgbevf
Driver version: 1.0.0-k0
Firmware version: N/A
Bus Info: 0000:05:1f.5
PCI name : 0000:05:1f.5
PCI Slot : 2
Index in slot: 127
^ permalink raw reply
* Re: extended netdevice naming proposal
From: Matt Domsch @ 2010-11-18 18:52 UTC (permalink / raw)
To: Rick Jones; +Cc: linux-hotplug, netdev, narendra_k, jcm, notting
In-Reply-To: <4CE571B5.9070600@hp.com>
On Thu, Nov 18, 2010 at 10:34:29AM -0800, Rick Jones wrote:
> With the presence of the pci_slot driver to allow association of the PCI
> address with a "slot name" is encoding such information into the interface
> name really necessary?
I think so. 1) Dell systems seem not to be able to put information
into pci_slot. That needs investigation. 2) if it's not in the name,
the user must do the correlation themselves manually.
Thanks,
Matt
--
Matt Domsch
Technology Strategist
Dell | Office of the CTO
^ permalink raw reply
* Re: [PATCH v3] filter: Optimize instruction revalidation code.
From: David Miller @ 2010-11-18 18:58 UTC (permalink / raw)
To: penguin-kernel; +Cc: mjt, drosenberg, hagen, xiaosuo, netdev
In-Reply-To: <201011170119.oAH1JpES011121@www262.sakura.ne.jp>
From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: Wed, 17 Nov 2010 10:19:51 +0900
> Subject: [PATCH v3] filter: Optimize instruction revalidation code.
>
> Since repeating u16 value to u8 value conversion using switch() clause's
> case statement is wasteful, this patch introduces u16 to u8 mapping table
> and removes most of case statements. As a result, the size of net/core/filter.o
> is reduced by about 29% on x86.
>
> Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Applied, thank you.
^ permalink raw reply
* Re: [PATCH] net: move definitions of BPF_S_* to net/core/filter.c
From: David Miller @ 2010-11-18 19:00 UTC (permalink / raw)
To: hagen; +Cc: xiaosuo, penguin-kernel, eric.dumazet, netdev
In-Reply-To: <3003681dc01b47ffde9f75b4d0422268@localhost>
From: Hagen Paul Pfeifer <hagen@jauu.net>
Date: Wed, 17 Nov 2010 10:10:59 +0100
>
> On Wed, 17 Nov 2010 14:28:24 +0800, Changli Gao <xiaosuo@gmail.com> wrote:
>
>> Signed-off-by: Changli Gao <xiaosuo@gmail.com>
>
> Acked-by: Hagen Paul Pfeifer <hagen@jauu.net>
Applied, thanks everyone.
^ permalink raw reply
* Re: extended netdevice naming proposal
From: Ben Hutchings @ 2010-11-18 19:00 UTC (permalink / raw)
To: Matt Domsch; +Cc: Bill Nottingham, linux-hotplug, netdev, narendra_k, jcm
In-Reply-To: <20101118185125.GA4952@auslistsprd01.us.dell.com>
On Thu, 2010-11-18 at 12:51 -0600, Matt Domsch wrote:
> On Thu, Nov 18, 2010 at 02:29:57AM +0000, Ben Hutchings wrote:
> > On Wed, 2010-11-17 at 21:10 -0500, Bill Nottingham wrote:
> > > Matt Domsch (Matt_Domsch@dell.com) said:
> > > > (location)(slot)#(port)/(instance).(vlan)
> > >
> > > AIUI, the kernel explicitly rejects '/' in the name (for fairly obvious
> > > sysfs reasons.) So you'd at least need a different delimiter. There may
> > > also be potential confusion with pci01#03:02.0001 with someone thinking
> > > that's bus/dev/fn, if we're being really petty.
> >
> > ':' is also reserved for alias interfaces, the old way of assigning
> > multiple IP addresses.
> >
> > I would say '-' is a good separator, but that might result in ambiguity
> > in IRQ names.
>
> How about underscore to separate VFs?
> (location)(slot)#(port)_(instance).(vlan)
That does seem like the best separator available.
> And 'em' as prefix for embedded?
[...]
That also fits the mnemonic Ethernet on Motherboard, which is nice.
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
^ permalink raw reply
* Re: [PATCH net-next-2.6] igmp: refine skb allocations
From: David Miller @ 2010-11-18 19:02 UTC (permalink / raw)
To: eric.dumazet; +Cc: netdev
In-Reply-To: <1289975802.2732.195.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 17 Nov 2010 07:36:42 +0100
> IGMP allocates MTU sized skbs. This may fail for large MTU (order-2
> allocations), so add a fallback to try lower sizes.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied, although in the long run we need to be a lot more
intelligent here. However, this is a good start. :-)
^ permalink raw reply
* Re: [PATCH net-2.6] ipv6: Expose IFLA_PROTINFO timer values in msecs instead of jiffies
From: David Miller @ 2010-11-18 19:05 UTC (permalink / raw)
To: tgraf; +Cc: netdev, yoshfuji
In-Reply-To: <20101117114424.GA5838@canuck.infradead.org>
From: Thomas Graf <tgraf@infradead.org>
Date: Wed, 17 Nov 2010 06:44:24 -0500
> IFLA_PROTINFO exposes timer related per device settings in jiffies.
> Change it to expose these values in msecs like the sysctl interface
> does.
>
> I did not find any users of IFLA_PROTINFO which rely on any of these
> values and even if there are, they are likely already broken because
> there is no way for them to reliably convert such a value to another
> time format.
>
> Signed-off-by: Thomas Graf <tgraf@infradead.org>
> Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Applied.
Good to fix this now, thanks a lot Thomas.
^ permalink raw reply
* Re: error while building the kernel Mainline
From: Justin P. Mattock @ 2010-11-18 19:18 UTC (permalink / raw)
To: Patrick McHardy
Cc: David Miller, eric.dumazet, linux-net, linux-kernel, netdev,
horms, netfilter-devel
In-Reply-To: <4CE56E89.4000902@trash.net>
On 11/18/2010 10:20 AM, Patrick McHardy wrote:
> Am 18.11.2010 19:13, schrieb Justin P. Mattock:
>> On 11/18/2010 09:50 AM, David Miller wrote:
>>> From: Eric Dumazet<eric.dumazet@gmail.com>
>>> Date: Thu, 18 Nov 2010 18:48:17 +0100
>>>
>>>> Let me guess...
>>>>
>>>> net/netfilter/nf_conntrack_core is compiled as a module, and ip_vs
>>>> statically (in vmlinux) ?
>>>>
>>>> CONFIG_NF_CONNTRACK=m
>>>> CONFIG_IP_VS=y
>>>>
>>>> We probably need some Kconfig magic ;)
>>>
>
> Please try whether this patch fixes the problem.
>
> netfilter: fix IP_VS dependencies
>
> When NF_CONNTRACK is enabled, IP_VS uses conntrack symbols.
> Therefore IP_VS can't be linked statically when conntrack
> is built modular.
>
> Reported-by: Justin P. Mattock<justinmattock@gmail.com>
> Signed-off-by: Patrick McHardy<kaber@trash.net>
>
>
alright!! doing the above change
CONFIG_NF_CONNTRACK=y gets a clean build.. as well as reverting
everything and using your patch..
Thanks for the fix..
Justin P. Mattock
^ permalink raw reply
* [PATCH] qlge: Fix incorrect usage of module parameters and netdev msg level
From: Sonny Rao @ 2010-11-18 10:25 UTC (permalink / raw)
To: netdev; +Cc: Sonny Rao, Milton Miller, Ron Mercer, linux-driver, linux-kernel
Driver appears to be mistaking the permission field with default value
in the case of debug and qlge_irq_type.
Driver is also passing debug as a bitmask into netif_msg_init()
which really wants a number of bits, so fix that.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Sonny Rao <sonnyrao@linux.vnet.ibm.com>
---
drivers/net/qlge/qlge_main.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index d9a7626..66878bb 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -62,15 +62,15 @@ static const u32 default_msg =
/* NETIF_MSG_PKTDATA | */
NETIF_MSG_HW | NETIF_MSG_WOL | 0;
-static int debug = 0x00007fff; /* defaults above */
-module_param(debug, int, 0);
+static int debug = 15; /* defaults above */
+module_param(debug, int, 0664);
MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
#define MSIX_IRQ 0
#define MSI_IRQ 1
#define LEG_IRQ 2
static int qlge_irq_type = MSIX_IRQ;
-module_param(qlge_irq_type, int, MSIX_IRQ);
+module_param(qlge_irq_type, int, 0664);
MODULE_PARM_DESC(qlge_irq_type, "0 = MSI-X, 1 = MSI, 2 = Legacy.");
static int qlge_mpi_coredump;
--
1.5.6.5
^ permalink raw reply related
* RE: ixgbe dump
From: Skidmore, Donald C @ 2010-11-18 19:30 UTC (permalink / raw)
To: Yinghai Lu, Brandeburg, Jesse, David Miller; +Cc: NetDev, Kirsher, Jeffrey T
In-Reply-To: <4CE47FA6.8050600@kernel.org>
>-----Original Message-----
>From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] On
>Behalf Of Yinghai Lu
>Sent: Wednesday, November 17, 2010 5:22 PM
>To: Brandeburg, Jesse; David Miller
>Cc: NetDev
>Subject: ixgbe dump
>
>[ 1546.287521] md: stopping all md devices.
>[ 1547.283729] kvm: exiting hardware virtualization
>[ 1547.292876] sd 2:2:1:0: [sdb] Synchronizing SCSI cache
>[ 1547.293831] sd 2:2:0:0: [sda] Synchronizing SCSI cache
>[ 1547.299627] BUG: unable to handle kernel NULL pointer dereference at
>0000000000000033
>[ 1547.315819] IP: [<ffffffff81746273>] ixgbe_set_rx_mode+0x265/0x38e
>[ 1547.316448] PGD 3ff4487067 PUD 3ff216b067 PMD 0
>[ 1547.335626] Oops: 0000 [#1] SMP
>[ 1547.335941] last sysfs file: /sys/kernel/kexec_loaded
>[ 1547.336381] CPU 0
>[ 1547.336548] Modules linked in:
>[ 1547.355798]
>[ 1547.355968] Pid: 25630, comm: kexec Not tainted 2.6.37-rc2-tip-yh-01961-
>g6034289-dirty #281 /Sun Fire X4800
>[ 1547.375849] RIP: 0010:[<ffffffff81746273>] [<ffffffff81746273>]
>ixgbe_set_rx_mode+0x265/0x38e
>[ 1547.395543] RSP: 0018:ffff881fb9d49ce8 EFLAGS: 00010287
>[ 1547.396080] RAX: 0000000000000000 RBX: ffff88dffe5a0940 RCX:
>ffff88dffe5a0940
>[ 1547.415635] RDX: 0000000000000000 RSI: 0000000000000001 RDI:
>ffffc90077780000
>[ 1547.416299] RBP: ffff881fb9d49d48 R08: 0000000000000000 R09:
>0000000000000000
>[ 1547.435860] R10: 000000000000a608 R11: 0000000000000000 R12:
>0000000000000000
>[ 1547.455516] R13: ffff88dffe5a0000 R14: 0000000000003400 R15:
>ffff881fb9d49db7
>[ 1547.456257] FS: 00000000006e0850(0063) GS:ffff88207d600000(0000)
>knlGS:0000000000000000
>[ 1547.475937] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>[ 1547.495330] CR2: 0000000000000033 CR3: 0000003ffa77e000 CR4:
>00000000000006f0
>[ 1547.496009] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
>0000000000000000
>[ 1547.515594] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
>0000000000000400
>[ 1547.516229] Process kexec (pid: 25630, threadinfo ffff881fb9d48000, task
>ffff881f8a57a2d0)
>[ 1547.536039] Stack:
>[ 1547.536244] 0000000000000040 0000002b00000000 ffff881ffedc1000
>0000000000000006
>[ 1547.555894] ffff88dffe5a1b40 0b00000081454ec8 ffff881fb9d49d48
>ffff88dffe5a0940
>[ 1547.575411] ffff881ffedc1000 000000000000001e 0000000000000000
>ffff881fb9d49db7
>[ 1547.576131] Call Trace:
>[ 1547.595251] [<ffffffff8174a8f4>] __ixgbe_shutdown+0x9d/0x153
>[ 1547.595770] [<ffffffff8174a9c4>] ixgbe_shutdown+0x1a/0x43
>[ 1547.615250] [<ffffffff814574bb>] pci_device_shutdown+0x2c/0x40
>[ 1547.615887] [<ffffffff8151c5e9>] device_shutdown+0x75/0xb0
>[ 1547.635268] [<ffffffff8108f461>] kernel_restart_prepare+0x2c/0x33
>[ 1547.635927] [<ffffffff810bc821>] kernel_kexec+0x38/0x6b
>[ 1547.655252] [<ffffffff8108f618>] sys_reboot+0x156/0x194
>[ 1547.655765] [<ffffffff8114422a>] ? __d_free+0x59/0x5e
>[ 1547.675145] [<ffffffff81144283>] ? d_free+0x54/0x66
>[ 1547.675612] [<ffffffff8114439d>] ? d_kill+0x3b/0x43
>[ 1547.695025] [<ffffffff81144a1c>] ? dput+0x40/0x140
>[ 1547.695539] [<ffffffff811351a9>] ? fput+0x1d7/0x1e6
>[ 1547.696045] [<ffffffff81036c0c>] ? sysret_check+0x27/0x62
>[ 1547.715426] [<ffffffff81cd9772>] ? trace_hardirqs_on_thunk+0x3a/0x3f
>[ 1547.734897] [<ffffffff81036bdb>] system_call_fastpath+0x16/0x1b
>[ 1547.735428] Code: d2 e9 81 00 00 00 48 8b 83 00 12 00 00 8b 80 88 50 00
>00 0d 00 00 00 80 e9 a7 00 00 00 48 8b 81 00 0a 00 00 48 8b bb 00 12 00 00
><0f> b6 40 33 83 f8 3f 7f 0d 89 c6 c1 e6 06 81 c6 28 10 00 00 eb
>[ 1547.775262] RIP [<ffffffff81746273>] ixgbe_set_rx_mode+0x265/0x38e
>[ 1547.775909] RSP <ffff881fb9d49ce8>
>[ 1547.794997] CR2: 0000000000000033
>[ 1547.795987] ---[ end trace 4ed9616adc45007c ]---
>--
>To unsubscribe from this list: send the line "unsubscribe netdev" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks for the dump.
I believe I've found the problem and will get a patch to Jeff shortly.
Thanks again,
-Don Skidmore <donald.c.skidmore@intel.com>
^ permalink raw reply
* Re: [PATCH] qlge: Fix incorrect usage of module parameters and netdev msg level
From: David Miller @ 2010-11-18 19:30 UTC (permalink / raw)
To: sonnyrao; +Cc: netdev, miltonm, ron.mercer, linux-driver, linux-kernel
In-Reply-To: <1290075903-3038-1-git-send-email-sonnyrao@linux.vnet.ibm.com>
Sonny, something is serious wrong with your email setup.
The number of Received headers in your outgoing emails is
enormous and as a result a large percentage of the lists
subscribers bounced your posting because it looks like it
is looping.
^ permalink raw reply
* Re: [PATCH 1/2] of/phylib: Use device tree properties to initialize Marvell PHYs.
From: Cyril Chemparathy @ 2010-11-18 19:32 UTC (permalink / raw)
To: David Daney
Cc: devicetree-discuss@lists.ozlabs.org, grant.likely@secretlab.ca,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
Arnaud Patard, Benjamin Herrenschmidt
In-Reply-To: <1290038071-13296-2-git-send-email-ddaney@caviumnetworks.com>
On 11/17/2010 06:54 PM, David Daney wrote:
> Some aspects of PHY initialization are board dependent, things like
> indicator LED connections and some clocking modes cannot be determined
> by probing. The dev_flags element of struct phy_device can be used to
> control these things if an appropriate value can be passed from the
> Ethernet driver. We run into problems however if the PHY connections
> are specified by the device tree. There is no way for the Ethernet
> driver to know what flags it should pass.
>
> If we are using the device tree, the struct phy_device will be
> populated with the device tree node corresponding to the PHY, and we
> can extract extra configuration information from there.
>
> The next question is what should the format of that information be?
> It is highly device specific, and the device tree representation
> should not be tied to any arbitrary kernel defined constants. A
> straight forward representation is just to specify the exact bits that
> should be set using the "marvell,reg-init" property:
>
> phy5: ethernet-phy@5 {
> reg = <5>;
> device_type = "ethernet-phy";
> marvell,reg-init =
> <0x00030010 0x5777>, /* Reg 3,16 <- 0x5777 */
> <0x00030011 0x00aa>, /* Reg 3,17 <- 0x00aa */
> <0x00030012 0x4105>, /* Reg 3,18 <- 0x4105 */
> <0x00030013 0x0060>; /* Reg 3,19 <- 0x0060 */
> <0x00020015 0x00300000>; /* clear bits 4..5 of Reg 2,21 */
> };
>
> The Marvell PHYs have a page select register at register 22 (0x16), we
> can specify any register by its page and register number. These are
> encoded in the high and low parts of the first word. The second word
> contains a mask and value to be ORed in its high and low parts. The
> new marvell_of_reg_init function leaves the page select register
> unchanged, so a call to it can be dropped into the .config_init
> functions without unduly affecting the state of the PHY.
>
> If CONFIG_OF is not set, there is no of_node, or no "marvell,reg-init"
> property, the PHY initialization is unchanged.
>
> Signed-off-by: David Daney <ddaney@caviumnetworks.com>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: Cyril Chemparathy <cyril@ti.com>
> Cc: David Daney <ddaney@caviumnetworks.com>
> Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
> drivers/net/phy/marvell.c | 91 +++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 91 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
> index f0bd1a1..33ad654 100644
> --- a/drivers/net/phy/marvell.c
> +++ b/drivers/net/phy/marvell.c
> @@ -30,6 +30,7 @@
> #include <linux/ethtool.h>
> #include <linux/phy.h>
> #include <linux/marvell_phy.h>
> +#include <linux/of.h>
>
> #include <asm/io.h>
> #include <asm/irq.h>
> @@ -186,6 +187,85 @@ static int marvell_config_aneg(struct phy_device *phydev)
> return 0;
> }
>
> +#ifndef CONFIG_OF
> +static int marvell_of_reg_init(struct phy_device *phydev)
> +{
> + return 0;
> +}
> +#else
> +/*
> + * Set and/or override some configuration registers based on the
> + * marvell,reg-init property stored in the of_node for the phydev.
> + *
> + * marvell,reg-init = <reg-spec val-spec>,...;
> + *
> + * There may be one or more pairs of <reg-spec val-spec>:
> + * reg-spec [16..31]: Page address.
> + * reg-spec [0..15]: Register address.
> + *
> + * val-spec [16..31]: Mask bits.
> + * val-spec [0..15]: Register bits.
> + */
> +static int marvell_of_reg_init(struct phy_device *phydev)
> +{
> + const __be32 *paddr;
> + int len, i, saved_page, current_page, page_changed, ret;
> +
> + if (!phydev->dev.of_node)
> + return 0;
> +
> + paddr = of_get_property(phydev->dev.of_node, "marvell,reg-init", &len);
> + if (!paddr || len < (2 * sizeof(u32)))
> + return 0;
> +
> + saved_page = phy_read(phydev, 22);
Please use MII_88E1121_PHY_PAGE (renamed if necessary) instead of 22 here.
> + if (saved_page < 0)
> + return saved_page;
> + page_changed = 0;
> + current_page = saved_page;
> +
> + ret = 0;
> + len /= sizeof(u32);
> + for (i = 0; i < len / 2; i += 2) {
> + u32 reg_spec = be32_to_cpup(&paddr[i]);
> + u32 val_spec = be32_to_cpup(&paddr[i + 1]);
> + u16 reg = reg_spec & 0xffff;
> + u16 reg_page = reg_spec >> 16;
> + u16 val_bits = val_spec & 0xffff;
> + u16 mask = val_spec >> 16;
> + int val;
> +
> + if (reg_page != current_page) {
> + ret = phy_write(phydev, 22, reg_page);
> + if (ret < 0)
> + goto err;
> + current_page = reg_page;
> + page_changed = 1;
> + }
> +
> + val = 0;
> + if (mask) {
> + val = phy_read(phydev, reg);
If this phy_read() were to fail...
> + if (val < 0) {
> + ret = val;
> + goto err;
> + }
> + val &= mask;
> + }
> + val |= val_bits;
> +
> + ret = phy_write(phydev, reg, (u16)val);
> + if (ret < 0)
> + goto err;
> +
> + }
> +err:
> + if (page_changed)
> + ret = phy_write(phydev, 22, saved_page);
> + return ret;
... this function may incorrectly return success if the phy_write()
succeeds.
Some mdio controllers verify turn around during read operations and
return failure if the phy fails to drive the data line low. On write
transactions turn around is driven by the controller, and failures may
go undetected.
[...]
Regards
- Cyril.
^ permalink raw reply
* Re: [PATCH 2/2] phylib: Add support for Marvell 88E1149R devices.
From: David Miller @ 2010-11-18 19:46 UTC (permalink / raw)
To: ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8
Cc: netdev-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <1290038071-13296-3-git-send-email-ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
From: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
Date: Wed, 17 Nov 2010 15:54:31 -0800
> The 88E1149R is 10/100/1000 quad-gigabit Ethernet PHY. The
> .config_aneg function can be shared with 88E1118, but it needs its own
> .config_init.
>
> Signed-off-by: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
Please resend this when you've respun patch #1 based upon the feedback
you've been given.
Thanks.
^ permalink raw reply
* [PATCH] atm: fore200e: Fix build warning.
From: David Miller @ 2010-11-18 19:53 UTC (permalink / raw)
To: netdev
GCC (rightfully) complains that:
drivers/atm/fore200e.c:614:5: warning: operation on 'cmdq->head' may be undefined
This is due to the FORE200E_NEXT_ENTRY macro, which essentially
evaluates to:
i = ++i % m
Make it what's explicitly intended here which is:
i = (i + 1) % m
and the warning goes away.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
drivers/atm/fore200e.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index c8fc69c..c097619 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -92,7 +92,7 @@
#define FORE200E_INDEX(virt_addr, type, index) (&((type *)(virt_addr))[ index ])
-#define FORE200E_NEXT_ENTRY(index, modulo) (index = ++(index) % (modulo))
+#define FORE200E_NEXT_ENTRY(index, modulo) (index = ((index) + 1) % (modulo))
#if 1
#define ASSERT(expr) if (!(expr)) { \
--
1.7.3.2
^ permalink raw reply related
* alchemy/gpr: au1000_eth regression with v2.6.37rc2
From: Wolfgang Grandegger @ 2010-11-18 19:59 UTC (permalink / raw)
To: Linux-MIPS; +Cc: Netdev, Florian Fainelli
Hello,
I just realized that the v2.6.37-rc2 kernel does not boot any more on
the Alchemy GPR board. It works fine with v2.6.36. It hangs in the
probe function of the au1000_eth driver when probing the second
ethernet port (eth1):
au1000_eth_mii: probed
au1000-eth au1000-eth.0: (unregistered net_device): attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1)
au1000-eth au1000-eth.0: eth0: Au1xx0 Ethernet found at 0x10500000, irq 35
au1000_eth: au1000_eth version 1.7 Pete Popov <ppopov@embeddedalley.com>
... hangs ...
Similar messages should follow for eth1. I narrowed down (bisect'ed) the
problem to commit:
commit d0e7cb5d401695809ba8c980124ab1d8c66efc8b
Author: Florian Fainelli <florian@openwrt.org>
Date: Wed Sep 8 11:15:13 2010 +0000
au1000-eth: remove volatiles, switch to I/O accessors
Remove all the volatile keywords where they were used, switch to using the
proper readl/writel accessors.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
The kernel actually hangs when accessing "&aup->mac->mii_control" in
au1000_mdio_read(), but only for eth1. Any idea what does go wrong?
In principle, I do not want to access the MII regs of the MAC because
eth0 and eth1 are connected to switches. But that's not possible, even
with "aup->phy_static_config=1" and "aup->phy_addr=0".
TIA,
Wolfgang.
^ permalink raw reply
* Re: pull request: wireless-2.6 2010-11-18
From: David Miller @ 2010-11-18 20:02 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, netdev, linux-kernel
In-Reply-To: <20101118184116.GD2468@tuxdriver.com>
From: "John W. Linville" <linville@tuxdriver.com>
Date: Thu, 18 Nov 2010 13:41:16 -0500
> Included is an build fix for b43legacy on ARM, a correction of a
> misnumbered WIPHY_FLAG_* value, a fix for the units passed to
> usb_wait_anchor_empty_timeout in carl9170, a relocation of ath9k's
> pm_qos request to avoid a warning about an unknown object, some device
> ID stuff for ath9k_htc, a corrected eeprom offset for AR9287 devices, a
> regulatory fix for extension channels, a fix on top of the regulatory
> fix that restores HT40 functionality, and an ath9k_htc fix for non-QoS
> frame handling that avoids "severe data loss with some APs".
>
> Please let me know if there are problems!
Pulled, thanks John.
^ permalink raw reply
* Re: [PATCH net-next-2.6 v2] can: EG20T PCH: add prefix to macro
From: David Miller @ 2010-11-18 20:05 UTC (permalink / raw)
To: tomoya-linux-ECg8zkTtlr0C6LszWs/t0g
Cc: andrew.chih.howe.khor-ral2JQCrhuEAvxtiuMwx3w,
sameo-VuQAYsv1563Yd54FQh9/CA,
margie.foster-ral2JQCrhuEAvxtiuMwx3w,
netdev-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
socketcan-core-0fE9KPoRgkgATYTw5x5z8w,
kok.howg.ewe-ral2JQCrhuEAvxtiuMwx3w, wg-5Yr1BZd7O62+XT7JhA+gdA,
joel.clark-ral2JQCrhuEAvxtiuMwx3w,
yong.y.wang-ral2JQCrhuEAvxtiuMwx3w, chripell-VaTbYqLCNhc,
qi.wang-ral2JQCrhuEAvxtiuMwx3w
In-Reply-To: <4CE3B8CC.5060208-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
From: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
Date: Wed, 17 Nov 2010 20:13:16 +0900
> For easy to readable/identifiable, add prefix "PCH_" to all of #define macros.
>
> Signed-off-by: Tomoya MORINAGA <tomoya-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org>
> Acked-by: Marc Kleine-Budde <mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Applied.
^ permalink raw reply
* Re: [PATCH net-next-2.6] can: EG20T PCH: use BIT(X)
From: David Miller @ 2010-11-18 20:09 UTC (permalink / raw)
To: tomoya-linux
Cc: wg, w.sang, chripell, 21cnbao, sameo, socketcan-core, netdev,
linux-kernel, qi.wang, yong.y.wang, andrew.chih.howe.khor,
joel.clark, kok.howg.ewe, margie.foster
In-Reply-To: <4CE46E01.9030505@dsn.okisemi.com>
From: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Date: Thu, 18 Nov 2010 09:06:25 +0900
> Replace bit assignment value to BIT(X).
> For easy to readable/identifiable, replace all bit assigned macros to BIT(X)
>
> Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Also applied, thanks.
^ permalink raw reply
* Re: [PATCH] net: irda: irttp: sync error paths of data- and udata-requests
From: David Miller @ 2010-11-18 20:24 UTC (permalink / raw)
To: w.sang; +Cc: netdev, sameo
In-Reply-To: <1289936402-25277-1-git-send-email-w.sang@pengutronix.de>
From: Wolfram Sang <w.sang@pengutronix.de>
Date: Tue, 16 Nov 2010 20:40:02 +0100
> irttp_data_request() returns meaningful errorcodes, while irttp_udata_request()
> just returns -1 in similar situations. Sync the two and the loglevels of the
> accompanying output.
>
> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
> Cc: David Miller <davem@davemloft.net>
> ---
>
> Thank you David for picking up the zero-byte-packet-patch. Now as it was
> applied, this one might be interesting, too (on top of it)? Nothing seriously
> needed, but looks more proper IMHO. LXR says that are callers of these
> functions check with < 0 anyhow.
Better error code reporting is always appreciated :-)
Applied, thanks.
^ permalink raw reply
* Re: error while building the kernel Mainline
From: Patrick McHardy @ 2010-11-18 20:32 UTC (permalink / raw)
To: Justin P. Mattock
Cc: David Miller, eric.dumazet, linux-net, linux-kernel, netdev,
horms, netfilter-devel
In-Reply-To: <4CE57C06.4080105@gmail.com>
Am 18.11.2010 20:18, schrieb Justin P. Mattock:
> On 11/18/2010 10:20 AM, Patrick McHardy wrote:
>> Am 18.11.2010 19:13, schrieb Justin P. Mattock:
>>> On 11/18/2010 09:50 AM, David Miller wrote:
>>>> From: Eric Dumazet<eric.dumazet@gmail.com>
>>>> Date: Thu, 18 Nov 2010 18:48:17 +0100
>>>>
>>>>> Let me guess...
>>>>>
>>>>> net/netfilter/nf_conntrack_core is compiled as a module, and ip_vs
>>>>> statically (in vmlinux) ?
>>>>>
>>>>> CONFIG_NF_CONNTRACK=m
>>>>> CONFIG_IP_VS=y
>>>>>
>>>>> We probably need some Kconfig magic ;)
>>>>
>>
>> Please try whether this patch fixes the problem.
>>
>> netfilter: fix IP_VS dependencies
>>
>> When NF_CONNTRACK is enabled, IP_VS uses conntrack symbols.
>> Therefore IP_VS can't be linked statically when conntrack
>> is built modular.
>>
>> Reported-by: Justin P. Mattock<justinmattock@gmail.com>
>> Signed-off-by: Patrick McHardy<kaber@trash.net>
>>
>>
>
>
> alright!! doing the above change
> CONFIG_NF_CONNTRACK=y gets a clean build.. as well as reverting
> everything and using your patch..
>
> Thanks for the fix..
Thanks for testing. Dave, please apply directly, thanks!
^ permalink raw reply
* Re: [PATCH 1/2] of/phylib: Use device tree properties to initialize Marvell PHYs.
From: Grant Likely @ 2010-11-18 20:40 UTC (permalink / raw)
To: David Daney
Cc: netdev-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Cyril Chemparathy,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Arnaud Patard
In-Reply-To: <1290038071-13296-2-git-send-email-ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
On Wed, Nov 17, 2010 at 03:54:30PM -0800, David Daney wrote:
> Some aspects of PHY initialization are board dependent, things like
> indicator LED connections and some clocking modes cannot be determined
> by probing. The dev_flags element of struct phy_device can be used to
> control these things if an appropriate value can be passed from the
> Ethernet driver. We run into problems however if the PHY connections
> are specified by the device tree. There is no way for the Ethernet
> driver to know what flags it should pass.
>
> If we are using the device tree, the struct phy_device will be
> populated with the device tree node corresponding to the PHY, and we
> can extract extra configuration information from there.
>
> The next question is what should the format of that information be?
> It is highly device specific, and the device tree representation
> should not be tied to any arbitrary kernel defined constants. A
> straight forward representation is just to specify the exact bits that
> should be set using the "marvell,reg-init" property:
>
> phy5: ethernet-phy@5 {
> reg = <5>;
> device_type = "ethernet-phy";
Some notes:
- device_type is only relevant for real openfirmware platforms. It
should not appear in dts files.
- This example phy node needs a compatible property
- This new binding needs to be documented. You can use devicetree.org.
> marvell,reg-init =
> <0x00030010 0x5777>, /* Reg 3,16 <- 0x5777 */
> <0x00030011 0x00aa>, /* Reg 3,17 <- 0x00aa */
> <0x00030012 0x4105>, /* Reg 3,18 <- 0x4105 */
> <0x00030013 0x0060>; /* Reg 3,19 <- 0x0060 */
> <0x00020015 0x00300000>; /* clear bits 4..5 of Reg 2,21 */
> };
>
> The Marvell PHYs have a page select register at register 22 (0x16), we
> can specify any register by its page and register number. These are
> encoded in the high and low parts of the first word. The second word
> contains a mask and value to be ORed in its high and low parts. The
> new marvell_of_reg_init function leaves the page select register
> unchanged, so a call to it can be dropped into the .config_init
> functions without unduly affecting the state of the PHY.
Don't bother trying to pack the values tightly. Just use one cell per
value. ie: marvell,reg-init = < [page] [register] [mask] [value] >;
>
> If CONFIG_OF is not set, there is no of_node, or no "marvell,reg-init"
> property, the PHY initialization is unchanged.
>
> Signed-off-by: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
> Cc: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
> Cc: Cyril Chemparathy <cyril-l0cyMroinI0@public.gmane.org>
> Cc: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
> Cc: Arnaud Patard <arnaud.patard-dQbF7i+pzddAfugRpC6u6w@public.gmane.org>
> Cc: Benjamin Herrenschmidt <benh-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
> ---
> drivers/net/phy/marvell.c | 91 +++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 91 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
> index f0bd1a1..33ad654 100644
> --- a/drivers/net/phy/marvell.c
> +++ b/drivers/net/phy/marvell.c
> @@ -30,6 +30,7 @@
> #include <linux/ethtool.h>
> #include <linux/phy.h>
> #include <linux/marvell_phy.h>
> +#include <linux/of.h>
>
> #include <asm/io.h>
> #include <asm/irq.h>
> @@ -186,6 +187,85 @@ static int marvell_config_aneg(struct phy_device *phydev)
> return 0;
> }
>
> +#ifndef CONFIG_OF
ifndef CONFIG_OF_MDIO
Nit: I usually see these blocks constructed the other way around. Put
the true case first, and then follow it up with the empty false case.
> +static int marvell_of_reg_init(struct phy_device *phydev)
> +{
> + return 0;
> +}
> +#else
> +/*
> + * Set and/or override some configuration registers based on the
> + * marvell,reg-init property stored in the of_node for the phydev.
> + *
> + * marvell,reg-init = <reg-spec val-spec>,...;
> + *
> + * There may be one or more pairs of <reg-spec val-spec>:
> + * reg-spec [16..31]: Page address.
> + * reg-spec [0..15]: Register address.
> + *
> + * val-spec [16..31]: Mask bits.
> + * val-spec [0..15]: Register bits.
> + */
> +static int marvell_of_reg_init(struct phy_device *phydev)
> +{
> + const __be32 *paddr;
> + int len, i, saved_page, current_page, page_changed, ret;
> +
> + if (!phydev->dev.of_node)
> + return 0;
> +
> + paddr = of_get_property(phydev->dev.of_node, "marvell,reg-init", &len);
> + if (!paddr || len < (2 * sizeof(u32)))
> + return 0;
> +
> + saved_page = phy_read(phydev, 22);
> + if (saved_page < 0)
> + return saved_page;
> + page_changed = 0;
> + current_page = saved_page;
> +
> + ret = 0;
> + len /= sizeof(u32);
> + for (i = 0; i < len / 2; i += 2) {
> + u32 reg_spec = be32_to_cpup(&paddr[i]);
> + u32 val_spec = be32_to_cpup(&paddr[i + 1]);
> + u16 reg = reg_spec & 0xffff;
> + u16 reg_page = reg_spec >> 16;
> + u16 val_bits = val_spec & 0xffff;
> + u16 mask = val_spec >> 16;
> + int val;
> +
> + if (reg_page != current_page) {
> + ret = phy_write(phydev, 22, reg_page);
> + if (ret < 0)
> + goto err;
> + current_page = reg_page;
> + page_changed = 1;
> + }
> +
> + val = 0;
> + if (mask) {
> + val = phy_read(phydev, reg);
> + if (val < 0) {
> + ret = val;
> + goto err;
> + }
> + val &= mask;
> + }
> + val |= val_bits;
> +
> + ret = phy_write(phydev, reg, (u16)val);
> + if (ret < 0)
> + goto err;
> +
> + }
> +err:
> + if (page_changed)
> + ret = phy_write(phydev, 22, saved_page);
This throws away the previous error code if a single write fails. It
may return a false success.
> + return ret;
> +}
> +#endif /* CONFIG_OF */
> +
> static int m88e1121_config_aneg(struct phy_device *phydev)
> {
> int err, oldpage, mscr;
> @@ -368,6 +448,9 @@ static int m88e1111_config_init(struct phy_device *phydev)
> return err;
> }
>
> + err = marvell_of_reg_init(phydev);
> + if (err < 0)
> + return err;
>
> err = phy_write(phydev, MII_BMCR, BMCR_RESET);
> if (err < 0)
> @@ -420,6 +503,10 @@ static int m88e1118_config_init(struct phy_device *phydev)
> if (err < 0)
> return err;
>
> + err = marvell_of_reg_init(phydev);
> + if (err < 0)
> + return err;
> +
> /* Reset address */
> err = phy_write(phydev, 0x16, 0x0);
> if (err < 0)
> @@ -491,6 +578,10 @@ static int m88e1145_config_init(struct phy_device *phydev)
> }
> }
>
> + err = marvell_of_reg_init(phydev);
> + if (err < 0)
> + return err;
> +
> return 0;
> }
>
> --
> 1.7.2.3
>
^ permalink raw reply
* Re: [PATCH 2/2] phylib: Add support for Marvell 88E1149R devices.
From: Grant Likely @ 2010-11-18 20:44 UTC (permalink / raw)
To: David Miller
Cc: netdev-u79uwXL29TY76Z2rM5mHXA,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <20101118.114616.258106719.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
On Thu, Nov 18, 2010 at 11:46:16AM -0800, David Miller wrote:
> From: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
> Date: Wed, 17 Nov 2010 15:54:31 -0800
>
> > The 88E1149R is 10/100/1000 quad-gigabit Ethernet PHY. The
> > .config_aneg function can be shared with 88E1118, but it needs its own
> > .config_init.
> >
> > Signed-off-by: David Daney <ddaney-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
>
> Please resend this when you've respun patch #1 based upon the feedback
> you've been given.
It looks to me that this patch has no dependencies on the first patch.
ddaney; what say you?
g.
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox