Home
last modified time | relevance | path

Searched refs:skb_head (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c274 rx->ctx.skb_head = NULL; in gve_rx_alloc_ring_dqo()
511 if (!rx->ctx.skb_head) in gve_rx_free_skb()
514 dev_kfree_skb_any(rx->ctx.skb_head); in gve_rx_free_skb()
515 rx->ctx.skb_head = NULL; in gve_rx_free_skb()
573 if (rx->ctx.skb_tail == rx->ctx.skb_head) in gve_rx_append_frags()
574 skb_shinfo(rx->ctx.skb_head)->frag_list = skb; in gve_rx_append_frags()
580 if (rx->ctx.skb_tail != rx->ctx.skb_head) { in gve_rx_append_frags()
581 rx->ctx.skb_head->len += buf_len; in gve_rx_append_frags()
582 rx->ctx.skb_head->data_len += buf_len; in gve_rx_append_frags()
583 rx->ctx.skb_head->truesize += priv->data_buffer_size_dqo; in gve_rx_append_frags()
[all …]
Dgve_rx.c203 ctx->skb_head = NULL; in gve_rx_ctx_clear()
377 ctx->skb_head = skb; in gve_rx_add_frags()
395 if (skb != ctx->skb_head) { in gve_rx_add_frags()
396 ctx->skb_head->len += len; in gve_rx_add_frags()
397 ctx->skb_head->data_len += len; in gve_rx_add_frags()
398 ctx->skb_head->truesize += packet_buffer_size; in gve_rx_add_frags()
403 return ctx->skb_head; in gve_rx_add_frags()
Dgve.h176 struct sk_buff *skb_head; member
/Linux-v6.6/net/strparser/
Dstrparser.c68 kfree_skb(strp->skb_head); in strp_parser_err()
69 strp->skb_head = NULL; in strp_parser_err()
104 head = strp->skb_head; in __strp_recv()
160 strp->skb_head = skb; in __strp_recv()
180 head = strp->skb_head; in __strp_recv()
183 strp->skb_head = head; in __strp_recv()
296 strp->skb_head = NULL; in __strp_recv()
515 if (strp->skb_head) { in strp_done()
516 kfree_skb(strp->skb_head); in strp_done()
517 strp->skb_head = NULL; in strp_done()
/Linux-v6.6/drivers/net/ethernet/
Dlantiq_xrx200.c72 struct sk_buff *skb_head; member
254 ch->skb_head = skb; in xrx200_hw_receive()
257 } else if (ch->skb_head) { in xrx200_hw_receive()
258 if (ch->skb_head == ch->skb_tail) in xrx200_hw_receive()
263 ch->skb_head->len += skb->len; in xrx200_hw_receive()
264 ch->skb_head->data_len += skb->len; in xrx200_hw_receive()
265 ch->skb_head->truesize += skb->truesize; in xrx200_hw_receive()
269 ch->skb_head->protocol = eth_type_trans(ch->skb_head, net_dev); in xrx200_hw_receive()
271 net_dev->stats.rx_bytes += ch->skb_head->len; in xrx200_hw_receive()
272 netif_receive_skb(ch->skb_head); in xrx200_hw_receive()
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dwmm.h33 if (skb_queue_empty(&ptr->skb_head)) in mwifiex_get_tid()
36 skb = skb_peek(&ptr->skb_head); in mwifiex_get_tid()
51 is_list_empty = skb_queue_empty(&ra_list->skb_head); in mwifiex_wmm_is_ra_list_empty()
Dwmm.c107 skb_queue_head_init(&ra_list->skb_head); in mwifiex_wmm_allocate_ralist_node()
509 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_wmm_del_pkts_in_ralist_node()
510 skb_unlink(skb, &ra_list->skb_head); in mwifiex_wmm_del_pkts_in_ralist_node()
885 skb_queue_tail(&ra_list->skb_head, skb); in mwifiex_wmm_add_buf_txqueue()
1130 !skb_queue_empty(&ptr->skb_head)) in mwifiex_wmm_get_highest_priolist_ptr()
1218 skb_queue_walk_safe(&ptr->skb_head, skb, tmp) { in mwifiex_is_11n_aggragation_possible()
1242 if (skb_queue_empty(&ptr->skb_head)) { in mwifiex_send_single_packet()
1248 skb = skb_dequeue(&ptr->skb_head); in mwifiex_send_single_packet()
1256 if (!skb_queue_empty(&ptr->skb_head)) in mwifiex_send_single_packet()
1257 skb_next = skb_peek(&ptr->skb_head); in mwifiex_send_single_packet()
[all …]
D11n_aggr.c157 skb_src = skb_peek(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
193 skb_src = skb_dequeue(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
215 skb_src = skb_peek(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
265 skb_queue_tail(&pra_list->skb_head, skb_aggr); in mwifiex_11n_aggregate_pkt()
Duap_txrx.c32 if (skb_queue_empty(&ra_list->skb_head)) in mwifiex_uap_del_tx_pkts_in_ralist()
35 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_uap_del_tx_pkts_in_ralist()
38 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_uap_del_tx_pkts_in_ralist()
Dtdls.c68 skb_queue_tail(&ra_list->skb_head, skb); in mwifiex_restore_tdls_packets()
100 skb_queue_walk_safe(&ra_list->skb_head, skb, in mwifiex_hold_tdls_packets()
104 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_hold_tdls_packets()
Dmain.h294 struct sk_buff_head skb_head; member
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/
Dusb.c295 struct sk_buff *skb_head; in rtw_usb_tx_agg_skb() local
314 skb_head = skb_iter; in rtw_usb_tx_agg_skb()
318 skb_head = dev_alloc_skb(RTW_USB_MAX_XMITBUF_SZ); in rtw_usb_tx_agg_skb()
319 if (!skb_head) { in rtw_usb_tx_agg_skb()
320 skb_head = skb_iter; in rtw_usb_tx_agg_skb()
327 skb_put(skb_head, align_next); in rtw_usb_tx_agg_skb()
328 skb_put_data(skb_head, skb_iter->data, skb_iter->len); in rtw_usb_tx_agg_skb()
340 if (skb_iter && skb_iter->len + skb_head->len <= RTW_USB_MAX_XMITBUF_SZ) in rtw_usb_tx_agg_skb()
348 rtw_usb_fill_tx_checksum(rtwusb, skb_head, agg_num); in rtw_usb_tx_agg_skb()
351 skb_queue_tail(&txcb->tx_ack_queue, skb_head); in rtw_usb_tx_agg_skb()
[all …]
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dcmsg.c334 struct sk_buff_head *skb_head; in nfp_flower_queue_ctl_msg() local
337 skb_head = &priv->cmsg_skbs_high; in nfp_flower_queue_ctl_msg()
339 skb_head = &priv->cmsg_skbs_low; in nfp_flower_queue_ctl_msg()
341 if (skb_queue_len(skb_head) >= NFP_FLOWER_WORKQ_MAX_SKBS) { in nfp_flower_queue_ctl_msg()
347 skb_queue_tail(skb_head, skb); in nfp_flower_queue_ctl_msg()
/Linux-v6.6/drivers/net/ethernet/microchip/
Dlan743x_main.c2638 dev_kfree_skb_irq(rx->skb_head); in lan743x_rx_process_buffer()
2639 rx->skb_head = NULL; in lan743x_rx_process_buffer()
2647 if (rx->skb_head) in lan743x_rx_process_buffer()
2648 dev_kfree_skb_irq(rx->skb_head); in lan743x_rx_process_buffer()
2649 rx->skb_head = skb; in lan743x_rx_process_buffer()
2650 } else if (rx->skb_head) { in lan743x_rx_process_buffer()
2652 if (skb_shinfo(rx->skb_head)->frag_list) in lan743x_rx_process_buffer()
2655 skb_shinfo(rx->skb_head)->frag_list = skb; in lan743x_rx_process_buffer()
2657 rx->skb_head->len += skb->len; in lan743x_rx_process_buffer()
2658 rx->skb_head->data_len += skb->len; in lan743x_rx_process_buffer()
[all …]
Dlan743x_main.h991 struct sk_buff *skb_head, *skb_tail; member
/Linux-v6.6/include/net/
Dstrparser.h99 struct sk_buff *skb_head; member
/Linux-v6.6/net/packet/
Daf_packet.c2127 u8 *skb_head = skb->data; in packet_rcv() local
2175 if (skb_head != skb->data) { in packet_rcv()
2176 skb->data = skb_head; in packet_rcv()
2225 if (skb_head != skb->data && skb_shared(skb)) { in packet_rcv()
2226 skb->data = skb_head; in packet_rcv()
2244 u8 *skb_head = skb->data; in tpacket_rcv() local
2330 skb_head = skb->data; in tpacket_rcv()
2496 if (skb_head != skb->data && skb_shared(skb)) { in tpacket_rcv()
2497 skb->data = skb_head; in tpacket_rcv()
/Linux-v6.6/drivers/net/usb/
Dr8152.c2358 struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; in r8152_tx_agg_fill() local
2362 __skb_queue_head_init(&skb_head); in r8152_tx_agg_fill()
2364 skb_queue_splice_init(tx_queue, &skb_head); in r8152_tx_agg_fill()
2377 skb = __skb_dequeue(&skb_head); in r8152_tx_agg_fill()
2384 __skb_queue_head(&skb_head, skb); in r8152_tx_agg_fill()
2392 r8152_csum_workaround(tp, skb, &skb_head); in r8152_tx_agg_fill()
2422 if (!skb_queue_empty(&skb_head)) { in r8152_tx_agg_fill()
2424 skb_queue_splice(&skb_head, tx_queue); in r8152_tx_agg_fill()
2788 struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; in rtl_drop_queued_tx() local
2794 __skb_queue_head_init(&skb_head); in rtl_drop_queued_tx()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c488 static inline void ath10k_htt_append_frag_list(struct sk_buff *skb_head, in ath10k_htt_append_frag_list() argument
492 skb_shinfo(skb_head)->frag_list = frag_list; in ath10k_htt_append_frag_list()
493 skb_head->data_len = frag_len; in ath10k_htt_append_frag_list()
494 skb_head->len += skb_head->data_len; in ath10k_htt_append_frag_list()