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-06-17 15:39:46 +02:00
2016-09-09 09:53:35 -03:00
2016-08-22 22:43:35 +02:00
2016-05-29 20:03:21 +01:00
2016-11-01 20:50:31 +01:00
2016-11-09 13:41:55 -05:00
2016-08-25 12:13:17 +03:00
2016-11-13 12:35:13 -05:00
2016-10-04 14:21:41 -07:00
2016-10-11 15:06:31 -07:00
2016-10-11 15:06:31 -07:00
2016-08-09 07:54:43 +02:00
2016-09-02 10:46:44 -07:00
2016-11-25 16:26:04 -05:00
2016-11-13 00:57:53 -05:00
2016-09-29 19:05:06 -05:00
2016-04-28 11:06:41 +02:00
2016-10-03 18:52:14 +02:00
2016-08-02 17:31:41 -04:00
2016-05-03 14:59:30 -07:00
2016-06-23 18:29:56 +08:00
2016-11-24 16:01:14 -05:00
2016-07-20 23:49:49 -04:00
2016-07-20 12:37:39 -07:00
2016-08-05 09:00:54 -04:00
2016-11-18 12:12:14 -05:00
2016-10-03 09:11:14 -07:00
2016-11-04 14:45:23 -04:00
2016-10-13 20:28:22 -07:00
2016-10-01 07:32:32 +02:00
2016-04-26 12:00:49 -04:00
2016-10-27 16:16:09 -04:00
2016-06-15 09:29:17 +02:00
2016-06-07 16:25:49 -07:00
2016-06-17 13:24:05 +02:00
2016-06-18 22:11:39 -07:00
2016-08-18 23:18:42 -07:00
2016-10-20 14:51:08 -04:00
2016-11-30 10:27:20 -05:00
2016-07-25 10:55:39 -07:00
2016-08-22 16:25:14 -07:00
2016-08-22 16:25:15 -07:00
2016-09-25 23:34:19 +02:00
2016-05-09 21:29:31 -04:00
2016-04-26 01:27:07 -04:00
2016-11-03 15:41:11 -04:00
2016-11-03 15:41:11 -04:00
2016-10-23 19:35:24 -04:00
2016-06-29 09:51:03 -07:00
2016-08-17 11:13:08 +02:00
2016-04-25 15:09:11 -04:00
2016-11-09 20:40:06 -05:00
2016-08-22 16:25:15 -07:00
2016-10-23 15:56:23 -07:00
2016-06-27 16:31:25 +01:00
2016-11-19 19:04:16 +01:00
2016-11-09 18:55:36 -05:00
2016-08-22 16:25:15 -07:00
2016-07-11 10:49:52 -03:00
2016-11-09 20:40:06 -05:00
2016-08-23 22:58:51 -07:00
2016-09-09 11:16:36 -03:00
2016-08-23 16:28:04 -03:00
2016-08-12 16:57:20 -07:00
2016-08-15 11:07:21 -07:00
2016-11-30 10:04:25 -05:00
2016-11-03 10:56:17 +01:00
2016-06-16 14:00:50 -07:00
2016-09-26 15:20:37 -04:00
2016-08-02 19:35:21 -04:00
2016-08-02 19:35:21 -04:00
2016-10-27 16:03:28 +02:00
2016-09-22 19:59:41 -05:00
2016-05-17 17:14:21 -06:00
2016-11-13 00:51:02 -05:00
2016-10-14 15:00:10 -04:00
2016-05-30 12:41:44 -03:00
2016-11-09 13:41:54 -05:00
2016-09-23 07:19:06 -04:00
2016-09-27 21:52:00 -04:00
2016-09-27 21:52:00 -04:00
2016-05-08 23:46:14 -04:00
2016-04-26 12:00:48 -04:00
2016-08-02 19:35:31 -04:00
2016-05-05 17:38:53 -07:00
2016-11-04 14:45:23 -04:00
2016-08-08 12:51:58 -07: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-05-20 20:57:27 -07:00
2016-09-27 12:55:50 +02:00
2016-07-12 13:42:10 -03:00
2016-05-04 08:34:14 +02:00
2016-08-25 16:43:11 -07:00
2016-10-31 10:56:47 -04:00
2016-05-05 17:38:53 -07:00
2016-09-20 18:12:38 +05:30
2016-08-02 17:31:41 -04:00
2016-11-30 10:04:25 -05:00
2016-08-26 21:38:41 -07:00
2016-07-26 14:26:42 -07:00
2016-04-30 09:26:55 -07:00
2016-05-10 12:25:04 -04:00
2016-05-20 17:58:30 -07:00
2016-09-19 14:34:41 -03:00
2016-08-02 16:53:54 +03:00
2016-09-19 14:34:41 -03:00
2016-08-01 21:44:52 +03:00
2016-08-02 02:57:29 +03:00
2016-06-10 23:03:55 -07:00
2016-08-09 13:42:38 +03:00
2016-04-30 09:26:55 -07:00
2016-06-25 17:26:35 +03:00
2016-06-09 10:14:39 +02:00
2016-09-09 09:10:07 +02:00