Home
last modified time | relevance | path

Searched refs:netif_running (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/Linux-v6.6/drivers/net/ethernet/intel/igc/
Digc_xdp.c14 bool if_running = netif_running(dev); in igc_xdp_set_prog()
74 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_enable_pool()
120 needs_reset = netif_running(adapter->netdev) && igc_xdp_is_enabled(adapter); in igc_xdp_disable_pool()
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c34 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_enable_pool()
72 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_disable_pool()
110 if_running = netif_running(dev); in stmmac_xdp_set_prog()
/Linux-v6.6/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c167 if (netif_running(netdev)) in emac_set_ringparam()
192 if (netif_running(netdev)) in emac_set_pauseparam()
243 if (netif_running(netdev)) in emac_set_priv_flags()
/Linux-v6.6/drivers/staging/rtl8192e/rtl8192e/
Drtl_pm.c23 if (!netif_running(dev)) { in rtl92e_suspend()
73 if (!netif_running(dev)) { in rtl92e_resume()
/Linux-v6.6/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c143 if (netif_running(adapter->netdev)) { in pch_gbe_set_link_ksettings()
317 if ((netif_running(adapter->netdev))) in pch_gbe_set_ringparam()
343 if ((netif_running(adapter->netdev))) { in pch_gbe_set_ringparam()
370 if (netif_running(adapter->netdev)) in pch_gbe_set_ringparam()
425 if ((netif_running(adapter->netdev))) { in pch_gbe_set_pauseparam()
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-ethtool.c45 netif_running(ndev)) in mcp251xfd_ring_set_ringparam()
105 netif_running(ndev)) in mcp251xfd_ring_set_coalesce()
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
Ddev.h205 r = netif_running(priv->dev); in lbs_iface_active()
207 r |= netif_running(priv->mesh_dev); in lbs_iface_active()
/Linux-v6.6/drivers/net/ethernet/wangxun/ngbe/
Dngbe_main.c203 if (netif_running(wx->netdev)) in ngbe_intr()
215 if (netif_running(wx->netdev)) in ngbe_intr()
226 if (netif_running(wx->netdev)) in ngbe_msix_other()
449 if (netif_running(netdev)) in ngbe_dev_shutdown()
756 if (!err && netif_running(netdev)) in ngbe_resume()
/Linux-v6.6/drivers/net/hamradio/
Dyam.c641 if (dev && netif_running(dev)) in yam_dotimer()
741 if (!netif_running(dev)) in yam_interrupt()
802 seq_printf(seq, " Up %d\n", netif_running(dev)); in yam_seq_show()
948 if (netif_running(dev)) in yam_siocdevprivate()
970 if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) in yam_siocdevprivate()
972 if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) in yam_siocdevprivate()
974 if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) in yam_siocdevprivate()
976 if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) in yam_siocdevprivate()
/Linux-v6.6/drivers/net/wireguard/
Dtimers.c35 if (likely(netif_running(peer->device->dev) && in mod_peer_timer()
156 if (likely(netif_running(peer->device->dev))) { in wg_timers_data_received()
Dnetlink.c322 if (!netif_running(wg->dev)) { in set_port()
475 netif_running(wg->dev); in set_peer()
482 if (netif_running(wg->dev)) in set_peer()
568 send_staged_packets = !wg->static_identity.has_identity && netif_running(wg->dev); in wg_set_device()
/Linux-v6.6/drivers/net/
Dnet_failover.c32 return netif_running(dev) && netif_carrier_ok(dev); in net_failover_xmit_ready()
443 if (netif_running(primary_dev)) in net_failover_lower_state_changed()
448 if ((primary_dev && netif_running(primary_dev)) || in net_failover_lower_state_changed()
449 (!netif_running(standby_dev))) in net_failover_lower_state_changed()
514 if (netif_running(failover_dev)) { in net_failover_slave_register()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c143 bool if_up = netif_running(dev); in otx2_pfc_update_sq_smq_mapping()
199 bool if_up = netif_running(pfvf->netdev); in otx2_pfc_txschq_update()
328 bool if_up = netif_running(pfvf->netdev); in otx2_update_bpid_in_rqctx()
Dotx2_ethtool.c290 bool if_up = netif_running(dev); in otx2_set_channels()
398 bool if_up = netif_running(netdev); in otx2_set_ringparam()
561 if (netif_running(netdev)) { in otx2_set_coalesce()
740 if (netif_running(dev) && ntuple) { in otx2_get_rxnfc()
746 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
750 if (netif_running(dev) && ntuple) in otx2_get_rxnfc()
773 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
777 if (netif_running(dev) && ntuple) in otx2_set_rxnfc()
/Linux-v6.6/net/core/
Dfailover.c149 if (!netif_running(failover_dev)) in failover_slave_link_change()
174 if (!netif_running(failover_dev)) in failover_slave_name_change()
/Linux-v6.6/drivers/net/ethernet/qualcomm/
Dqca_debug.c274 if (netif_running(dev)) in qcaspi_set_ringparam()
280 if (netif_running(dev)) in qcaspi_set_ringparam()
/Linux-v6.6/net/bridge/
Dbr_if.c79 netif_running(dev) && netif_oper_up(dev)) in br_port_carrier_check()
83 if (!netif_running(br->dev)) in br_port_carrier_check()
87 if (netif_running(dev) && netif_oper_up(dev)) { in br_port_carrier_check()
685 if (netif_running(dev) && netif_oper_up(dev) && in br_add_if()
/Linux-v6.6/drivers/net/can/slcan/
Dslcan-core.c121 if (netif_running(ndev)) in slcan_enable_err_rst_on_open()
550 if (unlikely(!netif_running(sl->dev)) && in slcan_transmit()
601 if (!netif_running(dev)) { in slcan_netdev_xmit()
782 if (!netif_running(sl->dev)) in slcan_receive_buf()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c467 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_secy()
486 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_secy()
596 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_txsa()
618 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_txsa()
765 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_add_rxsc()
786 if (netif_carrier_ok(nic->ndev) && netif_running(ctx->secy->netdev)) in aq_mdo_upd_rxsc()
926 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_add_rxsa()
947 if (netif_carrier_ok(nic->ndev) && netif_running(secy->netdev)) in aq_mdo_upd_rxsa()
1179 if (!netif_running(secy->netdev)) in apply_txsc_cfg()
1207 if (!netif_running(secy->netdev)) in apply_rxsc_cfg()
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_devlink.c481 if (netif_running(bp->dev)) { in bnxt_dl_reload_down()
494 if (netif_running(bp->dev)) in bnxt_dl_reload_down()
522 if (netif_running(bp->dev)) in bnxt_dl_reload_down()
555 if (netif_running(bp->dev)) in bnxt_dl_reload_up()
572 if (!netif_running(bp->dev)) in bnxt_dl_reload_up()
601 if (netif_running(bp->dev)) { in bnxt_dl_reload_up()
607 } else if (netif_running(bp->dev)) { in bnxt_dl_reload_up()
/Linux-v6.6/drivers/net/ethernet/micrel/
Dks8851_common.c149 if (!netif_running(dev)) in ks8851_write_mac_addr()
670 if (netif_running(dev)) in ks8851_set_mac_address()
684 if (!netif_running(dev)) in ks8851_net_ioctl()
1054 if (netif_running(netdev)) { in ks8851_suspend()
1068 if (netif_running(netdev)) { in ks8851_resume()
/Linux-v6.6/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c122 if (netif_running(dev) && adapter->has_link_events) { in netxen_nic_get_link_ksettings()
183 check_sfp_module = netif_running(dev) && in netxen_nic_get_link_ksettings()
200 check_sfp_module = netif_running(dev) && in netxen_nic_get_link_ksettings()
233 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
271 if (!netif_running(dev)) in netxen_nic_set_link_ksettings()
/Linux-v6.6/drivers/net/can/flexcan/
Dflexcan-ethtool.c80 if (quirks != priv->devtype_data.quirks && netif_running(ndev)) in flexcan_set_priv_flags()
/Linux-v6.6/drivers/net/ethernet/nvidia/
Dforcedeth.c3108 if (netif_running(dev)) { in nv_change_mtu()
3180 if (netif_running(dev)) { in nv_set_mac_address()
3400 if (netif_running(dev)) { in nv_update_linkspeed()
3560 if (netif_running(dev) && (np->duplex != 0)) { in nv_update_linkspeed()
4197 if (netif_running(dev)) { in nv_do_nic_poll()
4322 if (netif_running(dev)) { in nv_set_wol()
4340 if (!netif_running(dev)) { in nv_get_link_ksettings()
4454 if (netif_running(dev)) { in nv_set_link_ksettings()
4507 if (netif_running(dev)) in nv_set_link_ksettings()
4569 if (netif_running(dev)) { in nv_set_link_ksettings()
[all …]
/Linux-v6.6/net/rose/
Drose_dev.c102 if (!netif_running(dev)) { in rose_xmit()

12345678910>>...20