aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorOr Gerlitz <[email protected]>2017-01-12 16:19:29 +0200
committerSaeed Mahameed <[email protected]>2017-11-04 21:27:01 -0700
commit21b9c1449d21f347e57ba5e69eec460066e5182a (patch)
treece380637b085137f9e32ebcee322ee8b1bf402ae /net/switchdev/switchdev.c
parent5da8bc3effb61f0f165ca45c80f4818a234c9f91 (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 <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions