Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.h875 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3311 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument
3325 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3329 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test()
3333 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test()
3335 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3364 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3368 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3377 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3380 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test()
3385 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()