dev.c (460fbf82c0842cad3f3c744c4dcb81978b7829f3) dev.c (6f912042256c12b0927438122594f5379b364f5d)
1/*
2 * NET3 Protocol independent device support routines.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

--- 3332 unchanged lines hidden (view full) ---

3341
3342 for (i = 0; i < ARRAY_SIZE(dev_index_head); i++)
3343 INIT_HLIST_HEAD(&dev_index_head[i]);
3344
3345 /*
3346 * Initialise the packet receive queues.
3347 */
3348
1/*
2 * NET3 Protocol independent device support routines.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

--- 3332 unchanged lines hidden (view full) ---

3341
3342 for (i = 0; i < ARRAY_SIZE(dev_index_head); i++)
3343 INIT_HLIST_HEAD(&dev_index_head[i]);
3344
3345 /*
3346 * Initialise the packet receive queues.
3347 */
3348
3349 for_each_cpu(i) {
3349 for_each_possible_cpu(i) {
3350 struct softnet_data *queue;
3351
3352 queue = &per_cpu(softnet_data, i);
3353 skb_queue_head_init(&queue->input_pkt_queue);
3354 queue->completion_queue = NULL;
3355 INIT_LIST_HEAD(&queue->poll_list);
3356 set_bit(__LINK_STATE_START, &queue->backlog_dev.state);
3357 queue->backlog_dev.weight = weight_p;

--- 66 unchanged lines hidden ---
3350 struct softnet_data *queue;
3351
3352 queue = &per_cpu(softnet_data, i);
3353 skb_queue_head_init(&queue->input_pkt_queue);
3354 queue->completion_queue = NULL;
3355 INIT_LIST_HEAD(&queue->poll_list);
3356 set_bit(__LINK_STATE_START, &queue->backlog_dev.state);
3357 queue->backlog_dev.weight = weight_p;

--- 66 unchanged lines hidden ---