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.c320 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest, in mlx5e_self_test() argument
344 etest->flags |= ETH_TEST_FL_FAILED; in mlx5e_self_test()
349 etest->flags); in mlx5e_self_test()
Den.h1022 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c3010 struct ethtool_test *etest, u64 *buf) in bnx2x_self_test() argument
3025 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3031 (etest->flags & ETH_TEST_FL_OFFLINE), in bnx2x_self_test()
3032 (etest->flags & ETH_TEST_FL_EXTERNAL_LB)>>2); in bnx2x_self_test()
3041 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3052 if ((etest->flags & ETH_TEST_FL_OFFLINE) && !IS_MF(bp)) { in bnx2x_self_test()
3064 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3075 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3079 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
3084 etest->flags |= ETH_TEST_FL_FAILED; in bnx2x_self_test()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h384 struct ethtool_test *etest, u64 *buf);
389 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/qlogic/qede/
Dqede_ethtool.c1713 struct ethtool_test *etest, u64 *buf) in qede_self_test() argument
1719 (etest->flags & ETH_TEST_FL_OFFLINE), in qede_self_test()
1720 (etest->flags & ETH_TEST_FL_EXTERNAL_LB) >> 2); in qede_self_test()
1724 if (etest->flags & ETH_TEST_FL_OFFLINE) { in qede_self_test()
1728 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1734 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1739 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1744 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1749 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
1754 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c3588 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument
3602 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3606 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test()
3610 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test()
3612 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3640 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3645 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3654 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
3657 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test()
3662 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test()
[all …]
/drivers/net/ethernet/broadcom/
Dbnx2.c7602 bnx2_self_test(struct net_device *dev, struct ethtool_test *etest, u64 *buf) in bnx2_self_test() argument
7607 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnx2_self_test()
7616 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7620 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7623 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7642 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7646 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
7651 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
Dtg3.c13749 static void tg3_self_test(struct net_device *dev, struct ethtool_test *etest, in tg3_self_test() argument
13753 bool doextlpbk = etest->flags & ETH_TEST_FL_EXTERNAL_LB; in tg3_self_test()
13757 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13767 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13771 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13774 if (etest->flags & ETH_TEST_FL_OFFLINE) { in tg3_self_test()
13796 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13801 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
13806 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in tg3_self_test()
13809 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c444 struct ethtool_test *etest, u64 *buf) in mlx4_en_self_test() argument
446 mlx4_en_ex_selftest(dev, &etest->flags, buf); in mlx4_en_self_test()