* Ktls offload in cx6 of mellanox
@ 2020-07-31 8:09 wenxu
[not found] ` <AM7PR05MB7092681958225E065CAD9174B0480@AM7PR05MB7092.eurprd05.prod.outlook.com>
0 siblings, 1 reply; 2+ messages in thread
From: wenxu @ 2020-07-31 8:09 UTC (permalink / raw)
To: Saeed Mahameed; +Cc: Linux Kernel Network Developers
Hi mellanox team,
I test the ktls offload feature with CX6 dx with net-next tree.
fw version is the latest 22.28.1002
# ethtool -i net3
driver: mlx5_core
version: 5.0-0
firmware-version: 22.28.1002 (MT_0000000430)
expansion-rom-version:
bus-info: 0000:07:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes
# ethtool -K net3 | grep tls-hw
tls-hw-tx-offload: on
tls-hw-rx-offload: off [fixed]
I found the rx offload is not supported currently?
BR
wenxu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Ktls RX offload in CX6 of mellanox
[not found] ` <HE1PR05MB473281BEC529F6705646885DB4480@HE1PR05MB4732.eurprd05.prod.outlook.com>
@ 2021-01-15 3:53 ` wenxu
0 siblings, 0 replies; 2+ messages in thread
From: wenxu @ 2021-01-15 3:53 UTC (permalink / raw)
To: tariqt, borisp; +Cc: Linux Kernel Network Developers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-15 4:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-31 8:09 Ktls offload in cx6 of mellanox wenxu
[not found] ` <AM7PR05MB7092681958225E065CAD9174B0480@AM7PR05MB7092.eurprd05.prod.outlook.com>
[not found] ` <HE1PR05MB473281BEC529F6705646885DB4480@HE1PR05MB4732.eurprd05.prod.outlook.com>
2021-01-15 3:53 ` Ktls RX offload in CX6 " wenxu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).