diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2019-07-11 19:39:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-11 15:04:39 -0700 |
commit | 9446d17e0e21889046568e5f970e9c706acb01f5 (patch) | |
tree | cd0e5b09a03563f06cb153203d1680f4ea5d27e3 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 2f1f5a7731df239a0d1965bc6b75ac37dcb803f3 (diff) |
net/mlx5: E-Switch, Reduce ingress acl modify metadata stack usage
Fix the following compiler warning:
In function ‘esw_vport_add_ingress_acl_modify_metadata’:
the frame size of 1084 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Since the structure is never written to, we can statically allocate
it to avoid the stack usage.
Fixes: 7445cfb1169c ("net/mlx5: E-Switch, Tag packet with vport number in VF vports and uplink ingress ACLs")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Jianbo Liu <jianbol@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions