commit | 1708dd54687db4fd5baa3b6169aa116505c1e2ef | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.com> | Thu Feb 06 15:13:36 2020 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Thu Feb 27 16:40:02 2020 -0800 |
tree | 47fd56931567dec9dc648b1a0442a3bc18984a46 | |
parent | ffec97020f841fefa508db038bad58bc6def9431 [diff] |
net/mlx5: Eswitch, avoid redundant mask misc_params.source_port is a 16 bit field already so no need for redundant masking against 0xffff. Also change local variables type to u16. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>