On 12/15/2015 04:42 PM, Hal Rosenstock wrote: > On 12/15/2015 4:20 PM, Jason Gunthorpe wrote: >>> The unicast/multicast extended counters are not always supported - >>>> depends on setting of PerfMgt ClassPortInfo >>>> CapabilityMask.IsExtendedWidthSupportedNoIETF (bit 10). > >> Yes.. certainly this proposed patch needs to account for that and >> continue to use the 32 bit ones in that case. > > There are no 32 bit equivalents of those 4 "IETF" counters ([uni > multi]cast [xmit rcv] pkts). > > When not supported, perhaps it is best not to populate these counters in > sysfs so one can discern between counter not supported and 0 value. > > I'm still working on definitive mthca answer but think the attribute is > not supported there. Does anyone out there have an mthca setup where > they can try this ? Yes. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: OpenPGP digital signature