On 1/26/2022 3:57 PM, Yuying Zhang wrote:
This patch supports drop any and steer all to queue in switch
filter. Support new rte_flow pattern any to handle all packets.
The usage is listed below.
1. drop any:
flow create 0 ingress pattern any / end actions drop / end
All packets received in port 0 will be dropped.

2. steer all to queue:
flow create 0 ingress pattern any / end actions queue index 3 / end
All packets received in port 0 will be steered to queue 3.

Signed-off-by: Yuying Zhang<yuying.zh...@intel.com>
---
  drivers/net/ice/ice_generic_flow.c  | 6 ++++++
  drivers/net/ice/ice_generic_flow.h  | 3 +++
  drivers/net/ice/ice_switch_filter.c | 6 ++++++
  3 files changed, 15 insertions(+)

Documentation is missing, 'check-doc-vs-code.sh' gives following error.

$ ./devtools/check-doc-vs-code.sh
rte_flow doc out of sync for ice
        item any


I will fix it in next-net while merging

Reply via email to