Ryousei Takano wrote:
Hi Patrick,

+struct tc_psp_qopt
+{
+       __u32   defcls;
+       __u32   rate;
+};
What unit is rate measured in?

'rate' is the transmission rate in bytes per sec.

So wouldn't it make sense to use u64 then for 10GBit networks?

I decided to use u32 after tc_ratespec.rate is u32.
u32 is large enough for 10Gbit networks, but small for 40Gbit.
I will use u64, because code becomes simple and consistent.


Right, I was thinking about bits per second :)



-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to