struct mvpp2_tx_queue *txq,
                                struct mvpp2_txq_pcpu *txq_pcpu, int num)
 {
+       struct xdp_frame_bulk bq;
        int i;
 
+       xdp_frame_bulk_init(&bq);
+
+       rcu_read_lock(); /* need for xdp_return_frame_bulk */
+
        for (i = 0; i < num; i++) {
                struct mvpp2_txq_pcpu_buf *tx_buf =
                        txq_pcpu->buffs + txq_pcpu->txq_get_index;
                        dev_kfree_skb_any(tx_buf->skb);
                else if (tx_buf->type == MVPP2_TYPE_XDP_TX ||
                         tx_buf->type == MVPP2_TYPE_XDP_NDO)
-                       xdp_return_frame(tx_buf->xdpf);
+                       xdp_return_frame_bulk(tx_buf->xdpf, &bq);
 
                mvpp2_txq_inc_get(txq_pcpu);
        }
+       xdp_flush_frame_bulk(&bq);
+
+       rcu_read_unlock();
 }
 
 static inline struct mvpp2_rx_queue *mvpp2_get_rx_queue(struct mvpp2_port *port,