From: Michael Chan Date: Thu, 19 Jun 2008 23:41:57 +0000 (-0700) Subject: bnx2: Use one handler for all MSI-X vectors. X-Git-Tag: v2.6.27-rc1~969^2~277 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0ea2e63859cf234b7017a2d7bba2a5a1db3bf25;p=pandora-kernel.git bnx2: Use one handler for all MSI-X vectors. Use the same MSI-X handler to schedule NAPI. Change the dev_instance void pointer to the bnx2_napi struct instead so we can have the proper context for each MSI-X vector. Add a new bnx2_poll_msix() that is optimized for handling MSI-X NAPI polling of rx/tx work only. Remove the old bnx2_tx_poll() that is no longer needed. Each MSI-X vector handles 1 tx and 1 rx ring. The first vector handles link events as well. Signed-off-by: Michael Chan Signed-off-by: Benjamin Li Signed-off-by: David S. Miller --- Reading git-diff-tree failed