diff options
| author | Tom Herbert <[email protected]> | 2010-10-18 18:00:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-10-20 02:27:59 -0700 |
| commit | bd25fa7ba59cd26094319dfba0011b48465f7355 (patch) | |
| tree | 34527956dacf0309d30257b02272e97e729219c9 /tools/perf/scripts | |
| parent | 55513fb4281464e97aa1ff2b9c906ca5aed917c5 (diff) | |
net: cleanups in RX queue allocation
Clean up in RX queue allocation. In netif_set_real_num_rx_queues
return error on attempt to set zero queues, or requested number is
greater than number of allocated queues. In netif_alloc_rx_queues,
do BUG_ON if queue_count is zero.
Signed-off-by: Tom Herbert <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions