Pablo Neira Ayuso
c29f74e0df
netfilter: nf_flow_table: hardware offload support
...
This patch adds the dataplane hardware offload to the flowtable
infrastructure. Three new flags represent the hardware state of this
flow:
* FLOW_OFFLOAD_HW: This flow entry resides in the hardware.
* FLOW_OFFLOAD_HW_DYING: This flow entry has been scheduled to be remove
from hardware. This might be triggered by either packet path (via TCP
RST/FIN packet) or via aging.
* FLOW_OFFLOAD_HW_DEAD: This flow entry has been already removed from
the hardware, the software garbage collector can remove it from the
software flowtable.
This patch supports for:
* IPv4 only.
* Aging via FLOW_CLS_STATS, no packet and byte counter synchronization
at this stage.
This patch also adds the action callback that specifies how to convert
the flow entry into the flow_rule object that is passed to the driver.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-11-12 19:42:26 -08:00
..
2019-11-11 21:58:10 +01:00
2019-09-16 12:06:23 +02:00
2019-09-17 10:27:46 -07:00
2019-10-02 12:19:53 -04:00
2019-10-31 11:00:45 -07:00
2019-10-31 14:19:45 -07:00
2019-10-15 01:18:46 +02:00
2019-08-28 17:24:22 +02:00
2019-09-19 14:14:28 -07:00
2019-09-16 09:56:27 -07:00
2019-09-17 00:40:05 -05:00
2019-09-23 19:37:49 -07:00
2019-10-29 16:27:17 -07:00
2019-09-19 13:27:23 -07:00
2019-09-21 10:59:54 -07:00
2019-10-07 23:59:02 +02:00
2019-09-13 12:47:36 +02:00
2019-09-13 12:47:36 +02:00
2019-09-13 12:47:36 +02:00
2019-09-13 12:47:36 +02:00
2019-10-14 13:33:44 +05:30
2019-09-21 10:26:24 -07:00
2019-09-03 12:37:16 +01:00
2019-09-28 12:39:07 -07:00
2019-09-19 16:24:24 -07:00
2019-09-04 14:57:28 +05:30
2019-10-08 17:38:15 +01:00
2019-10-30 12:04:35 -04:00
2019-09-18 10:33:46 -07:00
2019-09-28 08:14:15 -07:00
2019-08-30 21:29:32 -04:00
2019-08-27 09:22:38 -06:00
2019-08-27 09:22:38 -06:00
2019-09-02 15:55:03 +01:00
2019-10-14 15:04:01 -07:00
2019-10-01 15:45:03 +02:00
2019-08-28 21:17:12 -06:00
2019-08-28 21:17:04 -06:00
2019-09-05 19:52:34 -06:00
2019-09-24 16:31:50 -07:00
2019-10-31 15:16:59 +01:00
2019-10-17 16:44:35 +02:00
2019-11-09 11:04:37 -08:00
2019-10-23 20:42:52 -07:00
2019-10-24 18:41:08 -07:00
2019-09-05 10:15:16 +02:00
2019-09-19 15:31:27 -07:00
2019-09-20 15:45:07 -07:00
2019-09-24 15:54:10 -07:00
2019-10-11 09:26:05 -07:00
2019-09-21 09:47:19 -07:00
2019-09-08 14:53:58 +02:00
2019-09-04 13:38:26 +02:00
2019-09-24 13:37:28 +02:00
2019-10-21 02:05:21 +02:00
2019-09-03 09:36:36 +02:00
2019-09-17 19:15:14 -07:00
2019-09-25 17:51:40 -07:00
2019-09-23 11:21:04 -07:00
2019-09-18 10:33:46 -07:00
2019-10-09 19:33:43 -07:00
2019-09-19 13:27:23 -07:00
2019-08-29 16:43:22 +02:00
2019-10-22 12:54:44 -07:00
2019-09-03 19:21:19 +02:00
2019-10-31 09:40:19 +01:00
2019-09-05 19:52:33 -06:00
2019-10-18 15:32:52 +02:00
2019-10-17 16:44:36 +02:00
2019-11-02 13:54:56 -07:00
2019-09-25 09:55:59 -07:00
2019-09-27 17:00:27 -07:00
2019-08-26 11:40:24 +02:00
2019-10-28 16:17:31 -07:00
2019-09-05 11:40:54 +02:00
2019-08-27 19:02:59 +02:00
2019-09-18 15:58:13 +02:00
2019-08-28 13:01:25 +02:00
2019-09-29 10:33:41 -07:00
2019-09-24 15:54:08 -07:00
2019-10-02 06:36:50 -07:00
2019-09-24 12:36:31 -07:00
2019-09-24 16:48:02 -07:00
2019-11-05 14:03:11 -08:00
2019-11-05 14:03:11 -08:00
2019-09-03 11:33:29 +02:00
2019-11-08 08:46:49 -08:00
2019-10-24 14:53:49 -07:00
2019-10-24 14:53:48 -07:00
2019-10-24 14:53:49 -07:00
2019-09-28 08:14:15 -07:00
2019-08-28 11:50:33 +02:00
2019-09-11 12:39:19 +02:00
2019-09-17 19:15:14 -07:00
2019-09-25 17:51:39 -07:00
2019-08-30 16:12:10 +02:00
2019-09-19 15:32:45 -07:00
2019-09-24 15:54:07 -07:00
2019-09-07 04:28:05 -03:00
2019-09-28 08:14:15 -07:00
2019-09-02 11:43:54 +01:00
2019-09-25 17:51:40 -07:00
2019-09-24 15:54:11 -07:00
2019-09-30 18:52:00 +02:00
2019-10-08 22:05:58 +02:00
2019-08-29 13:49:13 -07:00
2019-10-15 20:40:06 -07:00
2019-09-28 08:14:15 -07:00
2019-09-05 12:32:05 +02:00
2019-10-07 15:47:20 -07:00
2019-09-24 15:54:09 -07:00
2019-09-28 14:05:38 -07:00
2019-09-29 10:33:41 -07:00
2019-10-17 16:31:52 -07:00
2019-10-04 18:11:08 -07:00
2019-09-25 17:51:40 -07:00
2019-11-06 08:28:58 -08:00
2019-11-06 08:28:58 -08:00
2019-09-07 04:28:04 -03:00
2019-09-24 15:54:11 -07:00
2019-09-27 19:37:27 -07:00
2019-10-04 11:10:56 -07:00
2019-09-03 09:30:45 -04:00
2019-11-12 19:42:26 -08:00
2019-09-13 12:35:33 +02:00
2019-09-13 12:35:33 +02:00
2019-10-17 12:20:48 +02:00
2019-09-20 15:15:24 -04:00
2019-08-29 12:55:02 -07:00
2019-09-11 14:46:02 +01:00
2019-11-04 11:21:25 -08:00
2019-09-13 21:15:41 +10:00
2019-10-14 15:04:00 -07:00
2019-11-06 08:28:58 -08:00
2019-09-24 15:54:08 -07:00
2019-09-07 04:28:04 -03:00
2019-08-28 15:25:53 -05:00
2019-09-23 19:16:01 -07:00
2019-09-23 19:16:01 -07:00
2019-10-28 11:02:01 +01:00
2019-09-05 11:54:14 +02:00
2019-10-23 20:42:52 -07:00
2019-10-07 12:52:44 +02:00
2019-10-21 02:05:21 +02:00
2019-09-05 21:16:22 +02:00
2019-09-25 17:51:39 -07:00
2019-08-26 11:35:13 +02:00
2019-09-21 03:25:10 +02:00
2019-09-12 12:09:16 +02:00
2019-11-01 22:26:34 -04:00
2019-09-12 21:05:34 -04:00
2019-09-25 17:51:39 -07:00
2019-09-16 17:25:49 -07:00
2019-08-26 16:27:01 -07:00
2019-09-25 17:42:29 +02:00
2019-09-16 11:43:38 -05:00
2019-10-16 09:51:43 -07:00
2019-10-31 09:40:21 +01:00
2019-11-12 11:13:41 -08:00
2019-09-12 21:05:34 -04:00
2019-09-24 15:54:11 -07:00
2019-11-07 20:08:14 -08:00
2019-11-09 11:04:37 -08:00
2019-10-07 15:47:20 -07:00
2019-10-31 14:01:40 -07:00
2019-11-04 11:21:25 -08:00
2019-10-08 13:27:05 +02:00
2019-09-25 17:51:41 -07:00
2019-09-11 12:34:29 +02:00
2019-11-04 11:21:25 -08:00
2019-09-07 21:42:25 +02:00
2019-10-02 10:06:45 +02:00
2019-09-17 20:03:49 -06:00
2019-10-25 19:25:37 -07:00
2019-09-25 17:51:40 -07:00
2019-08-26 12:15:06 +03:00
2019-08-30 07:27:17 -07:00
2019-08-28 11:50:43 +02:00
2019-09-16 17:25:49 -07:00
2019-10-07 15:24:36 +02:00
2019-08-31 06:51:49 -04:00
2019-11-07 20:03:08 -08:00
2019-11-02 12:39:12 -07:00
2019-10-28 04:25:04 -04:00
2019-09-24 15:54:10 -07:00
2019-09-04 14:34:31 +02:00
2019-09-17 12:35:15 -07:00
2019-09-13 21:15:39 +10:00
2019-08-27 09:22:38 -06:00
2019-10-14 15:04:01 -07:00
2019-09-24 15:54:12 -07:00