diff options
author | Vadim Fedorenko <vfedorenko@novek.ru> | 2022-09-22 22:10:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-23 01:37:45 +0300 |
commit | 8db3d514e96715c897fe793c4d5fc0fd86aca517 (patch) | |
tree | 8e56ace86234b2854e2171c9fd260d4f57bfb45d /net/tls | |
parent | 0140a7168f8b2732f622fa2c500f1f8be212382a (diff) | |
download | linux-8db3d514e96715c897fe793c4d5fc0fd86aca517.tar.xz |
bnxt_en: replace reset with config timestamps
Any change to the hardware timestamps configuration triggers nic restart,
which breaks transmition and reception of network packets for a while.
But there is no need to fully restart the device because while configuring
hardware timestamps. The code for changing configuration runs after all
of the initialisation, when the NIC is actually up and running. This patch
changes the code that ioctl will only update configuration registers and
will not trigger carrier status change, but in case of timestamps for
all rx packetes it fallbacks to close()/open() sequnce because of
synchronization issues in the hardware. Tested on BCM57504.
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/20220922191038.29921-1-vfedorenko@novek.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions