[brussels-dev] Brussels- nddcompat code review
Sebastien Roy
Sebastien.Roy at Sun.COM
Tue Apr 1 11:51:13 PDT 2008
Sowmini.Varadhan at Sun.COM wrote:
> On (04/01/08 14:04), Sebastien Roy wrote:
>> * 75: Just verifying: Is it a fact that all links that support
>> NDD-compatibility properties support the "flowctrl" property?
>
> yes- the ndd compat is only applicable to ethernet
> drivers that exploit ndd for driver conf (other drivers are
> expected to use dladm directly), and these drivers will all support
> the flowctrl property.
Okay.
>> * 109,304: This warning seems a bit too generic sounding. Not all ndd
>> commands are obsolete.
>>
>> * 109,304: Not lint clean (need (void) cast for the fprintf() call).
>>
>> * 303,108: These are duplicate blocks of code. I'd rename isgldv3() to
>> print_gldv3_warning() or some such thing and plop the fprintf() in there.
>
> Ok, changed to
> (void) fprintf(stderr,
> "WARNING: The ndd commands for datalink administration "
> "are obsolete and may be removed in a future release of "
> "Solaris. Use dladm(1M) to manage datalink tunables\n");
> printed from gldv3_warning (the renamed isgld3()).
One last nit: missing punctuation at the end of the last sentence above.
>
> See file:/net/zhadum.east/export/ws/sowmini/brussels/nddcompat_reg/webrev
Otherwise, looks good.
-Seb
More information about the brussels-dev
mailing list