Pavel Begunkov
8eb77cc739
ipv4: avoid partial copy for zc
...
Even when zerocopy transmission is requested and possible,
__ip_append_data() will still copy a small chunk of data just because it
allocated some extra linear space (e.g. 148 bytes). It wastes CPU cycles
on copy and iter manipulations and also misalignes potentially aligned
data. Avoid such copies. And as a bonus we can allocate smaller skb.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-07-18 19:58:03 -07:00
..
2020-08-10 12:06:44 -07:00
2022-05-16 10:10:37 +01:00
2022-04-22 13:06:03 +01:00
2021-06-30 15:51:09 -07:00
2022-04-25 11:50:18 +01:00
2022-01-27 12:03:46 -08:00
2021-09-19 12:43:56 +01:00
2022-04-22 13:06:03 +01:00
2022-05-25 12:22:58 -07:00
2022-03-07 13:14:04 +01:00
2022-05-06 08:24:20 +02:00
2022-04-30 15:12:58 +01:00
2022-02-17 11:44:20 -08:00
2021-09-28 17:32:56 -07:00
2022-04-30 15:12:58 +01:00
2022-04-11 17:37:50 -07:00
2022-04-30 15:12:58 +01:00
2022-04-12 14:56:33 -07:00
2021-05-17 15:29:35 -07:00
2021-11-24 17:21:42 -08:00
2022-04-30 15:12:58 +01:00
2022-05-05 13:03:18 -07:00
2022-06-16 11:07:59 -07:00
2022-05-12 16:52:18 -07:00
2022-04-30 15:12:58 +01:00
2022-06-16 11:07:59 -07:00
2022-05-13 12:24:12 +01:00
2021-03-01 13:32:12 -08:00
2022-04-13 13:09:57 +01:00
2022-03-03 14:38:48 +00:00
2022-06-20 10:00:55 +01:00
2022-04-07 20:32:49 -07:00
2022-01-29 17:53:07 +00:00
2022-07-18 19:58:03 -07:00
2021-11-20 14:11:00 +00:00
2022-06-27 11:50:30 +01:00
2022-04-15 14:27:30 -07:00
2021-10-13 09:41:37 -07:00
2021-06-30 15:51:09 -07:00
2021-10-28 14:36:41 +01:00
2021-10-13 09:41:37 -07:00
2019-10-04 11:10:56 -07:00
2022-04-30 15:12:58 +01:00
2022-04-12 14:56:33 -07:00
2021-02-26 12:28:03 -08:00
2020-11-16 08:08:54 -08:00
2022-05-16 13:03:29 +02:00
2022-02-08 20:41:33 -08:00
2022-06-17 11:41:34 +01:00
2022-01-26 19:00:31 -08:00
2021-05-17 15:29:35 -07:00
2021-07-13 09:28:29 -07:00
2022-04-28 13:08:15 -07:00
2022-05-19 11:23:59 -07:00
2022-04-25 12:10:11 +01:00
2022-05-03 10:15:06 +02:00
2022-05-16 10:18:55 +01:00
2022-04-06 12:05:41 -07:00
2022-06-23 10:08:30 +02:00
2022-04-06 12:05:41 -07:00
2022-04-07 20:33:15 -07:00
2022-05-16 10:18:56 +01:00
2022-04-06 12:05:41 -07:00
2020-02-27 18:50:19 -08:00
2021-09-20 13:09:06 +01:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-05-28 12:42:08 +01:00
2022-06-24 16:27:46 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-22 15:05:59 -07:00
2022-04-06 12:05:41 -07:00
2021-11-16 13:16:54 +00:00
2022-05-31 21:40:10 -07:00
2022-04-28 13:02:01 -07:00
2022-04-30 13:56:46 +01:00
2022-04-06 12:05:41 -07:00
2021-06-29 11:28:21 -07:00
2020-03-09 22:34:58 +01:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-04-06 12:05:41 -07:00
2022-06-16 11:07:59 -07:00
2021-05-17 15:29:35 -07:00
2022-04-12 15:00:25 +02:00
2021-07-13 09:28:29 -07:00
2022-04-12 15:00:25 +02:00
2021-11-24 17:21:42 -08:00
2021-09-21 10:17:20 +01:00
2022-02-23 12:35:00 +00:00
2020-07-10 13:54:00 -07:00
2022-05-16 10:31:06 +01:00
2021-05-17 15:29:35 -07:00
2020-05-06 09:40:08 +02:00
2020-05-11 15:12:27 +02:00
2022-03-15 20:20:02 -07:00
2022-06-08 10:10:13 -07:00
2020-05-06 09:40:08 +02:00
2021-09-23 10:10:00 +02:00