diff options
author | Gerhard Engleder <[email protected]> | 2024-01-31 21:54:34 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-02-05 11:15:19 +0000 |
commit | 1e08223272c7bd5b26196389fab3892ba9942be3 (patch) | |
tree | 84e6ea2a7fd58233cf4add4aaeae95b7579f8490 /lib/string_helpers.c | |
parent | 89304f91bf8efe832557b00f034493420f16dbdb (diff) |
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 <[email protected]>
Signed-off-by: Gerhard Engleder <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions