Re: [PATCH net-26 1/5] cxgb4vf: Virtual Interfaces are always up ...
From: Casey Leedom <hidden>
Date: 2011-02-14 19:13:59
| From: David Miller [off-list ref] | Date: Friday, February 11, 2011 09:19 pm | | From: Casey Leedom [off-list ref] | Date: Fri, 11 Feb 2011 17:00:19 -0800 | | > Implement new default mode of always reporting the Virtual Interface link | > as being "up". This allows different Virtual Interfaces on the same | > port to continue to communicate with each other even when the physical | > port link is down. This new behavior is controlled via the module | > parameter | > force_link_up (default 1). The old behavior can be achieved by setting | > force_link_up=0. | > | > Signed-off-by: Casey Leedom [off-list ref] | | No driver specific module parameters! Add something generic and common | so other drivers can use it too. | | Otherwise every user has to learn a different way to control this | attribute, depending upon the device type, which is rediculious. | | How many times do we have to tell driver authors this? Sorry. I wasn't aware of this rule. My bad. Is this writeen down somewhere under Documentation? I'm not being snarky. I really would like to know so I can read through the general ground rules and avoid making more mistakes in the future. As for a generic mechanism, what's the preferred way of doing this? A new ethtool flag? Sorry for being a doofus here, I'm happy to follow whatever the accepted standard is. Thanks for your time and patience. Casey