Re: [PATCH net-next] tls: Skip zerocopy path for ITER_KVEC

2018-07-24 Thread David Miller
From: David Miller Date: Tue, 24 Jul 2018 14:38:02 -0700 (PDT) > From: Doron Roberts-Kedes > Date: Fri, 20 Jul 2018 11:19:00 -0700 > >> The zerocopy path ultimately calls iov_iter_get_pages, which defines the >> step function for ITER_KVECs as simply, return -EFAULT. Taking the >> non-zerocopy

Re: [PATCH net-next] tls: Skip zerocopy path for ITER_KVEC

2018-07-24 Thread David Miller
From: Doron Roberts-Kedes Date: Fri, 20 Jul 2018 11:19:00 -0700 > The zerocopy path ultimately calls iov_iter_get_pages, which defines the > step function for ITER_KVECs as simply, return -EFAULT. Taking the > non-zerocopy path for ITER_KVECs avoids the unnecessary fallback. > > See > https://

[PATCH net-next] tls: Skip zerocopy path for ITER_KVEC

2018-07-20 Thread Doron Roberts-Kedes
The zerocopy path ultimately calls iov_iter_get_pages, which defines the step function for ITER_KVECs as simply, return -EFAULT. Taking the non-zerocopy path for ITER_KVECs avoids the unnecessary fallback. See https://lore.kernel.org/lkml/20150401023311.gl29...@zeniv.linux.org.uk/T/#u for a discu