numam-dpdk/drivers/net
Yongseok Koh 31fda51877 net/mlx5: support multiple groups and jump action
rte_flow has 'group' attribute and 'jump' action in order to support
multiple groups. This feature is known as multi-table support ('chain' in
linux TC flower) in general because a group means a table of flows. Example
commands are:

	flow create 0 transfer priority 1 ingress
	     pattern eth / vlan vid is 100 / end
	     actions jump group 1 / end

	flow create 0 transfer priority 1 ingress
	     pattern eth / vlan vid is 200 / end
	     actions jump group 2 / end

	flow create 0 transfer group 1 priority 2 ingress
	     pattern eth / vlan vid is 100 /
	     	     ipv4 dst spec 192.168.40.0 dst prefix 24 / end
	     actions drop / end

	flow create 0 transfer group 1 priority 2 ingress
	     pattern end
	     actions of_pop_vlan / port_id id 1 / end

	flow create 0 transfer group 2 priority 2 ingress
	     pattern eth / vlan vid is 200 /
	     	     ipv4 dst spec 192.168.40.0 dst prefix 24 / end
	     actions of_pop_vlan / port_id id 2 / end

	flow create 0 transfer group 2 priority 2 ingress
	     pattern end
	     actions port_id id 2 / end

With theses flows, if a packet having vlan 200 and src_ip as 192.168.40.1,
this packet will firstly hit the 1st flow. Then it will hit the 5th flow
because of the 'jump' action. As a result, the packet will be forwarded to
port 2 (VF representor) with vlan tag being stripped off. If the packet had
vlan 100 instead, it would be dropped by the 3rd flow.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
2018-10-18 10:24:39 +02:00
..
af_packet drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
ark net/ark: use SPDX tags 2018-07-04 21:21:31 +02:00
atlantic net/atlantic: read MAC registers for debug purposes 2018-10-18 10:24:39 +02:00
avf net/avf: remove keeping CRC configuration 2018-09-28 01:41:03 +02:00
avp ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
axgbe ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bnx2x ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
bnxt drivers/net: enable device detach on secondary process 2018-10-17 10:16:18 +02:00
bonding drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
cxgbe ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
dpaa dpaa: enable dpaax library 2018-10-16 14:54:25 +02:00
dpaa2 net/dpaa2: fix MAC address initialization 2018-10-17 09:36:06 +01:00
e1000 net/e1000: enable MSI-x for linkup and other events in 82574 2018-10-11 18:56:02 +02:00
ena drivers/net: enable device detach on secondary process 2018-10-17 10:16:18 +02:00
enetc net/enetc: support packet type parsing 2018-10-11 18:53:49 +02:00
enic net/enic: fix counter action 2018-10-18 10:24:39 +02:00
failsafe net/failsafe: use prefix for function 2018-10-11 18:53:49 +02:00
fm10k net/fm10k: add imissed stats 2018-09-28 01:41:02 +02:00
i40e drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
ifc net/ifc: invoke ifcvf HW init function in probe 2018-10-11 18:56:02 +02:00
ixgbe net/ixgbe: wait longer for link after fiber MAC setup 2018-10-11 18:53:48 +02:00
kni drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
liquidio drivers/net: enable device detach on secondary process 2018-10-17 10:16:18 +02:00
mlx4 drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
mlx5 net/mlx5: support multiple groups and jump action 2018-10-18 10:24:39 +02:00
mvneta net/mvneta: support statistics reset 2018-10-11 18:53:48 +02:00
mvpp2 net/mvpp2: support Tx scatter/gather 2018-09-28 01:41:03 +02:00
netvsc net/netvsc: check return from kvargs process 2018-10-11 18:53:48 +02:00
nfp net/nfp: fix RSS 2018-10-11 18:53:48 +02:00
null drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
octeontx drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
pcap drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
qede net/qede: bump PMD version to 2.10.0.1 2018-10-11 18:53:48 +02:00
ring ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
sfc net/sfc: allow to query RSS key and HF when RSS is disabled 2018-10-11 20:35:29 +02:00
softnic net/softnic: support VXLAN flow decap action 2018-10-12 19:33:40 +02:00
szedata2 drivers/bus: move driver assignment to end of probing 2018-10-17 10:26:59 +02:00
tap drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
thunderx net/*/base: allow use of experimental APIs in base code 2018-09-28 01:41:01 +02:00
vdev_netvsc drivers/net: fix log type string 2018-10-11 18:53:49 +02:00
vhost drivers/net: enable hotplug on secondary process 2018-10-17 10:16:18 +02:00
virtio drivers/net: enable device detach on secondary process 2018-10-17 10:16:18 +02:00
vmxnet3 ethdev: rename memzones allocated for DMA 2018-10-17 10:26:59 +02:00
Makefile net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00
meson.build net/atlantic: add PMD driver skeleton 2018-10-18 10:24:39 +02:00