[PATCH net-next v13 4/5] net: ti: prueth: Adds link detection, RX and TX support.

Jakub Kicinski kuba at kernel.org
Mon Aug 18 08:40:20 PDT 2025


On Mon, 18 Aug 2025 18:39:37 +0530 (IST) Parvathi Pudi wrote:
> +       if (num_rx_packets < budget && napi_complete_done(napi, num_rx_packets))
>                 enable_irq(emac->rx_irq);
> -       }
>  
>         return num_rx_packets;
>  }
> 
> We will address this in the next version.

Ideally:

	if (num_rx < budget && napi_complete_done()) {
		enable_irq();
		return num_rx;
	}

	return budget;



More information about the linux-arm-kernel mailing list