Sebastien Roy wrote: > > This is not necessary, however, since drivers should return ENOTSUP to > property queries that they don't support. This could percolate up to > dladm which could filter out unsupported properties. >
I guess that may be sufficient, but in cases where a kstat set needs to be created it seems a little inelegant to have to walk all possible stats polling for the ones that return ENOTSUP. At the moment it seems that all stats are created but ones that are not supported get set to zero; which is bogus since zero may be a meaningful value. Paul
