]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
[BNX2]: Restructure RX ring init. code.
authorMichael Chan <mchan@broadcom.com>
Wed, 12 Dec 2007 19:17:43 +0000 (11:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:29 +0000 (14:57 -0800)
commit5d5d001504b4a415a008f7ac1adb9fbec1637811
treec73dd0b4231e29c8586dd75a807901716f7df7e1
parent85833c6269016d009ada17b04ac288e2ab9c37ea
[BNX2]: Restructure RX ring init. code.

Factor out the common functions that will be used to initialize the
normal RX rings and the page rings.

Change the copybreak constant RX_COPY_THRESH to 128.  This same
constant will be used for the max. size of the linear SKB when pages
are used.  Copybreak will be turned off when pages are used.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c
drivers/net/bnx2.h