Home
last modified time | relevance | path

Searched refs:etest (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_selftest.c326 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest, in mlx5e_self_test() argument
349 etest->flags |= ETH_TEST_FL_FAILED; in mlx5e_self_test()
354 etest->flags); in mlx5e_self_test()
Den.h973 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h264 struct ethtool_test *etest, u64 *buf);
269 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
Dstmmac_selftests.c1842 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
1852 if (etest->flags != ETH_TEST_FL_OFFLINE) { in stmmac_selftest_run()
1854 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
1858 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
1895 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
1901 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3008 struct ethtool_test *etest, u64 *buf) in bnx2x_self_test() argument
3023 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3029 (etest->flags & ETH_TEST_FL_OFFLINE), in bnx2x_self_test()
3030 (etest->flags & ETH_TEST_FL_EXTERNAL_LB)>>2); in bnx2x_self_test()
3039 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3050 if ((etest->flags & ETH_TEST_FL_OFFLINE) && !IS_MF(bp)) { in bnx2x_self_test()
3062 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3073 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3077 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3082 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
[all …]
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1724 struct ethtool_test *etest, u64 *buf) in qede_self_test() argument
1730 (etest->flags & ETH_TEST_FL_OFFLINE), in qede_self_test()
1731 (etest->flags & ETH_TEST_FL_EXTERNAL_LB) >> 2); in qede_self_test()
1735 if (etest->flags & ETH_TEST_FL_OFFLINE) { in qede_self_test()
1739 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1745 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1750 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1755 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1760 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1765 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2881 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument
2895 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
2899 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test()
2903 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test()
2905 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
2934 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
2938 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
2947 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
2950 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test()
2955 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c7599 bnx2_self_test(struct net_device *dev, struct ethtool_test *etest, u64 *buf) in bnx2_self_test() argument
7604 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnx2_self_test()
7613 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7617 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7620 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7639 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7643 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7648 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
Dtg3.c13757 static void tg3_self_test(struct net_device *dev, struct ethtool_test *etest, in tg3_self_test() argument
13761 bool doextlpbk = etest->flags & ETH_TEST_FL_EXTERNAL_LB; in tg3_self_test()
13765 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13775 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13779 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13782 if (etest->flags & ETH_TEST_FL_OFFLINE) { in tg3_self_test()
13804 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13809 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13814 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in tg3_self_test()
13817 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c439 struct ethtool_test *etest, u64 *buf) in mlx4_en_self_test() argument
441 mlx4_en_ex_selftest(dev, &etest->flags, buf); in mlx4_en_self_test()