]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Merge branch 'xsk: another round of fixes'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 29 Mar 2022 02:56:28 +0000 (19:56 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Mar 2022 02:56:35 +0000 (19:56 -0700)
commit9e928831113c64087fb173dd241fa97812e49490
treeadb33b3d631593641aadbd245727aa44c1719741
parent7df482e62282fb7839b033e332446f75b94e21c4
parent1ac2524de7b366633fc336db6c94062768d0ab03
Merge branch 'xsk: another round of fixes'

Maciej Fijalkowski says:

====================

Hello,

yet another fixes for XSK from Magnus and me.

Magnus addresses the fact that xp_alloc() can return NULL, so this needs
to be handled to avoid clearing entries in the SW ring on driver side.
Then he addresses the off-by-one problem in Tx desc cleaning routine for
ice ZC driver.

From my side, I am adding protection to ZC Rx processing loop so that
cleaning of descriptors wouldn't go over already processed entries.
Then I also fix an issue with assigning XSK pool to Tx queues.

This is directed to bpf tree.

Thanks!

Maciej Fijalkowski (2):
  ice: xsk: stop Rx processing when ntc catches ntu
  ice: xsk: fix indexing in ice_tx_xsk_pool()
====================

Acked-by: Alexander Lobakin <alexandr.lobakin@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>