Lines Matching defs:net_dev
510 struct net_device *net_dev)
512 struct efx_nic *efx = netdev_priv(net_dev);
516 EFX_WARN_ON_PARANOID(!netif_device_present(net_dev));
569 netif_err(efx, hw, efx->net_dev,
599 netdev_get_tx_queue(efx->net_dev,
605 int efx_setup_tc(struct net_device *net_dev, enum tc_setup_type type,
608 struct efx_nic *efx = netdev_priv(net_dev);
626 if (num_tc == net_dev->num_tc)
630 net_dev->tc_to_txq[tc].offset = tc * efx->n_tx_channels;
631 net_dev->tc_to_txq[tc].count = efx->n_tx_channels;
634 net_dev->num_tc = num_tc;
636 return netif_set_real_num_tx_queues(net_dev,