numam-dpdk/drivers/net/mlx5
Suanming Mou 0136df99a9 net/mlx5: reorganize flow API structure
Currently, the rte flow structure is not fully aligned and has some
bits wasted. The members can be optimized and reorganized to save
memory.

1. The drv_type uses only limited bits, change the type to 2 bits what
it needs.

2. Align the hairpin_flow_id, drv_type, fdir, copy_applied to 32 bits.
As hairpin never uses the full 32 bits.

3. __rte_packed helps tight up the structure memory layout.

The optimization totally helps save 14 bytes for the structure.

Signed-off-by: Suanming Mou <suanmingm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
2020-04-21 13:57:09 +02:00
..
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
mlx5_defs.h net/mlx5: add device parameter for MPRQ stride size 2020-04-21 13:57:08 +02:00
mlx5_ethdev.c net/mlx: replace hardcoded value with macro 2020-02-14 12:42:12 +01:00
mlx5_flow_dv.c net/mlx5: optimize flow RSS struct 2020-04-21 13:57:09 +02:00
mlx5_flow_meter.c net/mlx5: allocate meter from indexed pool 2020-04-21 13:57:09 +02:00
mlx5_flow_verbs.c net/mlx5: optimize flow RSS struct 2020-04-21 13:57:09 +02:00
mlx5_flow.c net/mlx5: allocate flow API from indexed pool 2020-04-21 13:57:09 +02:00
mlx5_flow.h net/mlx5: reorganize flow API structure 2020-04-21 13:57:09 +02:00
mlx5_mac.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_mp.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_mr.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_mr.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rss.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5_rxmode.c net/mlx5: reduce Netlink commands dependencies 2020-02-05 09:51:20 +01:00
mlx5_rxq.c net/mlx5: convert hrxq to indexed 2020-04-21 13:57:09 +02:00
mlx5_rxtx_vec_altivec.h net/mlx5: prefetch CQEs for a faster decompression 2020-04-21 13:57:05 +02:00
mlx5_rxtx_vec_neon.h net/mlx5: prefetch CQEs for a faster decompression 2020-04-21 13:57:05 +02:00
mlx5_rxtx_vec_sse.h net/mlx5: prefetch CQEs for a faster decompression 2020-04-21 13:57:05 +02:00
mlx5_rxtx_vec.c replace cold attributes 2020-04-16 18:30:58 +02:00
mlx5_rxtx_vec.h common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rxtx.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_rxtx.h net/mlx5: convert hrxq to indexed 2020-04-21 13:57:09 +02:00
mlx5_socket.c net/mlx5: replace destructor syntax with common macro 2020-04-16 18:07:29 +02:00
mlx5_stats.c net/mlx5: use open/read/close for ib stats query 2020-04-21 13:57:07 +02:00
mlx5_trigger.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_txq.c common/mlx5: refactor memory management 2020-04-21 13:57:08 +02:00
mlx5_utils.c net/mlx5: add trunk release for indexed pool 2020-04-21 13:57:09 +02:00
mlx5_utils.h net/mlx5: add trunk release for indexed pool 2020-04-21 13:57:09 +02:00
mlx5_vlan.c common/mlx5: improve assert control 2020-02-05 09:51:21 +01:00
mlx5.c net/mlx5: reorganize flow API structure 2020-04-21 13:57:09 +02:00
mlx5.h net/mlx5: allocate flow API from indexed pool 2020-04-21 13:57:09 +02:00
rte_pmd_mlx5_version.map net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00
rte_pmd_mlx5.h net/mlx5: support fine grain dynamic flag 2020-02-05 09:51:20 +01:00