2 * Linux device driver tunables for
3 * Broadcom BCM47XX 10/100Mbps Ethernet Device Driver
5 * Copyright (C) 2010, Broadcom Corporation
8 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
9 * the contents of this file may not be disclosed to third parties, copied
10 * or duplicated in any form, in whole or in part, without the prior
11 * written permission of Broadcom Corporation.
12 * $Id: et_linux.h,v 1.16.12.3 2011-01-18 22:07:25 Exp $
19 #define NTXD 128 /* # tx dma ring descriptors (must be ^2) */
20 #define NRXD 512 /* # rx dma ring descriptors (must be ^2) */
21 #if defined(CONFIG_RAM_SIZE) && (CONFIG_RAM_SIZE <= 16)
22 #define NRXBUFPOST 256 /* try to keep this # rbufs posted to the chip */
24 #define NRXBUFPOST 320 /* try to keep this # rbufs posted to the chip */
26 #define BUFSZ 2048 /* packet data buffer size */
27 #define RXBUFSZ (BUFSZ - 256) /* receive buffer size */
30 #define RXBND 32 /* max # rx frames to process in dpc */
33 #if defined(ILSIM) || defined(__arch_um__)
45 #define ETPREFHDRS(h, sz) OSL_PREF_RANGE_ST((h), (sz))
47 #endif /* _et_linux_h_ */