File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2025,6 +2025,11 @@ vmxnet3_rq_cleanup(struct vmxnet3_rx_queue *rq,
20252025
20262026 rq -> comp_ring .gen = VMXNET3_INIT_GEN ;
20272027 rq -> comp_ring .next2proc = 0 ;
2028+
2029+ if (xdp_rxq_info_is_reg (& rq -> xdp_rxq ))
2030+ xdp_rxq_info_unreg (& rq -> xdp_rxq );
2031+ page_pool_destroy (rq -> page_pool );
2032+ rq -> page_pool = NULL ;
20282033}
20292034
20302035
@@ -2065,11 +2070,6 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq,
20652070 }
20662071 }
20672072
2068- if (xdp_rxq_info_is_reg (& rq -> xdp_rxq ))
2069- xdp_rxq_info_unreg (& rq -> xdp_rxq );
2070- page_pool_destroy (rq -> page_pool );
2071- rq -> page_pool = NULL ;
2072-
20732073 if (rq -> data_ring .base ) {
20742074 dma_free_coherent (& adapter -> pdev -> dev ,
20752075 rq -> rx_ring [0 ].size * rq -> data_ring .desc_size ,
You can’t perform that action at this time.
0 commit comments