aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memset.c
diff options
context:
space:
mode:
authorShailend Chand <[email protected]>2024-05-01 23:25:44 +0000
committerDavid S. Miller <[email protected]>2024-05-05 14:35:34 +0100
commit864616d97a4505a719d5f67c29d31776038d39ef (patch)
tree46edda4c0c5b33f89f0d3d6ddba8963f41a3cd33 /lib/test_fortify/write_overflow-memset.c
parent5abc37bdcbc5a32f7c5cb21f5c0334cbf0e81752 (diff)
gve: Make gve_turnup work for nonempty queues
gVNIC has a requirement that all queues have to be quiesced before any queue is operated on (created or destroyed). To enable the implementation of future ndo hooks that work on a single queue, we need to evolve gve_turnup to account for queues already having some unprocessed descriptors in the ring. Say rxq 4 is being stopped and started via the queue api. Due to gve's requirement of quiescence, queues 0 through 3 are not processing their rings while queue 4 is being toggled. Once they are made live, these queues need to be poked to cause them to check their rings for descriptors that were written during their brief period of quiescence. Tested-by: Mina Almasry <[email protected]> Reviewed-by: Praveen Kaligineedi <[email protected]> Reviewed-by: Harshitha Ramamurthy <[email protected]> Signed-off-by: Shailend Chand <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memset.c')
0 files changed, 0 insertions, 0 deletions