net/tls: move TOE-related code to a separate file
Move tls_hw_* functions to a new, separate source file to avoid confusion with normal, non-TOE offload. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
16bed0e6ac
commit
08700dab81
@@ -69,5 +69,9 @@ struct tls_toe_device {
|
||||
struct kref kref;
|
||||
};
|
||||
|
||||
int tls_hw_prot(struct sock *sk);
|
||||
int tls_hw_hash(struct sock *sk);
|
||||
void tls_hw_unhash(struct sock *sk);
|
||||
|
||||
void tls_toe_register_device(struct tls_toe_device *device);
|
||||
void tls_toe_unregister_device(struct tls_toe_device *device);
|
||||
|
Reference in New Issue
Block a user