From: Yi Zou Date: Thu, 6 Jan 2011 14:29:56 +0000 (+0000) Subject: ixgbe: make sure per Rx queue is disabled before unmapping the receive buffer X-Git-Tag: v2.6.38-rc1~403^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d39d576fad0fd4bb79a0de26fca50a4be1ffdc1;p=pandora-kernel.git ixgbe: make sure per Rx queue is disabled before unmapping the receive buffer When disable the Rx logic globally, we would also want to disable the per Rx queue receive logic by per queue Rx control register RXDCTL so no more DMA is happening from the packet buffer to the receive buffer associated with the Rx ring, before we start unmapping Rx ring receive buffer. The hardware may take max of 100us before the corresponding Rx queue is really disabled. Added ixgbe_disable_rx_queue() for this purpose. Signed-off-by: Yi Zou Tested-by: Stephen Ko Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed