diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2017-01-12 16:19:29 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-11-04 21:27:01 -0700 |
commit | 21b9c1449d21f347e57ba5e69eec460066e5182a (patch) | |
tree | ce380637b085137f9e32ebcee322ee8b1bf402ae /usr/.gitignore | |
parent | 5da8bc3effb61f0f165ca45c80f4818a234c9f91 (diff) |
net/mlx5: Enlarge the NIC TC offload table size
The NIC TC offload table size was hard coded to 1k. Change it to be
min(max NIC RX table size,
min(max flow counters, 64k) * num flow groups)
where the max values are read from the firmware and the number of
flow groups is hard-coded as before this change.
We don't know upfront the division of flows to groups (== different masks).
This setup allows each group to be of size up to the where we want to go
(when supported, all offloaded flows use counters). Thus, we don't expect
multiple occurences for a group which in turn would add steering hops.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions