Jesper Dangaard Brouer wrote:
commit 6fdc0f061be94f5e297650961360fb7a9d1cc85d
Author: Jesper Dangaard Brouer <[EMAIL PROTECTED]>
Date: Thu Aug 30 17:53:42 2007 +0200
[NET_SCHED]: Make all rate based scheduler work with TSO.
Change L2T (length to time) macros, in all rate based schedulers, to
call a common function qdisc_l2t() that does the rate table lookup.
This function handles if the packet size lookup is larger than the
rate table, which often occurs with TSO enabled.
It still won't work properly with TSO (TBF for example already drops
oversized packets during ->enqueue), but its a good cleanup anyway.
> +#define L2T(p,L) ((p)->tcfp_R_tab, L)
> +#define L2T_P(p,L) ((p)->tcfp_P_tab, L)
I'd prefer to get rid of these L2T macros completely.
-
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