/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_repr.c | 27 nfp_repr_inc_tx_stats(struct net_device *netdev, unsigned int len, in nfp_repr_inc_tx_stats() argument 30 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_tx_stats() 46 void nfp_repr_inc_rx_stats(struct net_device *netdev, unsigned int len) in nfp_repr_inc_rx_stats() argument 48 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_inc_rx_stats() 90 nfp_repr_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in nfp_repr_get_stats64() argument 92 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_stats64() 123 nfp_repr_get_host_stats64(const struct net_device *netdev, in nfp_repr_get_host_stats64() argument 126 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_get_host_stats64() 166 static int nfp_repr_change_mtu(struct net_device *netdev, int new_mtu) in nfp_repr_change_mtu() argument 168 struct nfp_repr *repr = netdev_priv(netdev); in nfp_repr_change_mtu() [all …]
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_dcbnl.c | 13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate() argument 15 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getstate() 20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate() argument 22 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_setstate() 27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr() argument 30 memcpy(perm_addr, netdev->dev_addr, netdev->addr_len); in qede_dcbnl_getpermhwaddr() 33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx() argument 37 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgtccfgtx() 43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx() argument 46 struct qede_dev *edev = netdev_priv(netdev); in qede_dcbnl_getpgbwgcfgtx() [all …]
|
/drivers/infiniband/ulp/opa_vnic/ |
D | opa_vnic_netdev.c | 65 static void opa_vnic_get_stats64(struct net_device *netdev, in opa_vnic_get_stats64() argument 68 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_get_stats64() 73 adapter->rn_ops->ndo_get_stats64(netdev, &vstats.netstats); in opa_vnic_get_stats64() 80 struct net_device *netdev) in opa_netdev_start_xmit() argument 82 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_netdev_start_xmit() 94 return adapter->rn_ops->ndo_start_xmit(skb, netdev); in opa_netdev_start_xmit() 97 static u16 opa_vnic_select_queue(struct net_device *netdev, struct sk_buff *skb, in opa_vnic_select_queue() argument 100 struct opa_vnic_adapter *adapter = opa_vnic_priv(netdev); in opa_vnic_select_queue() 108 rc = adapter->rn_ops->ndo_select_queue(netdev, skb, sb_dev); in opa_vnic_select_queue() 128 netif_dormant_off(adapter->netdev); in opa_vnic_update_state() [all …]
|
/drivers/net/ethernet/micrel/ |
D | ks8842.c | 157 struct net_device *netdev; member 257 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status() argument 262 netif_carrier_on(netdev); in ks8842_update_link_status() 263 netif_wake_queue(netdev); in ks8842_update_link_status() 265 netif_stop_queue(netdev); in ks8842_update_link_status() 266 netif_carrier_off(netdev); in ks8842_update_link_status() 419 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma() argument 421 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame_dma() 426 netdev_dbg(netdev, "%s: TX ongoing\n", __func__); in ks8842_tx_frame_dma() 454 ctl->adesc->callback_param = netdev; in ks8842_tx_frame_dma() [all …]
|
/drivers/net/ipa/ |
D | ipa_modem.c | 40 static int ipa_open(struct net_device *netdev) in ipa_open() argument 42 struct ipa_priv *priv = netdev_priv(netdev); in ipa_open() 53 netif_start_queue(netdev); in ipa_open() 64 static int ipa_stop(struct net_device *netdev) in ipa_stop() argument 66 struct ipa_priv *priv = netdev_priv(netdev); in ipa_stop() 69 netif_stop_queue(netdev); in ipa_stop() 85 static int ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit() argument 87 struct net_device_stats *stats = &netdev->stats; in ipa_start_xmit() 88 struct ipa_priv *priv = netdev_priv(netdev); in ipa_start_xmit() 120 void ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb) in ipa_modem_skb_rx() argument [all …]
|
/drivers/net/ethernet/faraday/ |
D | ftmac100.c | 64 struct net_device *netdev; member 114 struct net_device *netdev = priv->netdev; in ftmac100_reset() local 137 netdev_err(netdev, "software reset failed\n"); in ftmac100_reset() 161 struct net_device *netdev = priv->netdev; in ftmac100_start_hw() local 176 ftmac100_set_mac(priv, netdev->dev_addr); in ftmac100_start_hw() 321 struct net_device *netdev = priv->netdev; in ftmac100_rx_packet_error() local 326 netdev_info(netdev, "rx err\n"); in ftmac100_rx_packet_error() 328 netdev->stats.rx_errors++; in ftmac100_rx_packet_error() 334 netdev_info(netdev, "rx crc err\n"); in ftmac100_rx_packet_error() 336 netdev->stats.rx_crc_errors++; in ftmac100_rx_packet_error() [all …]
|
D | ftgmac100.c | 84 struct net_device *netdev; member 116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local 133 netdev_err(netdev, "Hardware reset failed\n"); in ftgmac100_reset_mac() 154 netdev_err(priv->netdev, "Unknown speed %d !\n", in ftgmac100_reset_and_config_mac() 189 ether_addr_copy(priv->netdev->dev_addr, mac); in ftgmac100_initial_mac() 206 ether_addr_copy(priv->netdev->dev_addr, mac); in ftgmac100_initial_mac() 209 eth_hw_addr_random(priv->netdev); in ftgmac100_initial_mac() 211 priv->netdev->dev_addr); in ftgmac100_initial_mac() 269 ftgmac100_write_mac_addr(priv, priv->netdev->dev_addr); in ftgmac100_init_hw() 328 if (priv->netdev->flags & IFF_PROMISC) in ftgmac100_start_hw() [all …]
|
/drivers/net/usb/ |
D | rtl8150.c | 128 struct net_device *netdev; member 204 netif_device_detach(dev->netdev); in async_set_registers() 265 ether_addr_copy(dev->netdev->dev_addr, node_id); in set_ethernet_addr() 267 eth_hw_addr_random(dev->netdev); in set_ethernet_addr() 268 netdev_notice(dev->netdev, "Assigned a random MAC address: %pM\n", in set_ethernet_addr() 269 dev->netdev->dev_addr); in set_ethernet_addr() 273 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address() argument 276 rtl8150_t *dev = netdev_priv(netdev); in rtl8150_set_mac_address() 278 if (netif_running(netdev)) in rtl8150_set_mac_address() 281 memcpy(netdev->dev_addr, addr->sa_data, netdev->addr_len); in rtl8150_set_mac_address() [all …]
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 101 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg); 102 static void pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg, 104 static void pch_gbe_set_multi(struct net_device *netdev); 203 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl() argument 206 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl() 284 netdev_dbg(adapter->netdev, "hw->mac.addr : %pM\n", hw->mac.addr); in pch_gbe_mac_read_mac_addr() 316 netdev_dbg(adapter->netdev, "index : 0x%x\n", index); in pch_gbe_mac_mar_set() 406 netdev_dbg(adapter->netdev, "mac->fc = %u\n", mac->fc); in pch_gbe_mac_force_mac_fc() 428 netdev_err(adapter->netdev, in pch_gbe_mac_force_mac_fc() 435 netdev_dbg(adapter->netdev, in pch_gbe_mac_force_mac_fc() [all …]
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 77 static int change_mac_addr(struct net_device *netdev, const u8 *addr); 132 struct net_device *netdev = nic_dev->netdev; in create_txqs() local 137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, in create_txqs() 147 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs() 149 netif_err(nic_dev, drv, netdev, in create_txqs() 156 netif_err(nic_dev, drv, netdev, in create_txqs() 175 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs() 204 struct net_device *netdev = nic_dev->netdev; in free_txqs() local 216 devm_kfree(&netdev->dev, nic_dev->txqs); in free_txqs() 229 struct net_device *netdev = nic_dev->netdev; in create_rxqs() local [all …]
|
/drivers/staging/wlan-ng/ |
D | p80211netdev.c | 95 static int p80211knetdev_init(struct net_device *netdev); 96 static int p80211knetdev_open(struct net_device *netdev); 97 static int p80211knetdev_stop(struct net_device *netdev); 99 struct net_device *netdev); 104 static void p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue); 128 static int p80211knetdev_init(struct net_device *netdev) in p80211knetdev_init() argument 152 static int p80211knetdev_open(struct net_device *netdev) in p80211knetdev_open() argument 155 struct wlandevice *wlandev = netdev->ml_priv; in p80211knetdev_open() 165 netif_start_queue(wlandev->netdev); in p80211knetdev_open() 188 static int p80211knetdev_stop(struct net_device *netdev) in p80211knetdev_stop() argument [all …]
|
/drivers/net/can/usb/ |
D | mcba_usb.c | 77 struct net_device *netdev; member 204 netif_stop_queue(priv->netdev); in mcba_usb_get_free_ctx() 220 netif_wake_queue(ctx->priv->netdev); in mcba_usb_free_ctx() 226 struct net_device *netdev; in mcba_usb_write_bulk_callback() local 230 netdev = ctx->priv->netdev; in mcba_usb_write_bulk_callback() 237 if (!netif_device_present(netdev)) in mcba_usb_write_bulk_callback() 240 netdev->stats.tx_packets++; in mcba_usb_write_bulk_callback() 241 netdev->stats.tx_bytes += ctx->dlc; in mcba_usb_write_bulk_callback() 243 can_led_event(netdev, CAN_LED_EVENT_TX); in mcba_usb_write_bulk_callback() 244 can_get_echo_skb(netdev, ctx->ndx); in mcba_usb_write_bulk_callback() [all …]
|
D | usb_8dev.c | 127 struct net_device *netdev; member 203 struct net_device *netdev; in usb_8dev_send_cmd() local 205 netdev = priv->netdev; in usb_8dev_send_cmd() 218 netdev_err(netdev, "sending command message failed\n"); in usb_8dev_send_cmd() 226 netdev_err(netdev, "no command message answer\n"); in usb_8dev_send_cmd() 316 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode() argument 318 struct usb_8dev_priv *priv = netdev_priv(netdev); in usb_8dev_set_mode() 325 netdev_warn(netdev, "couldn't start device"); in usb_8dev_set_mode() 341 struct net_device_stats *stats = &priv->netdev->stats; in usb_8dev_rx_err_msg() 357 skb = alloc_can_err_skb(priv->netdev, &cf); in usb_8dev_rx_err_msg() [all …]
|
D | ems_usb.c | 242 struct net_device *netdev; member 265 struct net_device *netdev = dev->netdev; in ems_usb_read_interrupt_callback() local 268 if (!netif_device_present(netdev)) in ems_usb_read_interrupt_callback() 275 netif_queue_stopped(netdev)) in ems_usb_read_interrupt_callback() 276 netif_wake_queue(netdev); in ems_usb_read_interrupt_callback() 287 netdev_info(netdev, "Rx interrupt aborted %d\n", urb->status); in ems_usb_read_interrupt_callback() 294 netif_device_detach(netdev); in ems_usb_read_interrupt_callback() 296 netdev_err(netdev, "failed resubmitting intr urb: %d\n", err); in ems_usb_read_interrupt_callback() 304 struct net_device_stats *stats = &dev->netdev->stats; in ems_usb_rx_can_msg() 306 skb = alloc_can_skb(dev->netdev, &cf); in ems_usb_rx_can_msg() [all …]
|
/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 118 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update() local 121 if (!__ethtool_get_link_ksettings(netdev, &ecmd)) { in fcoe_link_speed_update() 170 struct net_device *netdev) in __fcoe_get_lesb() argument 193 htonl(dev_get_stats(netdev, &temp)->rx_crc_errors); in __fcoe_get_lesb() 205 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_get_lesb() local 207 __fcoe_get_lesb(lport, fc_lesb, netdev); in fcoe_get_lesb() 220 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb() local 224 __fcoe_get_lesb(fip->lp, fc_lesb, netdev); in fcoe_ctlr_get_lesb() 290 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn() argument 292 const struct net_device_ops *ops = netdev->netdev_ops; in fcoe_get_wwn() [all …]
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-main.c | 175 struct net_device *netdev; in xgbe_alloc_pdata() local 177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata() 179 if (!netdev) { in xgbe_alloc_pdata() 183 SET_NETDEV_DEV(netdev, dev); in xgbe_alloc_pdata() 184 pdata = netdev_priv(netdev); in xgbe_alloc_pdata() 185 pdata->netdev = netdev; in xgbe_alloc_pdata() 206 struct net_device *netdev = pdata->netdev; in xgbe_free_pdata() local 208 free_netdev(netdev); in xgbe_free_pdata() 264 struct net_device *netdev = pdata->netdev; in xgbe_config_netdev() local 268 netdev->irq = pdata->dev_irq; in xgbe_config_netdev() [all …]
|
D | xgbe-ethtool.c | 191 static void xgbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in xgbe_get_strings() argument 193 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_strings() 219 static void xgbe_get_ethtool_stats(struct net_device *netdev, in xgbe_get_ethtool_stats() argument 222 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_ethtool_stats() 241 static int xgbe_get_sset_count(struct net_device *netdev, int stringset) in xgbe_get_sset_count() argument 243 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_sset_count() 260 static void xgbe_get_pauseparam(struct net_device *netdev, in xgbe_get_pauseparam() argument 263 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_pauseparam() 270 static int xgbe_set_pauseparam(struct net_device *netdev, in xgbe_set_pauseparam() argument 273 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_pauseparam() [all …]
|
/drivers/net/ethernet/qualcomm/emac/ |
D | emac-ethtool.c | 66 static u32 emac_get_msglevel(struct net_device *netdev) in emac_get_msglevel() argument 68 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_msglevel() 73 static void emac_set_msglevel(struct net_device *netdev, u32 data) in emac_set_msglevel() argument 75 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_msglevel() 80 static int emac_get_sset_count(struct net_device *netdev, int sset) in emac_get_sset_count() argument 92 static void emac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in emac_get_strings() argument 111 static void emac_get_ethtool_stats(struct net_device *netdev, in emac_get_ethtool_stats() argument 115 struct emac_adapter *adpt = netdev_priv(netdev); in emac_get_ethtool_stats() 125 static int emac_nway_reset(struct net_device *netdev) in emac_nway_reset() argument 127 struct phy_device *phydev = netdev->phydev; in emac_nway_reset() [all …]
|
D | emac.c | 101 struct emac_adapter *adpt = netdev_priv(rx_q->netdev); in emac_napi_rtx() 119 struct net_device *netdev) in emac_start_xmit() argument 121 struct emac_adapter *adpt = netdev_priv(netdev); in emac_start_xmit() 145 adpt->netdev->name, status & ISR_ERROR); in emac_isr() 165 adpt->netdev->name); in emac_isr() 175 static int emac_set_features(struct net_device *netdev, in emac_set_features() argument 178 netdev_features_t changed = features ^ netdev->features; in emac_set_features() 179 struct emac_adapter *adpt = netdev_priv(netdev); in emac_set_features() 187 if (!netif_running(netdev)) in emac_set_features() 193 netdev->features = features; in emac_set_features() [all …]
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.c | 209 struct net_device *netdev; in peak_usb_read_bulk_callback() local 212 netdev = dev->netdev; in peak_usb_read_bulk_callback() 214 if (!netif_device_present(netdev)) in peak_usb_read_bulk_callback() 231 netdev_err(netdev, in peak_usb_read_bulk_callback() 262 netif_device_detach(netdev); in peak_usb_read_bulk_callback() 264 netdev_err(netdev, "failed resubmitting read bulk urb: %d\n", in peak_usb_read_bulk_callback() 275 struct net_device *netdev; in peak_usb_write_bulk_callback() local 280 netdev = dev->netdev; in peak_usb_write_bulk_callback() 284 if (!netif_device_present(netdev)) in peak_usb_write_bulk_callback() 291 netdev->stats.tx_packets++; in peak_usb_write_bulk_callback() [all …]
|
/drivers/net/ethernet/cortina/ |
D | gemini.c | 109 struct net_device *netdev; member 223 static void gmac_dump_dma_state(struct net_device *netdev); 225 static void gmac_update_config0_reg(struct net_device *netdev, in gmac_update_config0_reg() argument 228 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg() 241 static void gmac_enable_tx_rx(struct net_device *netdev) in gmac_enable_tx_rx() argument 243 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_enable_tx_rx() 256 static void gmac_disable_tx_rx(struct net_device *netdev) in gmac_disable_tx_rx() argument 258 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_disable_tx_rx() 273 static void gmac_set_flow_control(struct net_device *netdev, bool tx, bool rx) in gmac_set_flow_control() argument 275 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_set_flow_control() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bond.c | 21 struct net_device *netdev; member 54 const struct net_device *netdev) in mlx5e_lookup_rep_bond_slave_entry() argument 60 if (cur->netdev == netdev) { in mlx5e_lookup_rep_bond_slave_entry() 80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() argument 119 s_entry->netdev = netdev; in mlx5e_rep_bond_enslave() 120 priv = netdev_priv(netdev); in mlx5e_rep_bond_enslave() 130 netdev_dbg(netdev, "enslave rep vport(%d) lag_dev(%s) metadata(0x%x)\n", in mlx5e_rep_bond_enslave() 145 const struct net_device *netdev, in mlx5e_rep_bond_unslave() argument 160 s_entry = mlx5e_lookup_rep_bond_slave_entry(mdata, netdev); in mlx5e_rep_bond_unslave() 164 priv = netdev_priv(netdev); in mlx5e_rep_bond_unslave() [all …]
|
/drivers/net/ethernet/toshiba/ |
D | spider_net_ethtool.c | 37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, in spider_net_ethtool_get_link_ksettings() argument 41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings() 59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument 63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo() 76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument 85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument 88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel() 93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument 97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel() 102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument [all …]
|
/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 104 uec_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) in uec_get_ksettings() argument 106 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_ksettings() 118 uec_set_ksettings(struct net_device *netdev, in uec_set_ksettings() argument 121 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_ksettings() 131 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam() argument 134 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam() 145 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam() argument 148 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam() 155 if (netif_running(netdev)) { in uec_set_pauseparam() 157 netdev_info(netdev, "Please re-open the interface\n"); in uec_set_pauseparam() [all …]
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 273 static int iavf_get_link_ksettings(struct net_device *netdev, in iavf_get_link_ksettings() argument 276 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_get_link_ksettings() 332 static int iavf_get_sset_count(struct net_device *netdev, int sset) in iavf_get_sset_count() argument 351 static void iavf_get_ethtool_stats(struct net_device *netdev, in iavf_get_ethtool_stats() argument 354 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_get_ethtool_stats() 383 static void iavf_get_priv_flag_strings(struct net_device *netdev, u8 *data) in iavf_get_priv_flag_strings() argument 401 static void iavf_get_stat_strings(struct net_device *netdev, u8 *data) in iavf_get_stat_strings() argument 410 for (i = 0; i < netdev->num_tx_queues; i++) { in iavf_get_stat_strings() 426 static void iavf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in iavf_get_strings() argument 430 iavf_get_stat_strings(netdev, data); in iavf_get_strings() [all …]
|