xen-netfront: initialise queue name in xennet_init_queue
Signed-off-by: Wei Liu <wei.liu2@citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
a2deb8b1e7
Коммит
8b715010aa
|
@ -1665,6 +1665,9 @@ static int xennet_init_queue(struct netfront_queue *queue)
|
|||
queue->rx_refill_timer.data = (unsigned long)queue;
|
||||
queue->rx_refill_timer.function = rx_refill_timeout;
|
||||
|
||||
snprintf(queue->name, sizeof(queue->name), "%s-q%u",
|
||||
queue->info->netdev->name, queue->id);
|
||||
|
||||
/* Initialise tx_skbs as a free chain containing every entry. */
|
||||
queue->tx_skb_freelist = 0;
|
||||
for (i = 0; i < NET_TX_RING_SIZE; i++) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче