diff options
author | Yi Zou <[email protected]> | 2011-01-06 14:29:56 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-01-09 23:44:10 -0800 |
commit | 2d39d576fad0fd4bb79a0de26fca50a4be1ffdc1 (patch) | |
tree | 12d38ef31a7d6c2a2b1e73e6564091eb9c85ce98 /tools/perf/util/trace-event-scripting.c | |
parent | 5377a4160bb65ee4dd11b4b1d081d86d56d92bff (diff) |
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 <[email protected]>
Tested-by: Stephen Ko <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions