]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Fix endianness issue in qp context params
authorTariq Toukan <tariqt@mellanox.com>
Mon, 9 Oct 2017 13:59:48 +0000 (16:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 17:33:05 +0000 (10:33 -0700)
commit40a284762e6f32a1ec861fefcaf4c3c819a4a2cb
tree692a2a2e599a46e0265dac77c93a5df4768a5b89
parent51a321f06ba905cc41a51389221c1774df17d29c
net/mlx4: Fix endianness issue in qp context params

Should take care of the endianness before assigning to params2 field.

Fixes: 7c122eaa692b ("net/mlx4_core: Port aggregation upper layer interface")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_resources.c
drivers/net/ethernet/mellanox/mlx4/qp.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c