]> git.baikalelectronics.ru Git - kernel.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)
commit6c9d235d3caadb559ccb2ffddee25103bac4186b
treeadb33b3d631593641aadbd245727aa44c1719741
parent8e1a554f047239972a97f8f7eba5b771c3b0020d
parentd46ffcfe8471a6a032b63c972e6bf5b828abfd16
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>