[Intel-wired-lan] [PATCH v1 1/1] igc: Update driver to use ethtool_sprintf
Dvora Fuxbrumer
dvorax.fuxbrumer at linux.intel.com
Thu Apr 29 10:02:15 UTC 2021
On 12/04/2021 17:41, Sasha Neftin wrote:
> Complete to commit c8d4725e985d ("intel: Update drivers to use
> ethtool_sprintf")
> Update the igc driver to make use of ethtool_sprintf. The general idea
> is to reduce code size and overhead by replacing the repeated pattern of
> string printf statements and ETH_STRING_LEN counter increments.
>
> Suggested-by: Alexander Duyck <alexanderduyck at fb.com>
> Signed-off-by: Sasha Neftin <sasha.neftin at intel.com>
> ---
> drivers/net/ethernet/intel/igc/igc_ethtool.c | 40 +++++++-------------
> 1 file changed, 14 insertions(+), 26 deletions(-)
>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>
More information about the Intel-wired-lan
mailing list