Home
last modified time | relevance | path

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

/Linux-v5.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()
/Linux-v5.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()
65 bool if_running; in ixgbe_xsk_pool_disable() local
71 if_running = netif_running(adapter->netdev) && in ixgbe_xsk_pool_disable()
74 if (if_running) in ixgbe_xsk_pool_disable()
80 if (if_running) in ixgbe_xsk_pool_disable()
Dixgbe_ethtool.c2162 bool if_running = netif_running(netdev); in ixgbe_diag_test() local
2205 if (if_running) in ixgbe_diag_test()
2244 if (if_running) in ixgbe_diag_test()
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c45 bool if_running; in i40e_xsk_pool_enable() local
64 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_enable()
66 if (if_running) { in i40e_xsk_pool_enable()
96 bool if_running; in i40e_xsk_pool_disable() local
103 if_running = netif_running(vsi->netdev) && i40e_enabled_xdp_vsi(vsi); in i40e_xsk_pool_disable()
105 if (if_running) { in i40e_xsk_pool_disable()
114 if (if_running) { in i40e_xsk_pool_disable()
Di40e_ethtool.c2535 bool if_running = netif_running(netdev); in i40e_diag_test() local
2557 if (if_running) in i40e_diag_test()
2584 if (if_running) in i40e_diag_test()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_xsk.c369 bool if_running, pool_present = !!pool; in ice_xsk_pool_setup() local
372 if_running = netif_running(vsi->netdev) && ice_is_xdp_ena_vsi(vsi); in ice_xsk_pool_setup()
374 if (if_running) { in ice_xsk_pool_setup()
386 if (if_running) { in ice_xsk_pool_setup()
Dice_ethtool.c800 bool if_running = netif_running(netdev); in ice_self_test() local
823 if (if_running) in ice_self_test()
842 if (if_running) { in ice_self_test()
Dice_main.c2495 bool if_running = netif_running(vsi->netdev); in ice_xdp_setup_prog() local
2504 if (if_running && !test_and_set_bit(__ICE_DOWN, vsi->state)) { in ice_xdp_setup_prog()
2525 if (if_running) in ice_xdp_setup_prog()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c313 bool if_running = netif_running(ndev); in hns3_self_test() local
345 if (if_running) in hns3_self_test()
391 if (if_running) in hns3_self_test()
963 bool if_running = netif_running(ndev); in hns3_set_ringparam() local
994 if (if_running) in hns3_set_ringparam()
1015 if (if_running) in hns3_set_ringparam()
/Linux-v5.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()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c583 bool if_running = netif_running(ndev); in hns_nic_self_test() local
600 if (if_running) in hns_nic_self_test()
626 if (if_running) in hns_nic_self_test()
Dhns_enet.c1710 bool if_running = netif_running(ndev); in hns_nic_change_mtu() local
1724 if (if_running) { in hns_nic_change_mtu()
1758 if (if_running) { in hns_nic_change_mtu()
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dethtool.c1791 bool if_running = netif_running(netdev); in e1000_diag_test() local
1797 if (!if_running) { in e1000_diag_test()
1819 if (if_running) in e1000_diag_test()
1853 if (if_running) in e1000_diag_test()
1872 if (!if_running) { in e1000_diag_test()
/Linux-v5.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()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c1833 bool if_running = netif_running(netdev); in igc_ethtool_diag_test() local
1845 if (if_running) in igc_ethtool_diag_test()
1869 if (if_running) in igc_ethtool_diag_test()
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpsw_new.c1633 bool if_running = false; in cpsw_dl_switch_mode_set() local
1658 if_running = true; in cpsw_dl_switch_mode_set()
1661 if (!if_running) { in cpsw_dl_switch_mode_set()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2014 bool if_running = netif_running(netdev); in igb_diag_test() local
2040 if (if_running) in igb_diag_test()
2074 if (if_running) in igb_diag_test()
2080 if (if_running && igb_link_test(adapter, &data[TEST_LINK])) in igb_diag_test()