]> git.droids-corp.org - dpdk.git/commit
net/mlx5: reduce flex item flow handle size
authorGregory Etelson <getelson@nvidia.com>
Mon, 28 Feb 2022 10:01:24 +0000 (12:01 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 2 Mar 2022 10:24:36 +0000 (11:24 +0100)
commitcfe337e7157e7b8f9e3d136f5a1882d2af8a1dc0
treeec3955e8a4aad15470015b0a1ed58428b0554ffe
parentdf4986559f24fbf669aeaa33e5e23563f7fc90b3
net/mlx5: reduce flex item flow handle size

Reduce flex item flow handle size from 32 bits to 8 bits for each
flow.
The patch will save memory in setups with millions of flows.

Fixes: a23e9b6e3ee9 ("net/mlx5: handle flex item in flows")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c