Skip to content
  • Rohit Maheshwari's avatar
    a3ac249a
    cxgb4/chcr: Enable ktls settings at run time · a3ac249a
    Rohit Maheshwari authored
    
    
    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: default avatarRohit Maheshwari <rohitm@chelsio.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a3ac249a
    cxgb4/chcr: Enable ktls settings at run time
    Rohit Maheshwari authored
    
    
    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: default avatarRohit Maheshwari <rohitm@chelsio.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Loading