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.c325 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest, in mlx5e_self_test() argument
348 etest->flags |= ETH_TEST_FL_FAILED; in mlx5e_self_test()
353 etest->flags); in mlx5e_self_test()
Den.h875 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h278 struct ethtool_test *etest, u64 *buf);
283 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
Dstmmac_selftests.c1959 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
1968 if (etest->flags != ETH_TEST_FL_OFFLINE) { in stmmac_selftest_run()
1970 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
1974 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
2008 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
2014 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3002 struct ethtool_test *etest, u64 *buf) in bnx2x_self_test() argument
3017 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3023 (etest->flags & ETH_TEST_FL_OFFLINE), in bnx2x_self_test()
3024 (etest->flags & ETH_TEST_FL_EXTERNAL_LB)>>2); in bnx2x_self_test()
3033 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3044 if ((etest->flags & ETH_TEST_FL_OFFLINE) && !IS_MF(bp)) { in bnx2x_self_test()
3056 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3067 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3071 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3076 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
[all …]
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1689 struct ethtool_test *etest, u64 *buf) in qede_self_test() argument
1695 (etest->flags & ETH_TEST_FL_OFFLINE), in qede_self_test()
1696 (etest->flags & ETH_TEST_FL_EXTERNAL_LB) >> 2); in qede_self_test()
1700 if (etest->flags & ETH_TEST_FL_OFFLINE) { in qede_self_test()
1704 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1710 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1715 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1720 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1725 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1730 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3313 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument
3327 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3331 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test()
3335 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test()
3337 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3366 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3370 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3379 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3382 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test()
3387 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c7592 bnx2_self_test(struct net_device *dev, struct ethtool_test *etest, u64 *buf) in bnx2_self_test() argument
7597 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnx2_self_test()
7606 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7610 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7613 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7632 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7636 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7641 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
Dtg3.c13795 static void tg3_self_test(struct net_device *dev, struct ethtool_test *etest, in tg3_self_test() argument
13799 bool doextlpbk = etest->flags & ETH_TEST_FL_EXTERNAL_LB; in tg3_self_test()
13803 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13813 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13817 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13820 if (etest->flags & ETH_TEST_FL_OFFLINE) { in tg3_self_test()
13842 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13847 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13852 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in tg3_self_test()
13855 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()