From: Jose Abreu <jose.ab...@synopsys.com>
Date: Tue,  8 May 2018 15:45:24 +0100

> Stop using if conditions depending on the GMAC version for setting the
> the descriptor skbuff address and use instead a helper implemented in
> the descriptor files.
> 
> Signed-off-by: Jose Abreu <joab...@synopsys.com>

With Spectre mitigations, indirect calls are extremely expensive.  Much
more expensive than conditional checks.

And since this is the descriptor setup in the fast paths of the driver,
I advise that you keep these conditionals.

Reply via email to