summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2017-05-28 10:58:40 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-24 16:02:58 +0300
commit8ebabaa02fe13e534ae5b0a8aa495762c25ef279 (patch)
treee5313d092847deee51835cf8e5c80dc6f5790dbe /include/uapi/linux
parent09800305504432eb00b8504645c05ac589f1c02c (diff)
downloadcachepc-linux-8ebabaa02fe13e534ae5b0a8aa495762c25ef279.tar.gz
cachepc-linux-8ebabaa02fe13e534ae5b0a8aa495762c25ef279.zip
net/mlx5: Convert linear search for free index to ida
When allocating a flow table entry, we need to allocate a free index in the flow group. Currently, this is done by traversing the existing flow table entries in the flow group, until a free index is found. Replacing this by using a ida, which allows us to find a free index much faster. Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions