diff options
| author | Alan Brady <[email protected]> | 2024-02-22 19:04:40 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-03-04 17:48:33 +0000 |
| commit | 4f5126a075c415044d36e9e6948a8a3a43e97ad0 (patch) | |
| tree | d397d3140fff31c6c44b46946f749e18c12c9c30 /tools/net/ynl/cli.py | |
| parent | idpf: prevent deinit uninitialized virtchnl core (diff) | |
| download | kernel-4f5126a075c415044d36e9e6948a8a3a43e97ad0.tar.gz kernel-4f5126a075c415044d36e9e6948a8a3a43e97ad0.zip | |
idpf: fix minor controlq issues
While we're here improving virtchnl we can include two minor fixes for
the lower level ctrlq flow.
This adds a memory barrier to idpf_post_rx_buffs before we update tail
on the controlq. We should make sure our writes have had a chance to
finish before we tell HW it can touch them.
This also removes some defensive programming in idpf_ctrlq_recv. The
caller should not be using a num_q_msg value of zero or more than the
ring size and it's their responsibility to call functions sanely.
Tested-by: Alexander Lobakin <[email protected]>
Signed-off-by: Alan Brady <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/net/ynl/cli.py')
0 files changed, 0 insertions, 0 deletions
