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 17:47:08 +0000 (13:47 -0400)
commite9bb8af98a981fe404010706a192ca0450a87760
tree5c395ced97bc50bfb6941b2a7ce3f7ba3d8f60c0
parente381b3bbd7969a2bf134e10c1ead96644f985b10
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