lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 15 Jan 2021 11:53:47 +0800
From:   wenxu <wenxu@...oud.cn>
To:     tariqt@...dia.com, borisp@...dia.com
Cc:     Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject:  Ktls RX offload in CX6 of mellanox

Hi Mellanox team.

I test the ktls offload feature with CX6 dx with net-next tree.

I found the driver already support the KTLS rx offload function

My firmware version is the latest one 22.29.1016
 
According to the document:
https://docs.mellanox.com/display/OFEDv521040/Kernel+Transport+Layer+Security+%28kTLS%29+Offloads

With the 22.29.1016 FW, The RX offload is supported now.


# lspci | grep Ether
b3:00.0 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
b3:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]

# ethtool -i net2
driver: mlx5_core
version: 5.0-0
firmware-version: 22.29.1016 (MT_0000000430)
expansion-rom-version: 
bus-info: 0000:b3:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes



# ethtool -K net2 |  grep tls-hw

tls-hw-tx-offload: on
tls-hw-rx-offload: off [fixed]


But I found the RX offload is not supported currently?


I found the mlx5_accel_is_ktls_rx(mdev) will return false and it leads this feature
not supported. So it means the current FW also does not support RX offload?


BR

wenxu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ