Pablo Neira Ayuso
16f8036086
net: flow_offload: skip hw stats check for FLOW_ACTION_HW_STATS_DONT_CARE
...
This patch adds FLOW_ACTION_HW_STATS_DONT_CARE which tells the driver
that the frontend does not need counters, this hw stats type request
never fails. The FLOW_ACTION_HW_STATS_DISABLED type explicitly requests
the driver to disable the stats, however, if the driver cannot disable
counters, it bails out.
TCA_ACT_HW_STATS_* maintains the 1:1 mapping with FLOW_ACTION_HW_STATS_*
except by disabled which is mapped to FLOW_ACTION_HW_STATS_DISABLED
(this is 0 in tc). Add tc_act_hw_stats() to perform the mapping between
TCA_ACT_HW_STATS_* and FLOW_ACTION_HW_STATS_*.
Fixes: 319a1d1947
("flow_offload: check for basic action hw stats type")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-05-06 20:13:10 -07:00
..
2020-03-23 22:10:28 -07:00
2019-12-12 21:38:57 -08:00
2020-02-24 11:23:36 -08:00
2020-02-24 11:23:37 -08:00
2020-02-24 11:23:37 -08:00
2020-02-24 11:23:37 -08:00
2020-02-24 11:23:37 -08:00
2020-02-24 11:23:37 -08:00
2020-02-24 11:23:37 -08:00
2020-04-28 13:58:16 -07:00
2020-04-16 13:59:53 -07:00
2020-02-24 11:24:47 -08:00
2019-12-12 21:38:57 -08:00
2020-04-27 11:13:15 -07:00
2020-02-24 11:24:47 -08:00
2020-03-26 11:22:20 -07:00
2020-01-22 21:16:32 +01:00
2020-05-05 11:11:12 -07:00
2020-03-10 16:28:53 -07:00
2020-05-03 16:01:48 -07:00
2019-12-12 21:38:57 -08:00
2020-05-01 15:27:51 -07:00
2020-05-01 15:31:37 -07:00
2020-03-03 17:54:54 -08:00
2020-03-05 12:12:34 -08:00
2020-03-10 16:28:53 -07:00
2020-03-03 17:54:54 -08:00
2020-04-15 16:22:14 -07:00
2020-03-03 17:54:54 -08:00
2020-03-12 11:32:35 -07:00
2020-04-01 11:23:45 -07:00
2020-05-04 10:51:20 -07:00
2019-12-12 21:38:57 -08:00
2020-01-09 12:13:43 -08:00
2020-03-30 20:48:43 -07:00
2020-03-21 19:44:16 -07:00
2020-01-28 16:02:33 -08:00
2020-04-30 13:27:17 -07:00
2020-04-21 15:45:32 -07:00
2020-05-06 14:15:46 -07:00
2020-04-07 18:28:28 -07:00
2020-05-06 20:13:10 -07:00
2020-03-29 21:25:29 -07:00
2019-12-25 19:51:34 -08:00
2020-04-30 20:23:49 -07:00
2020-05-06 17:15:25 -07:00
2020-03-14 21:13:54 -07:00
2020-04-27 12:07:46 -07:00
2020-04-12 11:44:02 -07:00
2020-05-04 12:04:12 -07:00
2020-03-14 21:13:54 -07:00
2019-12-12 21:38:57 -08:00
2020-01-23 10:49:30 +01:00
2019-12-22 15:15:05 -08:00
2019-12-12 21:38:57 -08:00
2020-05-06 17:46:33 -07:00
2020-04-06 10:22:09 -07:00
2020-04-02 06:50:04 -07:00
2020-01-21 10:50:41 +01:00
2020-04-06 10:09:58 -07:00
2020-02-16 19:44:41 -08:00
2019-12-16 16:14:43 -08:00
2020-03-14 21:13:55 -07:00
2019-12-12 21:38:57 -08:00
2020-03-26 19:31:21 -07:00
2020-04-23 15:59:43 -07:00
2019-12-12 21:38:57 -08:00
2019-12-12 21:38:57 -08:00
2020-01-28 16:02:33 -08:00
2020-03-17 20:56:57 -07:00
2020-05-04 11:57:21 -07:00
2020-03-04 14:21:00 -08:00
2020-03-17 20:56:57 -07:00
2020-03-17 20:56:57 -07:00
2020-05-06 17:53:00 -07:00
2020-04-27 11:52:10 -07:00
2020-03-14 21:13:55 -07:00
2019-12-12 21:38:57 -08:00
2020-03-24 16:33:05 -07:00
2019-12-12 21:38:57 -08:00
2020-04-23 15:32:45 -07:00
2020-03-03 17:54:55 -08:00
2020-03-03 17:54:55 -08:00
2020-01-28 16:02:33 -08:00
2020-03-03 17:54:55 -08:00
2020-03-14 21:13:54 -07:00
2019-10-31 14:49:52 -07:00
2020-01-28 16:02:33 -08:00
2020-01-28 16:02:33 -08:00
2019-10-31 14:49:52 -07:00