Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw-ethtool.c93 bool if_running; in dpaa2_switch_set_link_ksettings() local
97 if_running = netif_running(netdev); in dpaa2_switch_set_link_ksettings()
98 if (if_running) { in dpaa2_switch_set_link_ksettings()
123 if (if_running) { in dpaa2_switch_set_link_ksettings()
/kernel/linux/linux-5.10/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.c2164 bool if_running = netif_running(netdev); in ixgbe_diag_test() local
2207 if (if_running) in ixgbe_diag_test()
2246 if (if_running) in ixgbe_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c89 bool if_running; in i40e_xsk_pool_enable() local
108 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_enable()
110 if (if_running) { in i40e_xsk_pool_enable()
144 bool if_running; in i40e_xsk_pool_disable() local
151 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_disable()
153 if (if_running) { in i40e_xsk_pool_disable()
162 if (if_running) { in i40e_xsk_pool_disable()
Di40e_ethtool.c2573 bool if_running = netif_running(netdev); in i40e_diag_test() local
2596 if (if_running) in i40e_diag_test()
2623 if (if_running) in i40e_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c324 bool if_running, int (*st_param)[2]) in hns3_selftest_prepare() argument
334 if (if_running) in hns3_selftest_prepare()
354 static void hns3_selftest_restore(struct net_device *ndev, bool if_running) in hns3_selftest_restore() argument
370 if (if_running) in hns3_selftest_restore()
412 bool if_running = netif_running(ndev); in hns3_self_test() local
423 hns3_selftest_prepare(ndev, if_running, st_param); in hns3_self_test()
425 hns3_selftest_restore(ndev, if_running); in hns3_self_test()
994 bool if_running = netif_running(ndev); in hns3_set_ringparam() local
1025 if (if_running) in hns3_set_ringparam()
1046 if (if_running) in hns3_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_xsk.c371 bool if_running, pool_present = !!pool; in ice_xsk_pool_setup() local
387 if_running = netif_running(vsi->netdev) && ice_is_xdp_ena_vsi(vsi); in ice_xsk_pool_setup()
389 if (if_running) { in ice_xsk_pool_setup()
401 if (if_running) { in ice_xsk_pool_setup()
Dice_ethtool.c802 bool if_running = netif_running(netdev); in ice_self_test() local
825 if (if_running) in ice_self_test()
844 if (if_running) { in ice_self_test()
Dice_main.c2518 bool if_running = netif_running(vsi->netdev); in ice_xdp_setup_prog() local
2527 if (if_running && !test_and_set_bit(__ICE_DOWN, vsi->state)) { in ice_xdp_setup_prog()
2553 if (if_running) in ice_xdp_setup_prog()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c587 bool if_running = netif_running(ndev); in hns_nic_self_test() local
604 if (if_running) in hns_nic_self_test()
630 if (if_running) in hns_nic_self_test()
Dhns_enet.c1712 bool if_running = netif_running(ndev); in hns_nic_change_mtu() local
1726 if (if_running) { in hns_nic_change_mtu()
1760 if (if_running) { in hns_nic_change_mtu()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dethtool.c1800 bool if_running = netif_running(netdev); in e1000_diag_test() local
1806 if (!if_running) { in e1000_diag_test()
1828 if (if_running) in e1000_diag_test()
1862 if (if_running) in e1000_diag_test()
1881 if (!if_running) { in e1000_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1511 bool if_running = netif_running(netdev); in e1000_diag_test() local
1530 if (if_running) in e1000_diag_test()
1560 if (if_running) in e1000_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_new.c1637 bool if_running = false; in cpsw_dl_switch_mode_set() local
1662 if_running = true; in cpsw_dl_switch_mode_set()
1665 if (!if_running) { in cpsw_dl_switch_mode_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1847 bool if_running = netif_running(netdev); in igc_ethtool_diag_test() local
1859 if (if_running) in igc_ethtool_diag_test()
1883 if (if_running) in igc_ethtool_diag_test()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2016 bool if_running = netif_running(netdev); in igb_diag_test() local
2042 if (if_running) in igb_diag_test()
2076 if (if_running) in igb_diag_test()
2082 if (if_running && igb_link_test(adapter, &data[TEST_LINK])) in igb_diag_test()