]> git.baikalelectronics.ru Git - kernel.git/commit
mlxbf_gige: increase MDIO polling rate to 5us
authorDavid Thompson <davthompson@nvidia.com>
Thu, 5 May 2022 16:23:09 +0000 (12:23 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 May 2022 22:54:20 +0000 (15:54 -0700)
commit03551d69c8b94163bb8b17b18668ed02b63a8f17
tree58a31f62cc721ab5441b6a2d1b459accd03e4d7a
parent79674fe5e727b74c4eecfd5681aab4b0b4f8fcf3
mlxbf_gige: increase MDIO polling rate to 5us

This patch increases the polling rate used by the
mlxbf_gige driver on the MDIO bus.  The previous
polling rate was every 100us, and the new rate is
every 5us.  With this change the amount of time
spent waiting for the MDIO BUSY signal to de-assert
drops from ~100us to ~27us for each operation.

Signed-off-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Link: https://lore.kernel.org/r/20220505162309.20050-1-davthompson@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_mdio.c