net/mlx5: fix structure passing method in function call
authorGregory Etelson <getelson@nvidia.com>
Mon, 16 Nov 2020 14:02:20 +0000 (16:02 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Nov 2020 20:10:04 +0000 (21:10 +0100)
commiteab3ca48580c1599da754c621c1a941be27d3e9c
tree7d968004a5556f6c41b01fcc0d5d430a25cb935b
parentbc1d90a3cf6f633ab976c3de18a8bd8e77db2fe1
net/mlx5: fix structure passing method in function call

Tunnel offload implementation introduced 64 bit-field flow_grp_info
structure. Since the structure size is 64 bits, the code passed that
type by value in function calls.

The patch changes that structure passing method to reference.

Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c