Paolo Abeni
3d8417d79e
udp: use sk_protocol instead of pcflag to detect udplite sockets
...
In the udp_sock struct, the 'forward_deficit' and 'pcflag' fields
share the same cacheline. While the first is dirtied by
udp_recvmsg, the latter is read, possibly several times, by the
bottom half processing to discriminate between udp and udplite
sockets.
With this patch, sk->sk_protocol is used to check is the socket is
really an udplite one, avoiding some cache misses per
packet and improving the performance under udp_flood with
small packet up to 10%.
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-04-01 20:11:36 -07:00
..
2017-03-07 14:30:38 +01:00
2017-03-14 10:36:41 +01:00
2017-03-06 10:30:57 +00:00
2017-02-27 19:59:21 -08:00
2017-03-16 20:14:51 -07:00
2017-03-28 15:34:04 +03:00
2017-02-27 18:43:46 -08:00
2017-02-27 19:59:21 -08:00
2017-03-14 11:43:30 -07:00
2017-03-09 17:01:09 -08:00
2017-03-28 17:58:07 -07:00
2017-03-03 01:45:41 +01:00
2017-03-28 17:58:07 -07:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:32 +01:00
2017-03-21 16:04:01 -07:00
2017-03-11 14:41:20 +01:00
2017-03-02 08:32:46 +01:00
2017-03-03 01:45:23 +01:00
2017-02-27 20:54:05 +02:00
2017-03-02 08:56:04 -07:00
2017-03-08 10:55:17 -07:00
2017-03-16 20:44:11 -07:00
2017-04-01 12:45:57 -07:00
2017-03-13 21:51:49 -07:00
2017-02-24 17:46:56 -08:00
2017-03-02 08:42:25 +01:00
2017-02-27 18:43:45 -08:00
2017-03-01 20:32:25 +01:00
2017-02-27 23:09:29 -08:00
2017-03-02 08:42:40 +01:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:38 +01:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:24 +01:00
2017-03-07 14:15:27 -08:00
2017-03-03 01:45:28 +01:00
2017-03-16 16:56:19 -07:00
2017-02-25 13:45:43 -08:00
2017-03-02 08:42:38 +01:00
2017-03-02 08:42:36 +01:00
2017-03-21 18:44:17 -07:00
2017-03-12 23:54:07 -07:00
2017-03-09 16:39:58 -08:00
2017-02-27 10:07:47 -08:00
2017-03-03 01:45:28 +01:00
2017-03-22 12:06:08 -07:00
2017-03-01 20:32:25 +01:00
2017-03-09 17:01:09 -08:00
2017-03-08 10:55:17 -07:00
2017-03-03 01:45:40 +01:00
2017-03-09 11:48:47 -08:00
2017-03-06 17:13:13 -08:00
2017-03-02 08:42:32 +01:00
2017-03-28 22:32:42 -07:00
2017-03-03 01:43:47 +01:00
2017-02-24 17:46:56 -08:00
2017-03-22 14:20:54 -07:00
2017-03-06 14:40:04 +00:00
2017-03-07 09:37:28 -08:00
2017-03-16 16:56:18 -07:00
2017-02-27 18:43:47 -08:00
2017-02-24 17:46:57 -08:00
2017-03-02 10:09:00 +11:00
2017-03-02 08:42:28 +01:00
2017-02-27 18:43:45 -08:00
2017-03-02 08:42:28 +01:00
2017-03-01 17:03:21 +01:00
2017-03-01 00:49:42 -08:00
2017-03-09 13:27:17 -08:00
2017-03-02 12:17:22 -08:00
2017-02-24 17:46:57 -08:00
2017-02-24 17:46:56 -08:00
2017-03-03 01:45:25 +01:00
2017-03-03 01:43:48 +01:00
2017-03-09 11:48:47 -08:00
2017-03-09 18:23:27 -08:00
2017-03-28 22:46:04 -07:00
2017-03-02 20:51:15 -05:00
2017-03-03 01:43:38 +01:00
2017-03-24 12:51:04 -07:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:56:04 -07:00
2017-03-02 08:42:36 +01:00
2017-03-24 12:51:05 -07:00
2017-02-24 17:46:56 -08:00
2017-03-02 08:42:38 +01:00
2017-03-03 00:43:11 +01:00
2017-03-03 01:43:47 +01:00
2017-03-02 08:42:29 +01:00
2017-03-10 20:55:09 +01:00
2017-02-24 17:46:57 -08:00
2017-03-09 13:27:17 -08:00
2017-03-02 08:42:24 +01:00
2017-03-02 08:42:24 +01:00
2017-03-02 08:42:24 +01:00
2017-03-21 17:52:45 -07:00
2017-02-27 18:43:48 -08:00
2017-03-03 01:45:41 +01:00
2017-02-27 18:43:46 -08:00
2017-02-24 17:46:56 -08:00
2017-03-03 01:43:48 +01:00
2017-03-03 01:43:48 +01:00
2017-03-02 08:42:29 +01:00
2017-03-02 08:42:27 +01:00
2017-03-23 17:01:02 -07:00
2017-03-02 20:51:15 -05:00
2017-03-22 12:15:15 -07:00
2017-03-02 20:51:15 -05:00
2017-03-02 08:42:29 +01:00
2017-03-03 01:45:25 +01:00
2017-03-03 01:45:25 +01:00
2017-03-03 01:45:39 +01:00
2017-04-01 20:11:36 -07:00
2017-03-06 15:26:37 -06:00
2017-03-09 17:01:10 -08:00
2017-02-27 20:54:05 +02:00
2017-03-21 14:41:46 -07:00
2017-03-09 17:01:10 -08:00
2017-03-02 08:42:25 +01:00
2017-03-08 10:36:03 -08:00