Home
last modified time | relevance | path

Searched refs:if_running (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c108 bool if_running; in stmmac_xdp_set_prog() local
110 if_running = netif_running(dev); in stmmac_xdp_set_prog()
124 if (if_running && need_update) in stmmac_xdp_set_prog()
134 if (if_running && need_update) in stmmac_xdp_set_prog()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch-ethtool.c106 bool if_running; in dpaa2_switch_set_link_ksettings() local
121 if_running = netif_running(netdev); in dpaa2_switch_set_link_ksettings()
122 if (if_running) { in dpaa2_switch_set_link_ksettings()
147 if (if_running) { in dpaa2_switch_set_link_ksettings()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c28 bool if_running; in ixgbe_xsk_pool_enable() local
42 if_running = netif_running(adapter->netdev) && in ixgbe_xsk_pool_enable()
45 if (if_running) in ixgbe_xsk_pool_enable()
50 if (if_running) { in ixgbe_xsk_pool_enable()
68 bool if_running; in ixgbe_xsk_pool_disable() local
74 if_running = netif_running(adapter->netdev) && in ixgbe_xsk_pool_disable()
77 if (if_running) in ixgbe_xsk_pool_disable()
83 if (if_running) in ixgbe_xsk_pool_disable()
Dixgbe_ethtool.c2182 bool if_running = netif_running(netdev); in ixgbe_diag_test() local
2225 if (if_running) in ixgbe_diag_test()
2264 if (if_running) in ixgbe_diag_test()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_xdp.c14 bool if_running = netif_running(dev); in igc_xdp_set_prog() local
25 if (if_running) in igc_xdp_set_prog()
37 if (if_running) in igc_xdp_set_prog()
Digc_ethtool.c1942 bool if_running = netif_running(netdev); in igc_ethtool_diag_test() local
1954 if (if_running) in igc_ethtool_diag_test()
1978 if (if_running) in igc_ethtool_diag_test()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c90 bool if_running; in i40e_xsk_pool_enable() local
109 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_enable()
111 if (if_running) { in i40e_xsk_pool_enable()
145 bool if_running; in i40e_xsk_pool_disable() local
152 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_disable()
154 if (if_running) { in i40e_xsk_pool_disable()
163 if (if_running) { in i40e_xsk_pool_disable()
Di40e_ethtool.c2669 bool if_running = netif_running(netdev); in i40e_diag_test() local
2692 if (if_running) in i40e_diag_test()
2719 if (if_running) in i40e_diag_test()
Di40e_main.c12986 bool if_running = netif_running(vsi->netdev) && in i40e_set_loopback() local
12990 if (if_running) in i40e_set_loopback()
12996 if (if_running) in i40e_set_loopback()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c328 static void hns3_selftest_prepare(struct net_device *ndev, bool if_running) in hns3_selftest_prepare() argument
333 if (if_running) in hns3_selftest_prepare()
353 static void hns3_selftest_restore(struct net_device *ndev, bool if_running) in hns3_selftest_restore() argument
369 if (if_running) in hns3_selftest_restore()
424 bool if_running = netif_running(ndev); in hns3_self_test() local
443 hns3_external_lb_prepare(ndev, if_running); in hns3_self_test()
445 hns3_external_lb_restore(ndev, if_running); in hns3_self_test()
448 hns3_selftest_prepare(ndev, if_running); in hns3_self_test()
450 hns3_selftest_restore(ndev, if_running); in hns3_self_test()
1220 bool if_running = netif_running(ndev); in hns3_set_ringparam() local
[all …]
Dhns3_enet.h755 void hns3_external_lb_prepare(struct net_device *ndev, bool if_running);
756 void hns3_external_lb_restore(struct net_device *ndev, bool if_running);
Dhns3_enet.c5863 void hns3_external_lb_prepare(struct net_device *ndev, bool if_running) in hns3_external_lb_prepare() argument
5869 if (!if_running) in hns3_external_lb_prepare()
5894 void hns3_external_lb_restore(struct net_device *ndev, bool if_running) in hns3_external_lb_restore() argument
5900 if (!if_running) in hns3_external_lb_restore()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_xsk.c393 bool if_running, pool_present = !!pool; in ice_xsk_pool_setup() local
402 if_running = netif_running(vsi->netdev) && ice_is_xdp_ena_vsi(vsi); in ice_xsk_pool_setup()
404 if (if_running) { in ice_xsk_pool_setup()
422 if (if_running) { in ice_xsk_pool_setup()
Dice_main.c2927 bool if_running = netif_running(vsi->netdev); in ice_xdp_setup_prog() local
2945 if (if_running && !test_and_set_bit(ICE_VSI_DOWN, vsi->state)) { in ice_xdp_setup_prog()
2978 if (if_running) in ice_xdp_setup_prog()
6149 bool if_running = netif_running(vsi->netdev); in ice_set_loopback() local
6152 if (if_running && !test_and_set_bit(ICE_VSI_DOWN, vsi->state)) { in ice_set_loopback()
6162 if (if_running) in ice_set_loopback()
Dice_ethtool.c984 bool if_running = netif_running(netdev); in ice_self_test() local
1007 if (if_running) in ice_self_test()
1026 if (if_running) { in ice_self_test()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c728 bool if_running = netif_running(netdev); in ixgbevf_diag_test() local
750 if (if_running) in ixgbevf_diag_test()
763 if (if_running) in ixgbevf_diag_test()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c586 bool if_running = netif_running(ndev); in hns_nic_self_test() local
603 if (if_running) in hns_nic_self_test()
629 if (if_running) in hns_nic_self_test()
Dhns_enet.c1735 bool if_running = netif_running(ndev); in hns_nic_change_mtu() local
1749 if (if_running) { in hns_nic_change_mtu()
1783 if (if_running) { in hns_nic_change_mtu()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dethtool.c1818 bool if_running = netif_running(netdev); in e1000_diag_test() local
1824 if (!if_running) { in e1000_diag_test()
1846 if (if_running) in e1000_diag_test()
1880 if (if_running) in e1000_diag_test()
1899 if (!if_running) { in e1000_diag_test()
/linux-6.6.21/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1515 bool if_running = netif_running(netdev); in e1000_diag_test() local
1534 if (if_running) in e1000_diag_test()
1564 if (if_running) in e1000_diag_test()
/linux-6.6.21/drivers/net/ethernet/ti/
Dcpsw_new.c1634 bool if_running = false; in cpsw_dl_switch_mode_set() local
1659 if_running = true; in cpsw_dl_switch_mode_set()
1662 if (!if_running) { in cpsw_dl_switch_mode_set()
Dam65-cpsw-nuss.c2519 bool if_running = false; in am65_cpsw_dl_switch_mode_set() local
2545 if_running = true; in am65_cpsw_dl_switch_mode_set()
2548 if (!if_running) { in am65_cpsw_dl_switch_mode_set()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2019 bool if_running = netif_running(netdev); in igb_diag_test() local
2045 if (if_running) in igb_diag_test()
2079 if (if_running) in igb_diag_test()
2085 if (if_running && igb_link_test(adapter, &data[TEST_LINK])) in igb_diag_test()