Jesper Dangaard Brouer
aecd67b607
xdp: base API for new XDP rx-queue info concept
...
This patch only introduce the core data structures and API functions.
All XDP enabled drivers must use the API before this info can used.
There is a need for XDP to know more about the RX-queue a given XDP
frames have arrived on. For both the XDP bpf-prog and kernel side.
Instead of extending xdp_buff each time new info is needed, the patch
creates a separate read-mostly struct xdp_rxq_info, that contains this
info. We stress this data/cache-line is for read-only info. This is
NOT for dynamic per packet info, use the data_meta for such use-cases.
The performance advantage is this info can be setup at RX-ring init
time, instead of updating N-members in xdp_buff. A possible (driver
level) micro optimization is that xdp_buff->rxq assignment could be
done once per XDP/NAPI loop. The extra pointer deref only happens for
program needing access to this info (thus, no slowdown to existing
use-cases).
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com >
Signed-off-by: Alexei Starovoitov <ast@kernel.org >
2018-01-05 15:21:20 -08:00
..
2017-11-16 14:05:12 -08:00
2017-12-08 14:12:33 -05:00
2017-12-02 11:21:31 +00:00
2017-11-26 14:39:20 -08:00
2017-12-07 10:40:57 +00:00
2017-11-15 14:54:53 -08:00
2017-12-29 15:42:26 -05:00
2017-11-22 20:46:06 -10:00
2017-11-16 10:57:11 -08:00
2017-11-22 20:46:06 -10:00
2017-12-14 16:00:49 -08:00
2017-11-17 20:04:24 -08:00
2017-11-30 16:55:35 +00:00
2017-11-27 16:45:11 -05:00
2017-12-07 14:32:30 -05:00
2017-11-17 12:54:01 -08:00
2017-11-15 13:28:48 -08:00
2017-11-15 18:21:07 -08:00
2017-12-20 11:10:17 -07:00
2017-11-17 16:10:01 -08:00
2017-12-20 11:10:17 -07:00
2017-12-20 13:16:33 -07:00
2017-11-15 18:21:05 -08:00
2018-01-04 19:01:14 +01:00
2017-12-31 16:12:23 +01:00
2018-01-04 19:01:14 +01:00
2017-12-15 15:41:13 -05:00
2017-11-17 16:10:01 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 14:29:44 -08:00
2017-11-15 14:29:44 -08:00
2017-11-17 11:54:55 -08:00
2017-11-17 16:10:01 -08:00
2017-12-12 13:22:10 +01:00
2017-12-12 12:38:51 +01:00
2017-11-15 19:46:50 +01:00
2017-11-15 10:56:56 -08:00
2017-12-14 16:00:49 -08:00
2017-11-17 09:51:57 -08:00
2017-11-28 15:24:02 +01:00
2017-12-05 10:31:32 -08:00
2017-11-15 11:56:19 -08:00
2018-01-05 15:21:20 -08:00
2017-11-29 18:40:43 -08:00
2017-11-17 14:58:01 -08:00
2017-11-17 16:10:02 -08:00
2017-11-15 18:21:06 -08:00
2017-11-15 11:10:38 +01:00
2017-11-15 18:21:03 -08:00
2017-11-29 18:40:42 -08:00
2017-12-09 22:09:55 -05:00
2017-12-14 16:00:48 -08:00
2017-12-08 14:51:46 -05:00
2017-11-17 16:10:04 -08:00
2017-11-17 14:58:01 -08:00
2017-12-17 12:52:34 +01:00
2017-11-15 18:21:05 -08:00
2017-11-17 09:51:57 -08:00
2017-11-17 16:10:01 -08:00
2017-11-17 16:10:04 -08:00
2017-12-21 13:07:20 -05:00
2017-12-04 20:51:12 +01:00
2017-11-29 10:30:13 -08:00
2017-11-15 18:21:01 -08:00
2017-11-17 16:10:04 -08:00
2017-11-17 16:10:04 -08:00
2017-11-15 16:38:45 +00:00
2017-11-15 16:38:45 +00:00
2017-11-15 18:21:01 -08:00
2017-12-12 08:56:26 -08:00
2017-11-21 16:35:54 -08:00
2017-12-05 21:16:43 +01:00
2017-12-01 13:09:40 -08:00
2017-12-12 12:38:51 +01:00
2017-12-27 11:06:50 -05:00
2017-11-15 18:21:05 -08:00
2017-11-29 18:40:43 -08:00
2017-11-17 20:21:44 -08:00
2017-11-15 18:21:04 -08:00
2017-11-29 18:40:42 -08:00
2017-11-17 09:51:57 -08:00
2017-11-15 18:21:03 -08:00
2017-11-15 18:21:07 -08:00
2017-12-12 08:56:26 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 18:21:04 -08:00
2017-12-19 10:38:36 -05:00
2017-12-31 16:12:23 +01:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2017-11-17 16:10:00 -08:00
2017-11-18 20:37:12 -05:00
2017-11-15 15:01:28 -08:00
2017-11-16 16:05:01 -08:00
2017-11-15 11:56:19 -08:00
2017-12-14 16:00:49 -08:00
2017-11-15 18:21:03 -08:00
2017-11-15 18:21:02 -08:00
2017-11-17 16:10:00 -08:00
2017-11-15 18:21:06 -08:00
2017-11-15 18:21:06 -08:00
2017-12-16 22:11:55 -05:00
2017-12-05 15:02:40 +01:00
2017-12-13 11:22:53 -05:00
2017-12-13 15:55:01 -05:00
2017-11-17 16:10:04 -08:00
2017-11-17 16:10:04 -08:00
2017-11-17 16:10:03 -08:00
2017-12-11 14:32:56 +01:00
2017-11-21 05:28:13 -10:00
2017-12-31 16:12:23 +01:00
2017-12-11 10:52:23 -05:00
2017-11-17 20:14:10 -08:00
2017-11-17 16:10:01 -08:00
2017-12-14 16:00:48 -08:00
2017-12-05 18:06:09 -05:00
2017-11-17 16:10:04 -08:00
2017-12-11 09:58:38 -05:00
2017-11-15 18:21:04 -08:00
2017-12-26 12:30:02 -05:00
2017-12-12 11:24:01 +01:00
2017-11-15 20:42:10 -08:00
2017-12-15 11:44:59 -08:00
2017-12-15 13:52:21 -05:00
2017-11-28 16:00:50 +01:00
2017-12-15 13:23:22 -05:00
2017-11-15 20:42:10 -08:00
2017-12-08 13:32:26 -05:00
2017-12-05 12:09:18 -05:00
2017-11-15 18:21:01 -08:00
2017-11-15 18:21:06 -08:00
2017-11-15 18:21:01 -08:00
2017-12-12 11:24:01 +01:00
2017-12-16 22:11:55 -05:00
2017-12-14 16:00:48 -08:00
2017-11-15 18:21:06 -08:00
2017-11-18 20:37:12 -05:00
2017-11-17 16:10:03 -08:00
2017-12-06 19:31:39 +01:00
2017-12-12 10:53:04 -05:00
2017-11-15 18:21:04 -08:00
2017-11-21 16:35:54 -08:00
2017-12-13 22:44:10 +01:00
2017-12-04 07:14:30 -05:00
2017-11-15 18:21:01 -08:00
2017-11-16 12:20:15 -08:00
2017-11-24 01:37:35 +09:00
2017-11-15 18:21:07 -08:00
2017-11-21 16:35:54 -08:00
2017-11-21 15:46:44 -08:00