Adrien Mazarguil 21174f2a5c net/mlx5: add port ID pattern item to switch flow rules
This enables flow rules to match traffic coming from a different DPDK port
ID associated with the device (PORT_ID pattern item), mainly for the
convenience of applications that want to deal with a single port ID for all
flow rules associated with some physical device.

Testpmd example:

- Creating a flow rule on port ID 1 to consume all traffic from port ID 0
  and direct it to port ID 2:

  flow create 1 ingress transfer pattern port_id id is 0 / end actions
     port_id id 2 / end

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2018-07-26 14:05:52 +02:00
..
2018-07-04 21:21:31 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 12:29:07 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-23 23:55:26 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-26 09:58:19 +02:00
2018-07-12 12:29:14 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-26 09:58:19 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-12 00:00:35 +02:00
2018-07-26 09:58:19 +02:00
2018-07-12 00:00:35 +02:00