]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mlx5: Fix wrong size allocation for QoS ETC TC register
authorSlava Shwartsman <slavash@FreeBSD.org>
Wed, 5 Dec 2018 13:46:09 +0000 (13:46 +0000)
committerSlava Shwartsman <slavash@FreeBSD.org>
Wed, 5 Dec 2018 13:46:09 +0000 (13:46 +0000)
commitb084af6cdc39202d8a123fcd96aa0407c6192044
treef10759ccaba9e70459bd7c9b07346ed621f0bef0
parent8718eb63f86edbe54823e6bb5bd07d9d2cbba1f9
mlx5: Fix wrong size allocation for QoS ETC TC register

The driver allocates wrong size (due to wrong struct name) when issuing
a query/set request to NIC's register.

Linux commit:
d14fcb8d877caf1b8d6bd65d444bf62b21f2070c

Approved by:    hselasky (mentor)
MFC after:      1 week
Sponsored by:   Mellanox Technologies
sys/dev/mlx5/mlx5_core/mlx5_port.c