i40iw: pass hw_stats by reference rather than by value
authorColin Ian King <colin.king@canonical.com>
Mon, 28 Mar 2016 11:14:46 +0000 (12:14 +0100)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:40:26 +0000 (19:40 -0400)
commit73fbb4db6cf3682f12b68a64040897fe226fd409
tree8910e7178d584f79755db897f37e2510602085a8
parentd42ed55aaf0e9040b063189b72928279848c0a1b
i40iw: pass hw_stats by reference rather than by value

passing hw_stats by value requires a 280 byte copy so instead
pass it by reference is much more efficient.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Chien Tin Tung <chien.tin.tung@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_virtchnl.c