net: ena: use xdp_return_frame() to free xdp frames
[sfrench/cifs-2.6.git] / drivers / net / ethernet / amazon / ena / ena_netdev.h
index 0fef876c23eb3136c5203840c820b4522c1aee23..fed79c50a870580c01a37a72ecc5a7b80212b009 100644 (file)
@@ -170,12 +170,6 @@ struct ena_tx_buffer {
         * the xdp queues
         */
        struct xdp_frame *xdpf;
-       /* The rx page for the rx buffer that was received in rx and
-        * re transmitted on xdp tx queues as a result of XDP_TX action.
-        * We need to free the page once we finished cleaning the buffer in
-        * clean_xdp_irq()
-        */
-       struct page *xdp_rx_page;
 
        /* Indicate if bufs[0] map the linear data of the skb. */
        u8 map_linear_data;