aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mdio.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-01-30 10:46:34 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-02-23 12:36:38 -0800
commitf80be5436de78d0231cfb79b368edb9b90c3b057 (patch)
tree2c2ddba5eb70320e4dac6e81429babdd8c3ee29a /drivers/net/mdio.c
parentnet/mlx5: E-Switch, Increase number of FTEs in FDB in switchdev mode (diff)
downloadlinux-dev-f80be5436de78d0231cfb79b368edb9b90c3b057.tar.xz
linux-dev-f80be5436de78d0231cfb79b368edb9b90c3b057.zip
net/mlx5: E-Switch, Optimize HW steering tables in switchdev mode
Under switchdev mode we insert an eswitch miss rule causing any unmatched traffic to be sent towards the PF vport. This miss rule can be optimized if we break it to two, one case is for multicast traffic and the other for unicast. Breaking the miss rule into two (unicast and multicast) allows the firmware to program the hardware in a more efficient way. Using ConncetX-5 Ex with IXIA and testpmd (which use IB representors): IXIA -> NIC -> PF -> IB representor -> NIC -> VF: - Without this optimization: 9.2 MPPS. - With this optimization: 18 MPPS. VF -> NIC -> IB representor-> PF -> NIC -> IXIA: - Without this optimization: 17 MPPS. - With this optimization: 23.4 MPPS. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/mdio.c')
0 files changed, 0 insertions, 0 deletions