summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorOr Gerlitz2016-12-20 11:38:05 +0100
committerSaeed Mahameed2017-01-24 20:14:03 +0100
commit264d7bf3c1cfd3a128d621b367f57b81d038ba10 (patch)
tree10dcda1d2370d97910f21447b4f5857c8685ae8d /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5e: Support SRIOV TC encapsulation offloads for IPv6 tunnels (diff)
downloadkernel-qcow2-linux-264d7bf3c1cfd3a128d621b367f57b81d038ba10.tar.gz
kernel-qcow2-linux-264d7bf3c1cfd3a128d621b367f57b81d038ba10.tar.xz
kernel-qcow2-linux-264d7bf3c1cfd3a128d621b367f57b81d038ba10.zip
net/mlx5: E-Switch, Enlarge the FDB size for the switchdev mode
The E-Switch FDB size was hard coded to 8k. Change it to be min(max eswitch table size, max flow counters * 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 group. This setup allows each group to be of size up to the where we want to support (we mandate pairing of flows with counters for offloading). Thus, we don't expect multiple occurences for a group which in turn adds steering hops. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Tested-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions