net/tls: Device offload to use lowest netdevice in chain
authorTariq Toukan <tariqt@nvidia.com>
Sun, 17 Jan 2021 14:59:48 +0000 (16:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 04:48:40 +0000 (20:48 -0800)
commit153cbd137f0ad9ee334fa805155b983e25a432e7
tree8ecca2673400b828317c2ea0b229570ca3e60094
parentdc5809f9e2b674a489723bd8d0131c97e565ca8d
net/tls: Device offload to use lowest netdevice in chain

Do not call the tls_dev_ops of upper devices. Instead, ask them
for the proper lowest device and communicate with it directly.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Boris Pismenny <borisp@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_device.c