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