diff options
author | Sebastian Hense <sebastian.hense1@ibm.com> | 2020-02-20 08:11:36 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-05 15:13:42 -0800 |
commit | 404402abd5f90aa90a134eb9604b1750c1941529 (patch) | |
tree | 9ef7bb2ff22bf4163d6b033c5c0546f3db6a19fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f28ca65efa87b3fb8da3d69ca7cb1ebc0448de66 (diff) |
net/mlx5e: Fix endianness handling in pedit mask
The mask value is provided as 64 bit and has to be casted in
either 32 or 16 bit. On big endian systems the wrong half was
casted which resulted in an all zero mask.
Fixes: 2b64beba0251 ("net/mlx5e: Support header re-write of partial fields in TC pedit offload")
Signed-off-by: Sebastian Hense <sebastian.hense1@ibm.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions