Home
last modified time | relevance | path

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

/Linux-v5.10/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.h874 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h276 struct ethtool_test *etest, u64 *buf);
281 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
Dstmmac_selftests.c1956 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
1965 if (etest->flags != ETH_TEST_FL_OFFLINE) { in stmmac_selftest_run()
1967 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
1971 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
2005 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
2011 etest->flags |= ETH_TEST_FL_FAILED; in stmmac_selftest_run()
/Linux-v5.10/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 …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1671 struct ethtool_test *etest, u64 *buf) in qede_self_test() argument
1677 (etest->flags & ETH_TEST_FL_OFFLINE), in qede_self_test()
1678 (etest->flags & ETH_TEST_FL_EXTERNAL_LB) >> 2); in qede_self_test()
1682 if (etest->flags & ETH_TEST_FL_OFFLINE) { in qede_self_test()
1686 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1692 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1697 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1702 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1707 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1712 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3310 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument
3324 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3328 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test()
3332 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test()
3334 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3363 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3367 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3376 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3379 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test()
3384 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
[all …]
/Linux-v5.10/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.c13755 static void tg3_self_test(struct net_device *dev, struct ethtool_test *etest, in tg3_self_test() argument
13759 bool doextlpbk = etest->flags & ETH_TEST_FL_EXTERNAL_LB; in tg3_self_test()
13763 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13773 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13777 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13780 if (etest->flags & ETH_TEST_FL_OFFLINE) { in tg3_self_test()
13802 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13807 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13812 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in tg3_self_test()
13815 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
[all …]
/Linux-v5.10/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()