On 20-Jul-22 11:02 PM, Stephen Hemminger wrote:
On Wed, 25 May 2022 14:43:27 +0530
Rahul Bhansali <[email protected]> wrote:

An additional check is added to avoid extra processing if
receive packets are 0.

Performance impact: with Marvell OCTEON TX2 platform, observed an
improvement by ~14%.

Signed-off-by: Rahul Bhansali <[email protected]>
This makes sense. Could drop the unlikely() since in general unlikely
should be reserved for error cases. But doubt it matters at all.

Did a quick check the other examples do similar thing already.

Acked-by: Stephen Hemminger <[email protected]>
Acked-by: Hemant Agrawal <[email protected]>

Reply via email to