On Tue, Aug 12, 2025 at 03:55:02PM +0800, Jason Xing wrote: > From: Jason Xing <[email protected]> > > Since 'budget' parameter in ixgbe_clean_xdp_tx_irq() takes no effect, > the patch removes it. No functional change here. > > Reviewed-by: Larysa Zaremba <[email protected]> > Signed-off-by: Jason Xing <[email protected]>
Acked-by: Maciej Fijalkowski <[email protected]> > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 +- > drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h | 2 +- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c > b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c > index 9a6a67a6d644..7a9508e1c05a 100644 > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c > @@ -3585,7 +3585,7 @@ int ixgbe_poll(struct napi_struct *napi, int budget) > > ixgbe_for_each_ring(ring, q_vector->tx) { > bool wd = ring->xsk_pool ? > - ixgbe_clean_xdp_tx_irq(q_vector, ring, budget) : > + ixgbe_clean_xdp_tx_irq(q_vector, ring) : > ixgbe_clean_tx_irq(q_vector, ring, budget); > > if (!wd) > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h > b/drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h > index 78deea5ec536..788722fe527a 100644 > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_txrx_common.h > @@ -42,7 +42,7 @@ int ixgbe_clean_rx_irq_zc(struct ixgbe_q_vector *q_vector, > const int budget); > void ixgbe_xsk_clean_rx_ring(struct ixgbe_ring *rx_ring); > bool ixgbe_clean_xdp_tx_irq(struct ixgbe_q_vector *q_vector, > - struct ixgbe_ring *tx_ring, int napi_budget); > + struct ixgbe_ring *tx_ring); > int ixgbe_xsk_wakeup(struct net_device *dev, u32 queue_id, u32 flags); > void ixgbe_xsk_clean_tx_ring(struct ixgbe_ring *tx_ring); > > diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c > b/drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c > index 7b941505a9d0..a463c5ac9c7c 100644 > --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c > +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c > @@ -456,7 +456,7 @@ static void ixgbe_clean_xdp_tx_buffer(struct ixgbe_ring > *tx_ring, > } > > bool ixgbe_clean_xdp_tx_irq(struct ixgbe_q_vector *q_vector, > - struct ixgbe_ring *tx_ring, int napi_budget) > + struct ixgbe_ring *tx_ring) > { > u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; > unsigned int total_packets = 0, total_bytes = 0; > -- > 2.41.3 >
