Thread (21 messages) 21 messages, 2 authors, 2022-02-17

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help