diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-10-23 10:31:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-24 13:27:07 +0200 |
commit | 63f1988419ccaa544d1d31aadc1dd309f6471ffe (patch) | |
tree | d973e7c103b9453063d02c8895f629c4ca692a33 /arch | |
parent | sfc: Define DMA address mask explicitly in terms of descriptor field width (diff) | |
download | linux-63f1988419ccaa544d1d31aadc1dd309f6471ffe.tar.xz linux-63f1988419ccaa544d1d31aadc1dd309f6471ffe.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions