Daniel Borkmann
85de8576a0
bpf, xdp: allow to pass flags to dev_change_xdp_fd
...
Add an IFLA_XDP_FLAGS attribute that can be passed for setting up
XDP along with IFLA_XDP_FD, which eventually allows user space to
implement typical add/replace/delete logic for programs. Right now,
calling into dev_change_xdp_fd() will always replace previous programs.
When passed XDP_FLAGS_UPDATE_IF_NOEXIST, we can handle this more
graceful when requested by returning -EBUSY in case we try to
attach a new program, but we find that another one is already
attached. This will be used by upcoming front-end for iproute2 as
well.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
Acked-by: Alexei Starovoitov <ast@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-11-30 10:27:20 -05:00
..
2016-10-12 11:01:37 -07:00
2016-10-05 10:11:24 -07:00
2016-09-22 10:01:21 +02:00
2016-11-10 20:13:08 +01:00
2016-09-15 21:15:40 +05:30
2016-09-10 16:48:46 +05:30
2016-10-11 15:06:33 -07:00
2016-09-14 20:42:03 +02:00
2016-10-17 16:26:29 +01:00
2016-10-07 08:35:35 -07:00
2016-10-29 16:23:48 -04:00
2016-11-28 15:09:35 -05:00
2016-10-05 11:34:53 -07:00
2016-10-28 09:58:36 +02:00
2016-11-10 13:28:45 +01:00
2016-10-03 19:43:08 -07:00
2016-11-05 13:45:02 +05:30
2016-10-11 13:22:22 -07:00
2016-09-21 02:08:04 +02:00
2016-10-31 15:52:36 -04:00
2016-10-07 09:45:43 -07:00
2016-09-30 09:13:58 -07:00
2016-09-30 09:14:10 -07:00
2016-11-14 10:30:58 -05:00
2016-09-14 20:37:50 +02:00
2016-09-12 20:32:40 +01:00
2016-11-11 23:23:02 +01:00
2016-09-20 14:35:59 -05:00
2016-09-27 12:54:03 +02:00
2016-10-11 15:06:31 -07:00
2016-10-11 15:06:31 -07:00
2016-09-22 07:48:03 -06:00
2016-09-09 12:09:24 +03:00
2016-10-07 18:46:26 -07:00
2016-09-14 09:18:06 -06:00
2016-10-14 12:18:50 -07:00
2016-09-15 08:42:03 -06:00
2016-10-09 17:32:20 -07:00
2016-09-14 11:48:34 -06:00
2016-09-15 18:29:06 -04:00
2016-10-07 18:46:28 -07:00
2016-11-22 13:27:16 -05:00
2016-11-25 16:25:52 -05:00
2016-11-21 11:25:58 -05:00
2016-11-30 10:22:27 -05:00
2016-09-09 12:09:24 +03:00
2016-11-25 16:25:52 -05:00
2016-10-14 12:18:50 -07:00
2016-10-17 15:27:27 -07:00
2016-10-07 18:46:29 -07:00
2016-09-27 21:20:53 -04:00
2016-10-10 14:51:45 -07:00
2016-10-15 10:03:15 -07:00
2016-11-11 08:12:37 -08:00
2016-10-07 18:46:30 -07:00
2016-10-20 16:35:50 +02:00
2016-10-20 20:10:17 +02:00
2016-10-07 18:46:30 -07:00
2016-10-11 15:06:30 -07:00
2016-09-19 11:24:50 +10:00
2016-09-16 12:44:20 +02:00
2016-11-04 14:56:16 -04:00
2016-09-14 13:56:38 -04:00
2016-11-15 22:34:25 -05:00
2016-09-26 22:16:41 +05:30
2016-09-16 09:34:22 +01:00
2016-10-11 15:06:32 -07:00
2016-10-27 16:16:09 -04:00
2016-09-13 20:21:55 +02:00
2016-10-14 14:26:58 -07:00
2016-10-06 09:07:44 -04:00
2016-09-16 08:53:41 +02:00
2016-09-30 10:05:46 -07:00
2016-10-03 09:11:14 -07:00
2016-10-20 14:51:10 -04:00
2016-10-15 10:03:15 -07:00
2016-11-27 20:38:47 -05:00
2016-11-11 08:12:37 -08:00
2016-10-30 13:09:42 -04:00
2016-10-07 15:15:33 -07:00
2016-10-07 18:46:26 -07:00
2016-09-16 12:44:20 +02:00
2016-10-06 11:48:41 -07:00
2016-10-10 14:51:45 -07:00
2016-10-27 16:16:09 -04:00
2016-10-20 14:51:09 -04:00
2016-09-29 10:40:13 +02:00
2016-10-20 14:51:10 -04:00
2016-11-17 09:46:56 -08:00
2016-10-07 18:46:29 -07:00
2016-09-08 21:34:15 -07:00
2016-10-29 15:03:14 -04:00
2016-09-24 10:48:18 +02:00
2016-10-27 16:03:24 +02:00
2016-11-27 20:38:47 -05:00
2016-09-24 08:01:26 -04:00
2016-10-07 23:50:39 -04:00
2016-11-15 12:16:13 -05:00
2016-09-08 16:13:09 -07:00
2016-09-16 09:18:54 +02:00
2016-10-15 10:03:15 -07:00
2016-09-14 22:11:09 +02:00
2016-10-26 15:45:38 +10:00
2016-10-20 15:51:28 +11:00
2016-09-16 09:34:15 +01:00
2016-09-14 09:18:09 -06:00
2016-11-15 10:54:36 -05:00
2016-09-20 23:20:32 +02:00
2016-09-14 15:28:15 +02:00
2016-10-07 18:46:26 -07:00
2016-10-03 13:22:39 -07:00
2016-10-16 11:02:31 +02:00
2016-10-27 18:43:43 -07:00
2016-10-09 12:23:38 -07:00
2016-10-07 18:46:30 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-11 15:06:33 -07:00
2016-10-05 10:11:24 -07:00
2016-09-16 16:57:47 +02:00
2016-09-15 16:49:39 +02:00
2016-09-22 11:50:29 -04:00
2016-09-30 19:13:42 -07:00
2016-09-21 07:57:31 -06:00
2016-09-14 12:57:43 -07:00
2016-09-24 10:48:32 +02:00
2016-09-19 13:42:38 -04:00
2016-09-19 12:27:10 +10:00
2016-11-18 13:54:21 -05:00
2016-09-27 12:33:47 +02:00
2016-10-07 18:46:28 -07:00
2016-10-07 18:46:29 -07:00
2016-11-02 15:17:09 -04:00
2016-10-07 18:46:27 -07:00
2016-10-24 19:13:20 -07:00
2016-10-27 09:27:57 -07:00
2016-09-30 12:46:48 -05:00
2016-09-25 23:41:39 -04:00
2016-09-25 23:41:39 -04:00
2016-09-14 22:11:08 +02:00
2016-10-07 09:20:53 -07:00
2016-11-30 10:27:20 -05:00
2016-11-03 11:52:58 +01:00
2016-11-03 11:52:58 +01:00
2016-11-16 18:32:02 -05:00
2016-09-27 14:34:01 -04:00
2016-09-22 15:54:27 -04:00
2016-09-19 13:11:13 -04:00
2016-10-07 18:46:30 -07:00
2016-10-19 11:36:22 -06:00
2016-09-28 17:43:15 +02:00
2016-10-03 23:38:11 +02:00
2016-09-16 09:34:14 +01:00
2016-09-15 08:33:01 -05:00
2016-09-28 08:53:14 +05:30
2016-10-07 18:46:28 -07:00
2016-09-19 21:44:30 +02:00
2016-10-07 18:46:27 -07:00
2016-10-07 18:46:27 -07:00
2016-10-11 15:06:34 -07:00
2016-10-07 11:46:37 -07:00
2016-09-22 15:25:54 +02:00
2016-10-28 11:06:25 +02:00
2016-10-18 11:56:31 -04:00
2016-11-29 19:38:31 -05:00
2016-10-31 16:18:30 -04:00
2016-10-05 18:24:00 -04:00
2016-10-14 11:36:59 -07:00
2016-09-13 02:49:34 +02:00
2016-09-27 21:52:00 -04:00
2016-10-08 11:06:08 -04:00
2016-10-09 12:23:38 -07:00
2016-10-31 10:56:36 -04:00
2016-09-22 19:59:41 -05:00
2016-09-30 15:26:52 -07:00
2016-09-08 15:01:10 -07:00
2016-09-08 15:01:10 -07:00
2016-11-09 21:19:53 -05:00
2016-09-12 20:01:43 +01:00
2016-10-11 15:06:30 -07:00
2016-10-15 10:03:15 -07:00
2016-10-29 12:14:39 -06:00
2016-10-11 15:06:32 -07:00
2016-10-02 22:50:21 -07:00
2016-09-20 04:43:36 -04:00
2016-09-08 22:15:25 -07:00
2016-09-17 08:39:12 -06:00
2016-11-22 12:33:43 +01:00
2016-09-19 12:27:10 +10:00
2016-11-09 20:40:06 -05:00
2016-11-09 20:40:06 -05:00
2016-11-09 20:40:06 -05:00
2016-11-09 20:40:06 -05:00
2016-10-11 15:06:33 -07:00
2016-10-07 18:46:30 -07:00
2016-09-28 17:46:46 +02:00
2016-11-19 22:11:25 -05:00
2016-10-18 14:14:20 -04:00
2016-10-05 18:23:36 -04:00
2016-11-09 13:21:25 -05:00
2016-09-13 02:17:19 +02:00
2016-10-07 18:46:27 -07:00
2016-10-17 09:50:56 -07:00
2016-10-06 09:52:23 -07:00
2016-09-15 09:51:14 -04:00
2016-11-30 10:04:25 -05:00
2016-09-27 14:35:21 +08:00
2016-10-20 13:27:47 +02:00
2016-09-22 17:02:55 +02:00
2016-09-30 11:46:40 +02:00
2016-10-10 13:38:49 -07:00
2016-09-13 08:08:24 +02:00
2016-09-22 20:00:36 -05:00
2016-11-19 10:37:03 -05:00
2016-09-30 10:54:03 +02:00
2016-10-08 10:27:10 +02:00
2016-09-21 00:22:59 -04:00
2016-10-07 18:46:27 -07:00
2016-10-07 21:48:36 -04:00