Re: [PATCH net-next v6 7/8] net/funeth: add kTLS TX control part
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-01-12 22:32:19
From: Jakub Kicinski <kuba@kernel.org>
Date: 2022-01-12 22:32:19
On Sun, 9 Jan 2022 17:56:35 -0800 Dimitris Michailidis wrote:
+static inline int fun_ktls_init(struct net_device *netdev)
+{
+ return -ENOTSUPP;ENOTSUPP is best avoided - EOPNOTSUPP is the proper error code which can be returned to user space if needed. But you should make this function void since the return value is ignored, anyway.