From: Michael Chan Date: Thu, 19 Jun 2008 23:41:08 +0000 (-0700) Subject: bnx2: Optimize fast-path tx and rx work. X-Git-Tag: v2.6.27-rc1~969^2~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43e80b89b65cbc62b5e0fde09b47c9fc572a8b11;p=pandora-kernel.git bnx2: Optimize fast-path tx and rx work. Add hw_tx_cons_ptr and hw_rx_cons_ptr to speed up the retreival of the tx and rx consumer index, since the MSI-X and default status blocks have different structures. Combine status_blk and status_blk_msix into a union. We'll only use one type of status block for each vector. Separate the code to detect more rx and tx work from the code to detect link related work. Signed-off-by: Michael Chan Signed-off-by: Benjamin Li Signed-off-by: David S. Miller --- Reading git-diff-tree failed