numam-dpdk/doc/guides
Junfeng Guo 25be39cc17 net/ice: enable protocol agnostic flow offloading in FDIR
Protocol agnostic flow offloading in Flow Director is enabled by this
patch based on the Parser Library, using existing rte_flow raw API.

Note that the raw flow requires:
1. byte string of raw target packet bits.
2. byte string of mask of target packet.

Here is an example:
FDIR matching ipv4 dst addr with 1.2.3.4 and redirect to queue 3:

flow create 0 ingress pattern raw \
pattern spec \
00000000000000000000000008004500001400004000401000000000000001020304 \
pattern mask \
000000000000000000000000000000000000000000000000000000000000ffffffff \
/ end actions queue index 3 / mark id 3 / end

Note that mask of some key bits (e.g., 0x0800 to indicate ipv4 proto)
is optional in our cases. To avoid redundancy, we just omit the mask
of 0x0800 (with 0xFFFF) in the mask byte string example. The prefix
'0x' for the spec and mask byte (hex) strings are also omitted here.

Also update the ice feature list with rte_flow item raw.

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2021-11-03 13:01:31 +01:00
..
bbdevs baseband/la12xx: support enqueue and dequeue 2021-10-18 20:12:08 +02:00
compressdevs compress/mlx5: add supported capabilities 2021-01-27 20:40:03 +01:00
contributing mempool: deprecate unused physical page defines 2021-10-20 10:03:41 +02:00
cryptodevs crypto/cnxk: allow different cores in pending queue 2021-10-20 15:56:46 +02:00
dmadevs dma/ioat: add data path completion 2021-10-22 22:40:59 +02:00
eventdevs ethdev: add namespace 2021-10-22 18:15:38 +02:00
faq usertools: remove dpdk-setup.sh 2020-11-27 17:25:24 +01:00
freebsd_gsg doc: fix default mempool option in guides 2021-10-25 17:12:52 +02:00
howto app/dumpcap: add new packet capture application 2021-10-22 22:40:58 +02:00
linux_gsg doc: clarify SRIOV activation with built-in VFIO 2021-10-28 10:14:58 +02:00
mempool mempool/cnxk: add batch operation init 2021-04-09 08:32:24 +02:00
nics net/ice: enable protocol agnostic flow offloading in FDIR 2021-11-03 13:01:31 +01:00
platform raw/octeontx2_dma: remove driver 2021-10-18 18:33:45 +02:00
prog_guide ethdev: add capability to keep shared objects on restart 2021-11-02 18:59:17 +01:00
rawdevs raw/ioat: deprecate rawdev driver 2021-10-22 22:40:59 +02:00
regexdevs regex/mlx5: move RXP to CrSpace 2021-11-03 23:14:48 +01:00
rel_notes net/ice: enable protocol agnostic flow offloading in FDIR 2021-11-03 13:01:31 +01:00
sample_app_ug examples/dma: rename ioat application example 2021-10-27 16:53:39 +02:00
testpmd_app_ug ethdev: add namespace 2021-10-22 18:15:38 +02:00
tools app/flow-perf: add destination ports parameter 2021-11-05 10:58:25 +01:00
vdpadevs vdpa/mlx5: support Sub-Function 2021-07-22 00:11:14 +02:00
windows_gsg doc: update driver installation in Windows guide 2021-10-11 21:17:33 +02:00
conf.py doc: add flow API features tables 2021-05-18 19:06:56 +02:00
custom.css doc: add SPDX tag to custom CSS file 2021-05-19 11:02:02 +02:00
index.rst dmadev: introduce DMA device library 2021-10-17 20:49:57 +02:00
meson.build build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00