Lines Matching refs:rx_frame
1225 struct net_pkt *rx_frame; in frame_get() local
1254 rx_frame = net_pkt_rx_alloc(K_NO_WAIT); in frame_get()
1289 if (rx_frame != NULL) { in frame_get()
1294 new_frag = net_pkt_get_frag(rx_frame, CONFIG_NET_BUF_DATA_SIZE, K_NO_WAIT); in frame_get()
1297 net_pkt_unref(rx_frame); in frame_get()
1298 rx_frame = NULL; in frame_get()
1302 net_pkt_frag_insert(rx_frame, frag); in frame_get()
1327 LOG_DBG("Frame complete: rx=%p, tail=%d", rx_frame, tail); in frame_get()
1330 return rx_frame; in frame_get()
1338 struct net_pkt *rx_frame; in eth_rx() local
1349 rx_frame = frame_get(queue); in eth_rx()
1350 while (rx_frame) { in eth_rx()
1354 hdr = check_gptp_msg(get_iface(dev_data), rx_frame, false); in eth_rx()
1356 timestamp_rx_pkt(gmac, hdr, rx_frame); in eth_rx()
1359 update_pkt_priority(hdr, rx_frame); in eth_rx()
1363 if (net_recv_data(get_iface(dev_data), rx_frame) < 0) { in eth_rx()
1365 net_pkt_unref(rx_frame); in eth_rx()
1368 rx_frame = frame_get(queue); in eth_rx()