/linux-6.6.21/include/net/ |
D | selftests.h | 9 void net_selftest(struct net_device *ndev, struct ethtool_test *etest, 16 static inline void net_selftest(struct net_device *ndev, struct ethtool_test *etest, in net_selftest() argument
|
D | dsa.h | 920 struct ethtool_test *etest, u64 *data);
|
/linux-6.6.21/net/core/ |
D | selftests.c | 369 void net_selftest(struct net_device *ndev, struct ethtool_test *etest, u64 *buf) in net_selftest() argument 377 if (etest->flags != ETH_TEST_FL_OFFLINE) { in net_selftest() 379 etest->flags |= ETH_TEST_FL_FAILED; in net_selftest() 387 etest->flags |= ETH_TEST_FL_FAILED; in net_selftest()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_selftest.c | 320 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()
|
D | en.h | 998 void mlx5e_self_test(struct net_device *ndev, struct ethtool_test *etest,
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 3010 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 …]
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 392 struct ethtool_test *etest, u64 *buf); 397 struct ethtool_test *etest, u64 *buf) in stmmac_selftest_run() argument
|
D | stmmac_selftests.c | 1959 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()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_ethtool.c | 1712 struct ethtool_test *etest, u64 *buf) in qede_self_test() argument 1718 (etest->flags & ETH_TEST_FL_OFFLINE), in qede_self_test() 1719 (etest->flags & ETH_TEST_FL_EXTERNAL_LB) >> 2); in qede_self_test() 1723 if (etest->flags & ETH_TEST_FL_OFFLINE) { in qede_self_test() 1727 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test() 1733 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test() 1738 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test() 1743 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test() 1748 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test() 1753 etest->flags |= ETH_TEST_FL_FAILED; in qede_self_test()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 3691 static void bnxt_self_test(struct net_device *dev, struct ethtool_test *etest, in bnxt_self_test() argument 3705 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() 3709 if ((etest->flags & ETH_TEST_FL_EXTERNAL_LB) && in bnxt_self_test() 3713 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnxt_self_test() 3715 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() 3743 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() 3748 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() 3757 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() 3760 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in bnxt_self_test() 3765 etest->flags |= ETH_TEST_FL_FAILED; in bnxt_self_test() [all …]
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 7585 bnx2_self_test(struct net_device *dev, struct ethtool_test *etest, u64 *buf) in bnx2_self_test() argument 7590 if (etest->flags & ETH_TEST_FL_OFFLINE) { in bnx2_self_test() 7599 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test() 7603 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test() 7606 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test() 7625 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test() 7629 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test() 7634 etest->flags |= ETH_TEST_FL_FAILED; in bnx2_self_test()
|
D | tg3.c | 13744 static void tg3_self_test(struct net_device *dev, struct ethtool_test *etest, in tg3_self_test() argument 13748 bool doextlpbk = etest->flags & ETH_TEST_FL_EXTERNAL_LB; in tg3_self_test() 13752 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() 13762 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() 13766 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() 13769 if (etest->flags & ETH_TEST_FL_OFFLINE) { in tg3_self_test() 13791 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() 13796 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() 13801 etest->flags |= ETH_TEST_FL_EXTERNAL_LB_DONE; in tg3_self_test() 13804 etest->flags |= ETH_TEST_FL_FAILED; in tg3_self_test() [all …]
|
/linux-6.6.21/net/dsa/ |
D | slave.c | 1169 struct ethtool_test *etest, u64 *buf) in dsa_slave_net_selftest() argument 1175 ds->ops->self_test(ds, dp->index, etest, buf); in dsa_slave_net_selftest() 1179 net_selftest(ndev, etest, buf); in dsa_slave_net_selftest()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 444 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()
|