numam-dpdk/drivers/net/mlx5
Ori Kam 4e05a229c5 net/mlx5: add flow prepare function
In current implementation the calculation of the flow size is done
during the validation stage, and the same function is also used to
translate the input parameters into verbs spec.  This is hard to
maintain and error prone.
Another issue is dev-flows (flows that are created implicitly in order
to support the requested flow for example when the user request RSS on
UDP 2 rules need to be created one for IPv4 and one for IPv6).
In current implementation the dev-flows are created on the same
memory allocation. This will be harder to implement in future drivers.

The commits extract the calculation and creation of the dev-flow from
the translation part (the part that converts the parameters into the
format required by the driver). This results in that the prepare
function only function is to allocate the dev-flow.

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2018-10-11 18:53:49 +02:00
..
Makefile net/mlx5: avoid stripping the glue library 2018-08-02 12:34:17 +02:00
meson.build net/mlx5: support meson build 2018-09-28 01:41:01 +02:00
mlx5_defs.h net/mlx5: fix minimum number of Multi-Packet RQ buffers 2018-08-05 13:29:34 +02:00
mlx5_ethdev.c net/mlx5: fix invalid network interface index 2018-07-26 14:05:52 +02:00
mlx5_flow.c net/mlx5: add flow prepare function 2018-10-11 18:53:49 +02:00
mlx5_glue.c net/mlx5: fix linkage of glue lib with gcc 4.7.2 2018-07-26 14:05:52 +02:00
mlx5_glue.h net/mlx5: add a function to rdma-core glue 2018-05-14 22:31:52 +01:00
mlx5_mac.c net/mlx5: probe all port representors 2018-07-11 15:37:19 +02:00
mlx5_mr.c net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_mr.h net/mlx5: clean-up developer logs 2018-07-03 01:35:57 +02:00
mlx5_nl_flow.c net/mlx5: fix artificial L4 limitation on switch flow rules 2018-08-28 15:27:39 +02:00
mlx5_nl.c net/mlx5: fix invalid network interface index 2018-07-26 14:05:52 +02:00
mlx5_prm.h net/mlx5: use a macro for the RSS key size 2018-07-12 12:10:03 +02:00
mlx5_rss.c net/mlx5: use a macro for the RSS key size 2018-07-12 12:10:03 +02:00
mlx5_rxmode.c net/mlx5: preserve allmulticast flag for flow isolation mode 2018-08-05 08:47:41 +02:00
mlx5_rxq.c ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: fix assert for Tx completion queue count 2018-07-26 14:05:52 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: fix assert for Tx completion queue count 2018-07-26 14:05:52 +02:00
mlx5_rxtx_vec.c net/mlx5: add Multi-Packet Rx support 2018-05-14 22:31:52 +01:00
mlx5_rxtx_vec.h net/mlx5: fix Rx buffer replenishment threshold 2018-07-03 01:35:58 +02:00
mlx5_rxtx.c net/mlx5: fix interrupt completion queue index wrapping 2018-09-10 13:59:03 +02:00
mlx5_rxtx.h net/mlx5: fix interrupt completion queue index wrapping 2018-09-10 13:59:03 +02:00
mlx5_socket.c net/mlx5: fix secondary process resource leakage 2018-08-02 13:15:27 +02:00
mlx5_stats.c net/mlx5: probe all port representors 2018-07-11 15:37:19 +02:00
mlx5_trigger.c net/mlx5: fix queue rollback when starting device 2018-07-26 14:05:52 +02:00
mlx5_txq.c net/mlx5: support 32-bit systems 2018-07-12 14:34:59 +02:00
mlx5_utils.h net/mlx5: add hardware flow debug dump 2018-04-27 18:00:56 +01:00
mlx5_vlan.c align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
mlx5.c mem: allow memseg lists to be marked as external 2018-10-11 10:24:29 +02:00
mlx5.h net/mlx5: add bluefield VF support 2018-09-28 01:41:01 +02:00
rte_pmd_mlx5_version.map mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00