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:39:34 +0000 (19:39 -0400)
commit78c49f83ee282dd08fd264fecb90f4f9e2f21a6d
tree8910e7178d584f79755db897f37e2510602085a8
parent6d6c5c1eb39badb85be1df9b1d6aa5b345dac75f
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