Lines Matching defs:net_dev
237 HARD_TX_LOCK(efx->net_dev, tx_queue->core_txq, cpu);
288 HARD_TX_UNLOCK(efx->net_dev, tx_queue->core_txq);
300 struct net_device *net_dev)
302 struct efx_nic *efx = netdev_priv(net_dev);
306 EFX_WARN_ON_PARANOID(!netif_device_present(net_dev));
352 netdev_get_tx_queue(efx->net_dev,
358 int efx_siena_setup_tc(struct net_device *net_dev, enum tc_setup_type type,
361 struct efx_nic *efx = netdev_priv(net_dev);
379 if (num_tc == net_dev->num_tc)
383 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels;
384 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
387 net_dev->num_tc = num_tc;
389 return netif_set_real_num_tx_queues(net_dev,