> > Regarding counters width - After giving it a lot of thought. I believe > > that 64bit counters are the best > > decision. > > I agree - unless we're talking about thousands of counters, smaller ones don't seem worth the additional complexity to > save a few bytes. > > > a) Allowing more than one size of counters will make the memory > > allocation and data parsing harder. > > > > b) 64bit is exactly the right size. I agree on this size. > > Well, I wouldn't go this far. > > Is there a need to indicate if hardware doesn't actually support 64-bits? I'm guessing that most, if not all, HW support 64-bits counters. If not then the driver can overcome this by storing the previously read value and reporting a 64-bit value (aggregate). This is cumbersome for the driver but simplifies the common implementation. Ram -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html