Lines Matching refs:LP_PKT_LEN
137 #define LP_PKT_LEN 1514 macro
1512 skb_tmp = alloc_skb(LP_PKT_LEN, GFP_ATOMIC); in hinic_run_lp_test()
1516 test_data = __skb_put(skb_tmp, LP_PKT_LEN); in hinic_run_lp_test()
1523 for (i = ETH_HLEN; i < LP_PKT_LEN; i++) in hinic_run_lp_test()
1532 memset(lb_test_rx_buf, 0, LP_PKT_CNT * LP_PKT_LEN); in hinic_run_lp_test()
1544 skb->data[LP_PKT_LEN - 1] = j; in hinic_run_lp_test()
1559 if (memcmp(lb_test_rx_buf + j * LP_PKT_LEN, in hinic_run_lp_test()
1560 skb_tmp->data, LP_PKT_LEN - 1) || in hinic_run_lp_test()
1561 (*(lb_test_rx_buf + j * LP_PKT_LEN + in hinic_run_lp_test()
1562 LP_PKT_LEN - 1) != j)) { in hinic_run_lp_test()
1567 LP_PKT_LEN - 1, in hinic_run_lp_test()
1568 *(lb_test_rx_buf + j * LP_PKT_LEN + in hinic_run_lp_test()
1569 LP_PKT_LEN - 1)); in hinic_run_lp_test()
1598 lb_test_rx_buf = vmalloc(LP_PKT_CNT * LP_PKT_LEN); in do_lp_test()
1603 nic_dev->lb_pkt_len = LP_PKT_LEN; in do_lp_test()