Name

netif_set_real_num_rx_queues — set actual number of RX queues used

Synopsis

int netif_set_real_num_rx_queues (struct net_device * dev,
 unsigned int rxq);
 

Arguments

dev

Network device

rxq

Actual number of RX queues

Description

This must be called either with the rtnl_lock held or before registration of the net device. Returns 0 on success, or a negative error code. If called before registration, it always succeeds.