diff options
author | Erez Shitrit <erezsh@mellanox.com> | 2017-10-19 07:56:42 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-25 13:36:50 -0400 |
commit | 2c104ea68350b7f49c4ae207afa6e7f7f5c81546 (patch) | |
tree | 3d861c8c90508e1327d5dd1ca2eae7224e8bfd4d /drivers/media/dvb-core | |
parent | 5556176d8cb33652c702c3b6a629b4e1a0dd2a80 (diff) |
IB/ipoib: Get rid of the tx_outstanding variable in all modes
The first step toward using NAPI in the UD/TX flow is to separate
between two flows, the NAPI and the xmit, meaning no use of shared
variables between both flows.
This patch takes out the tx_outstanding variable that was used in both
flows and instead the driver uses the 2 cyclic ring variables: tx_head
and tx_tail, tx_head used in the xmit flow and tx_tail in the NAPI flow.
Cc: Kamal Heib <kamalh@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/media/dvb-core')
0 files changed, 0 insertions, 0 deletions