diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2024-01-31 21:54:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-05 12:15:19 +0100 |
commit | 1e08223272c7bd5b26196389fab3892ba9942be3 (patch) | |
tree | 84e6ea2a7fd58233cf4add4aaeae95b7579f8490 /drivers/rtc/rtc-lpc24xx.c | |
parent | sctp: preserve const qualifier in sctp_sk() (diff) | |
download | linux-1e08223272c7bd5b26196389fab3892ba9942be3.tar.xz linux-1e08223272c7bd5b26196389fab3892ba9942be3.zip |
tsnep: Add helper for RX XDP_RING_NEED_WAKEUP flag
Similar chunk of code is used in tsnep_rx_poll_zc() and
tsnep_rx_reopen_xsk() to maintain the RX XDP_RING_NEED_WAKEUP flag.
Consolidate the code to common helper function.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-lpc24xx.c')
0 files changed, 0 insertions, 0 deletions