Re: [V2] rtlwifi: pass struct rtl_stats by reference as it is moreefficient

From: Kalle Valo
Date: Mon Mar 07 2016 - 07:26:11 EST



> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> passing rtl_stats by value is inefficient; the structure is over 300
> bytes in size and generally just one field (packet_report_type)
> is being accessed, so the pass by value is a relatively large overhead.
> This change just affects just the rx_command_packet calls.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Acked-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo