Min Miles Xu wrote:
>
> I just did a tests on an e1000g machine, and found m_getcapab() was 
> called when unplumbing/plumbing. So the current drivers should at 
> least support HW checksum, LSO on/off through unplumbing/plumbing.
I just did an experiment with verbose outputs of m_getcapab().

first plumb:

e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x800
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x400
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x2
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x100 <----HW checksum
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x10
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x200<---- LSO

replumb:
e1000g: [ID 801725 kern.warning] WARNING: pci8086,1011 - e1000g[1] : cap 
is: 0x2

It seems that the upper layer won't retrieve HW checksum and LSO 
capabilities again if we replumb the interface. So the stack should be 
adjusted.



Miles Xu
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to