Home
last modified time | relevance | path

Searched refs:good_cnt (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c482 int i, j, lc, good_cnt, ret_val = 0; in __lb_run_test() local
502 good_cnt = 0; in __lb_run_test()
511 good_cnt++; in __lb_run_test()
515 if (good_cnt != NIC_LB_TEST_PKT_NUM_PER_CYCLE) { in __lb_run_test()
518 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
526 good_cnt = __lb_clean_rings(priv, in __lb_run_test()
529 if (good_cnt != NIC_LB_TEST_PKT_NUM_PER_CYCLE) { in __lb_run_test()
532 hns_nic_test_strs[loop_mode], good_cnt, in __lb_run_test()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c249 u32 i, good_cnt; in hns3_lp_run_test() local
261 good_cnt = 0; in hns3_lp_run_test()
268 good_cnt++; in hns3_lp_run_test()
275 if (good_cnt != HNS3_NIC_LB_TEST_PKT_NUM) { in hns3_lp_run_test()
278 mode, good_cnt, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test()
285 good_cnt = hns3_lb_check_rx_ring(priv, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test()
286 if (good_cnt != HNS3_NIC_LB_TEST_PKT_NUM) { in hns3_lp_run_test()
289 mode, good_cnt, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test()
/Linux-v5.10/drivers/net/ethernet/intel/e1000/
De1000_ethtool.c1382 int i, j, k, l, lc, good_cnt, ret_val = 0; in e1000_run_loopback_test() local
1413 good_cnt = 0; in e1000_run_loopback_test()
1425 good_cnt++; in e1000_run_loopback_test()
1432 } while (good_cnt < 64 && time_after(time + 20, jiffies)); in e1000_run_loopback_test()
1434 if (good_cnt != 64) { in e1000_run_loopback_test()
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dethtool.c1637 int good_cnt; in e1000_run_loopback_test() local
1674 good_cnt = 0; in e1000_run_loopback_test()
1686 good_cnt++; in e1000_run_loopback_test()
1694 } while ((good_cnt < 64) && !time_after(jiffies, time + 20)); in e1000_run_loopback_test()
1695 if (good_cnt != 64) { in e1000_run_loopback_test()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1886 u16 i, j, lc, good_cnt; in igb_run_loopback_test() local
1913 good_cnt = 0; in igb_run_loopback_test()
1920 good_cnt++; in igb_run_loopback_test()
1923 if (good_cnt != 64) { in igb_run_loopback_test()
1931 good_cnt = igb_clean_test_rings(rx_ring, tx_ring, size); in igb_run_loopback_test()
1932 if (good_cnt != 64) { in igb_run_loopback_test()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2076 int i, j, lc, good_cnt, ret_val = 0; in ixgbe_run_loopback_test() local
2107 good_cnt = 0; in ixgbe_run_loopback_test()
2116 good_cnt++; in ixgbe_run_loopback_test()
2119 if (good_cnt != 64) { in ixgbe_run_loopback_test()
2127 good_cnt = ixgbe_clean_test_rings(rx_ring, tx_ring, size); in ixgbe_run_loopback_test()
2128 if (good_cnt != 64) { in ixgbe_run_loopback_test()