tsnep: Fix NAPI scheduling
authorGerhard Engleder <gerhard@engleder-embedded.com>
Fri, 15 Sep 2023 21:01:24 +0000 (23:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 09:42:36 +0000 (10:42 +0100)
commitea852c17f5382a0a52041cfbd9a4451ae0fa1a38
tree56505248394df4cbe8ca16b23f4a5c779846f79d
parentaf21b94b91b941fb25341785758af91823a0716f
tsnep: Fix NAPI scheduling

According to the NAPI documentation networking/napi.rst, drivers which
have to mask interrupts explicitly should use the napi_schedule_prep()
and __napi_schedule() calls.

No problem seen so far with current implementation. Nevertheless, let's
align the implementation with documentation.

Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/engleder/tsnep_main.c