Lines Matching refs:drop_queue

84 	struct sk_buff_head	drop_queue;  member
522 spin_lock_irqsave(&data->drop_queue.lock, flags); in net_dm_packet_trace_kfree_skb_hit()
523 if (skb_queue_len(&data->drop_queue) < net_dm_queue_len) in net_dm_packet_trace_kfree_skb_hit()
524 __skb_queue_tail(&data->drop_queue, nskb); in net_dm_packet_trace_kfree_skb_hit()
527 spin_unlock_irqrestore(&data->drop_queue.lock, flags); in net_dm_packet_trace_kfree_skb_hit()
534 spin_unlock_irqrestore(&data->drop_queue.lock, flags); in net_dm_packet_trace_kfree_skb_hit()
737 spin_lock_irqsave(&data->drop_queue.lock, flags); in net_dm_packet_work()
738 skb_queue_splice_tail_init(&data->drop_queue, &list); in net_dm_packet_work()
739 spin_unlock_irqrestore(&data->drop_queue.lock, flags); in net_dm_packet_work()
955 spin_lock_irqsave(&hw_data->drop_queue.lock, flags); in net_dm_hw_packet_work()
956 skb_queue_splice_tail_init(&hw_data->drop_queue, &list); in net_dm_hw_packet_work()
957 spin_unlock_irqrestore(&hw_data->drop_queue.lock, flags); in net_dm_hw_packet_work()
993 spin_lock_irqsave(&hw_data->drop_queue.lock, flags); in net_dm_hw_trap_packet_probe()
994 if (skb_queue_len(&hw_data->drop_queue) < net_dm_queue_len) in net_dm_hw_trap_packet_probe()
995 __skb_queue_tail(&hw_data->drop_queue, nskb); in net_dm_hw_trap_packet_probe()
998 spin_unlock_irqrestore(&hw_data->drop_queue.lock, flags); in net_dm_hw_trap_packet_probe()
1005 spin_unlock_irqrestore(&hw_data->drop_queue.lock, flags); in net_dm_hw_trap_packet_probe()
1093 while ((skb = __skb_dequeue(&hw_data->drop_queue))) { in net_dm_hw_monitor_start()
1127 while ((skb = __skb_dequeue(&hw_data->drop_queue))) { in net_dm_hw_monitor_stop()
1188 while ((skb = __skb_dequeue(&data->drop_queue))) in net_dm_trace_on_set()
1216 while ((skb = __skb_dequeue(&data->drop_queue))) in net_dm_trace_off_set()
1680 skb_queue_head_init(&data->drop_queue); in __net_dm_cpu_data_init()
1686 WARN_ON(!skb_queue_empty(&data->drop_queue)); in __net_dm_cpu_data_fini()