commit | 63f1988419ccaa544d1d31aadc1dd309f6471ffe | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Fri Oct 23 08:31:20 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 24 04:27:07 2009 -0700 |
tree | d973e7c103b9453063d02c8895f629c4ca692a33 | |
parent | 6d51d307509f98f070688b4bff1d0f7462c4d3ec [diff] |
sfc: Move all TX DMA length limiting into tx.c Replace the duplicated logic in efx_enqueue_skb() and efx_tx_queue_insert() with an inline function, efx_max_tx_len(). Remove the failed attempt at abstracting hardware-specifics and put all the magic numbers in efx_max_tx_len(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>