Thread (1 message) 1 message, 1 author, 2021-01-15

Ktls RX offload in CX6 of mellanox

From: wenxu <hidden>
Date: 2021-01-15 04:31:04

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help