diff options
author | Rohit Maheshwari <rohitm@chelsio.com> | 2020-06-01 10:38:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-02 01:48:18 +0300 |
commit | a3ac249a1ab57552cb2a63e70556ee87610a591d (patch) | |
tree | baa00f79aaea0f8702bbc62eeb59f71118f98e6c /virt | |
parent | 79a1f0ccdbb4ad700590f61b00525b390cb53905 (diff) | |
download | linux-a3ac249a1ab57552cb2a63e70556ee87610a591d.tar.xz |
cxgb4/chcr: Enable ktls settings at run time
Current design enables ktls setting from start, which is not
efficient. Now the feature will be enabled when user demands
TLS offload on any interface.
v1->v2:
- taking ULD module refcount till any single connection exists.
- taking rtnl_lock() before clearing tls_devops.
v2->v3:
- cxgb4 is now registering to tlsdev_ops.
- module refcount inc/dec in chcr.
- refcount is only for connections.
- removed new code from cxgb_set_feature().
v3->v4:
- fixed warning message.
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions