aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorYishai Hadas2018-03-15 16:56:39 +0200
committerJason Gunthorpe2018-03-15 15:58:05 -0600
commit9c71172c4a2f6695fdfb89780da160f579a002c2 (patch)
tree945cd52619b867f8032e907c6bb90fed59af9bfc /crypto
parent546b1452fdcccdcc98962b324cab6d74fc976fe9 (diff)
IB/mlx4: Report TSO capabilities
Report to the user area the TSO device capabilities, it includes the max_tso size and the QP types that support it. The TSO is applicable only when when of the ports is ETH and the device supports it. uresp logic around rss_caps is updated to fix a till-now harmless bug computing the length of the structure to copy. The code did not handle the implicit padding before rss_caps correctly. This is necessay to copy tss_caps successfully. Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions