/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_selftests.c | 768 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 D | tsnep.h | 234 struct ethtool_test *eth_test, u64 *data); 247 struct ethtool_test *eth_test, in tsnep_ethtool_self_test() argument
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 725 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()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ethtool.c | 1159 qlcnic_diag_test(struct net_device *dev, struct ethtool_test *eth_test, in qlcnic_diag_test() argument 1166 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test() 1170 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test() 1172 if (eth_test->flags & ETH_TEST_FL_OFFLINE) { in qlcnic_diag_test() 1175 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test() 1179 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test() 1181 if (eth_test->flags & ETH_TEST_FL_EXTERNAL_LB) { in qlcnic_diag_test() 1184 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test() 1185 eth_test->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in qlcnic_diag_test() 1190 eth_test->flags |= ETH_TEST_FL_FAILED; in qlcnic_diag_test()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 377 struct ethtool_test *eth_test, u64 *data) in hns3_do_selftest() argument 395 eth_test->flags |= ETH_TEST_FL_FAILED; in hns3_do_selftest() 402 struct ethtool_test *eth_test, u64 *data) in hns3_do_external_lb() argument 410 eth_test->flags |= ETH_TEST_FL_FAILED; in hns3_do_external_lb() 412 eth_test->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in hns3_do_external_lb() 422 struct ethtool_test *eth_test, u64 *data) in hns3_self_test() argument 442 if (!(eth_test->flags & ETH_TEST_FL_OFFLINE)) in hns3_self_test() 453 if (eth_test->flags & ETH_TEST_FL_EXTERNAL_LB) { in hns3_self_test() 455 hns3_do_external_lb(ndev, eth_test, data); in hns3_self_test() 460 hns3_do_selftest(ndev, st_param, eth_test, data); in hns3_self_test() [all …]
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_ethtool.c | 573 struct ethtool_test *eth_test, u64 *data) in qlge_self_test() argument 581 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in qlge_self_test() 584 eth_test->flags |= ETH_TEST_FL_FAILED; in qlge_self_test() 598 eth_test->flags |= ETH_TEST_FL_FAILED; in qlge_self_test()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_ethtool.c | 1511 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()
|
/openbmc/linux/drivers/net/ethernet/intel/igbvf/ |
H A D | ethtool.c | 291 struct ethtool_test *eth_test, u64 *data) in igbvf_diag_test() argument 301 eth_test->flags |= ETH_TEST_FL_FAILED; in igbvf_diag_test()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 1811 struct ethtool_test *eth_test, u64 *data) in e1000_diag_test() argument 1835 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in e1000_diag_test() 1850 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test() 1854 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test() 1858 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test() 1862 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test() 1870 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test() 1893 eth_test->flags |= ETH_TEST_FL_FAILED; in e1000_diag_test()
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 637 netxen_nic_diag_test(struct net_device *dev, struct ethtool_test *eth_test, in netxen_nic_diag_test() argument 642 eth_test->flags |= ETH_TEST_FL_FAILED; in netxen_nic_diag_test() 645 eth_test->flags |= ETH_TEST_FL_FAILED; in netxen_nic_diag_test()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ethtool.c | 2179 struct ethtool_test *eth_test, u64 *data) in ixgbe_diag_test() argument 2191 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2195 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in ixgbe_diag_test() 2208 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2223 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2233 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2238 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2243 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2257 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test() 2273 eth_test->flags |= ETH_TEST_FL_FAILED; in ixgbe_diag_test()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ethtool.c | 1939 struct ethtool_test *eth_test, u64 *data) in igc_ethtool_diag_test() argument 1944 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in igc_ethtool_diag_test() 1952 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test() 1961 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test() 1967 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test() 1990 eth_test->flags |= ETH_TEST_FL_FAILED; in igc_ethtool_diag_test()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_ethtool.c | 2014 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()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 583 struct ethtool_test *eth_test, u64 *data) in hns_nic_self_test() argument 600 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in hns_nic_self_test() 620 eth_test->flags |= ETH_TEST_FL_FAILED; in hns_nic_self_test()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ethtool.c | 942 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()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 1636 struct ethtool_test *eth_test, u64 *data) in hinic_diag_test() argument 1649 eth_test->flags |= ETH_TEST_FL_FAILED; in hinic_diag_test() 1657 err = do_lp_test(nic_dev, eth_test->flags, LP_DEFAULT_TIME, in hinic_diag_test() 1660 eth_test->flags |= ETH_TEST_FL_FAILED; in hinic_diag_test()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ethtool.c | 2151 struct ethtool_test *eth_test, u64 *data) in cxgb4_self_test() argument 2160 eth_test->flags |= ETH_TEST_FL_FAILED; in cxgb4_self_test() 2164 if (eth_test->flags & ETH_TEST_FL_OFFLINE) in cxgb4_self_test() 2168 eth_test->flags |= ETH_TEST_FL_FAILED; in cxgb4_self_test()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 2667 struct ethtool_test *eth_test, u64 *data) in i40e_diag_test() argument 2673 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in i40e_diag_test() 2705 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test() 2708 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test() 2711 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test() 2715 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test() 2727 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test() 2743 eth_test->flags |= ETH_TEST_FL_FAILED; in i40e_diag_test()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ethtool.c | 980 ice_self_test(struct net_device *netdev, struct ethtool_test *eth_test, in ice_self_test() argument 990 if (eth_test->flags == ETH_TEST_FL_OFFLINE) { in ice_self_test() 1002 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test() 1022 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test() 1040 eth_test->flags |= ETH_TEST_FL_FAILED; in ice_self_test()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ethtool.c | 817 static void nfp_net_self_test(struct net_device *netdev, struct ethtool_test *eth_test, in nfp_net_self_test() argument 828 eth_test->flags |= ETH_TEST_FL_FAILED; in nfp_net_self_test()
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 326 struct ethtool_test *eth_test, u64 * data);
|