Searched refs:good_cnt (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 230 u32 i, good_cnt; in hns3_lp_run_test() local 242 good_cnt = 0; in hns3_lp_run_test() 249 good_cnt++; in hns3_lp_run_test() 254 if (good_cnt != HNS3_NIC_LB_TEST_PKT_NUM) { in hns3_lp_run_test() 257 mode, good_cnt, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test() 264 good_cnt = hns3_lb_check_rx_ring(priv, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test() 265 if (good_cnt != HNS3_NIC_LB_TEST_PKT_NUM) { in hns3_lp_run_test() 268 mode, good_cnt, HNS3_NIC_LB_TEST_PKT_NUM); in hns3_lp_run_test()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 482 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-v4.19/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1386 int i, j, k, l, lc, good_cnt, ret_val = 0; in e1000_run_loopback_test() local 1417 good_cnt = 0; in e1000_run_loopback_test() 1429 good_cnt++; in e1000_run_loopback_test() 1436 } while (good_cnt < 64 && time_after(time + 20, jiffies)); in e1000_run_loopback_test() 1438 if (good_cnt != 64) { in e1000_run_loopback_test()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 1636 int good_cnt; in e1000_run_loopback_test() local 1673 good_cnt = 0; in e1000_run_loopback_test() 1685 good_cnt++; in e1000_run_loopback_test() 1693 } while ((good_cnt < 64) && !time_after(jiffies, time + 20)); in e1000_run_loopback_test() 1694 if (good_cnt != 64) { in e1000_run_loopback_test()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 1871 u16 i, j, lc, good_cnt; in igb_run_loopback_test() local 1898 good_cnt = 0; in igb_run_loopback_test() 1905 good_cnt++; in igb_run_loopback_test() 1908 if (good_cnt != 64) { in igb_run_loopback_test() 1916 good_cnt = igb_clean_test_rings(rx_ring, tx_ring, size); in igb_run_loopback_test() 1917 if (good_cnt != 64) { in igb_run_loopback_test()
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 1972 int i, j, lc, good_cnt, ret_val = 0; in ixgbe_run_loopback_test() local 2003 good_cnt = 0; in ixgbe_run_loopback_test() 2012 good_cnt++; in ixgbe_run_loopback_test() 2015 if (good_cnt != 64) { in ixgbe_run_loopback_test() 2023 good_cnt = ixgbe_clean_test_rings(rx_ring, tx_ring, size); in ixgbe_run_loopback_test() 2024 if (good_cnt != 64) { in ixgbe_run_loopback_test()
|