netif_set_real_num_rx_queues(9)

netif_set_real_num_rx_queues9

Set actual number of rx queues used

Usage

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

Arguments

dev

Network device

rxq

Actual number of RX queues

Overview

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.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.