Re: [PATCH 8139too] Dreamcast Broad Band Adaptor support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



NIIBE Yutaka wrote:
> +#ifdef CONFIG_8139TOO_BUF16K
> +static const unsigned int rtl8139_rx_config =
> +         (RX_EARLY_THRESH << RxCfgEarlyRxShift) | RxCfgRcv16K | RxNoWrap |

Jeff Garzik wrote:
 > The use of RxNoWrap does not appear to be accurate, if your Rx DMA area
 > is limited to 16K and absolutely no more.

It's correct.  The total size of DMA memory is 32KB.  Because of that,
we cannot use 32KB receive buffer.

>From 32KB, we allocate the buffer for transmission and the one for
receive.  For receive, allocating 16KB + 16byte + (2KB for wrapping)
is no problem.
-- 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux