Home
last modified time | relevance | path

Searched refs:eth_test (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/engleder/
H A Dtsnep_selftests.c768 struct ethtool_test *eth_test, u64 *data) in tsnep_ethtool_self_test() argument
772 eth_test->len = TSNEP_TEST_COUNT; in tsnep_ethtool_self_test()
774 if (eth_test->flags != ETH_TEST_FL_OFFLINE) { in tsnep_ethtool_self_test()
787 eth_test->flags |= ETH_TEST_FL_FAILED; in tsnep_ethtool_self_test()
794 eth_test->flags |= ETH_TEST_FL_FAILED; in tsnep_ethtool_self_test()
801 eth_test->flags |= ETH_TEST_FL_FAILED; in tsnep_ethtool_self_test()
808 eth_test->flags |= ETH_TEST_FL_FAILED; in tsnep_ethtool_self_test()
H A Dtsnep.h234 struct ethtool_test *eth_test, u64 *data);
247 struct ethtool_test *eth_test, in tsnep_ethtool_self_test() argument
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c725 struct ethtool_test *eth_test, u64 *data) in ixgbevf_diag_test() argument
735 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbevf_diag_test()
739 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in ixgbevf_diag_test()
748 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbevf_diag_test()
758 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbevf_diag_test()
769 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbevf_diag_test()
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c1511 struct ethtool_test *eth_test, u64 *data) in e1000_diag_test() argument
1518 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in e1000_diag_test()
1532 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1541 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1545 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1549 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1555 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1570 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
/linux/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c291 struct ethtool_test *eth_test, u64 *data) in igbvf_diag_test() argument
301 eth_test->flags |= ETH_TEST_FL_FAILED; in igbvf_diag_test()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c1787 struct ethtool_test *eth_test, u64 *data) in e1000_diag_test() argument
1809 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in e1000_diag_test()
1824 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1828 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1832 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1836 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1844 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
1867 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2180 struct ethtool_test *eth_test, u64 *data) in ixgbe_diag_test() argument
2192 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2196 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in ixgbe_diag_test()
2209 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2224 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2234 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2239 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2244 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2258 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
2274 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1984 struct ethtool_test *eth_test, u64 *data) in igc_ethtool_diag_test() argument
1989 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in igc_ethtool_diag_test()
1997 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test()
2006 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test()
2012 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test()
2035 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2014 struct ethtool_test *eth_test, u64 *data) in igb_diag_test() argument
2025 eth_test->flags &= ~ETH_TEST_FL_OFFLINE; in igb_diag_test()
2026 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in igb_diag_test()
2043 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
2052 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
2056 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
2060 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
2066 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
2086 eth_test->flags |= ETH_TEST_FL_FAILED; in igb_diag_test()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c942 struct ethtool_test *eth_test, u64 *data) in fm10k_self_test() argument
952 eth_test->flags |= ETH_TEST_FL_FAILED; in fm10k_self_test()
957 eth_test->flags |= ETH_TEST_FL_FAILED; in fm10k_self_test()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1625 struct ethtool_test *eth_test, u64 *data) in hinic_diag_test() argument
1638 eth_test->flags |= ETH_TEST_FL_FAILED; in hinic_diag_test()
1646 err = do_lp_test(nic_dev, eth_test->flags, LP_DEFAULT_TIME, in hinic_diag_test()
1649 eth_test->flags |= ETH_TEST_FL_FAILED; in hinic_diag_test()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c2148 struct ethtool_test *eth_test, u64 *data) in cxgb4_self_test() argument
2157 eth_test->flags |= ETH_TEST_FL_FAILED; in cxgb4_self_test()
2161 if (eth_test->flags & ETH_TEST_FL_OFFLINE) in cxgb4_self_test()
2165 eth_test->flags |= ETH_TEST_FL_FAILED; in cxgb4_self_test()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c2669 struct ethtool_test *eth_test, u64 *data) in i40e_diag_test() argument
2675 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in i40e_diag_test()
2707 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
2710 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
2713 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
2717 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
2729 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
2745 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c1385 ice_self_test(struct net_device *netdev, struct ethtool_test *eth_test, in ice_self_test() argument
1395 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in ice_self_test()
1407 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test()
1427 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test()
1445 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c824 static void nfp_net_self_test(struct net_device *netdev, struct ethtool_test *eth_test, in nfp_net_self_test() argument
835 eth_test->flags |= ETH_TEST_FL_FAILED; in nfp_net_self_test()
/linux/drivers/net/ethernet/amd/
H A Dpcnet32.c326 struct ethtool_test *eth_test, u64 * data);