Home
last modified time | relevance | path

Searched hist:ef6af7bdb9e6c14eae8dc5fe852aefe1e089c85c (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/iucv/
H A Daf_iucv.hdiff ef6af7bdb9e6c14eae8dc5fe852aefe1e089c85c Thu Jan 28 05:41:06 CST 2021 Julian Wiedmann <jwi@linux.ibm.com> net/af_iucv: count packets in the xmit path

The TX code keeps track of all skbs that are in-flight but haven't
actually been sent out yet. For native IUCV sockets that's not a huge
deal, but with TRANS_HIPER sockets it would be much better if we
didn't need to maintain a list of skb clones.

Note that we actually only care about the _count_ of skbs in this stage
of the TX pipeline. So as prep work for removing the skb tracking on
TRANS_HIPER sockets, keep track of the skb count in a separate variable
and pair any list {enqueue, unlink} with a count {increment, decrement}.

Then replace all occurences where we currently look at the skb list's
fill level.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
/openbmc/linux/net/iucv/
H A Daf_iucv.cdiff ef6af7bdb9e6c14eae8dc5fe852aefe1e089c85c Thu Jan 28 05:41:06 CST 2021 Julian Wiedmann <jwi@linux.ibm.com> net/af_iucv: count packets in the xmit path

The TX code keeps track of all skbs that are in-flight but haven't
actually been sent out yet. For native IUCV sockets that's not a huge
deal, but with TRANS_HIPER sockets it would be much better if we
didn't need to maintain a list of skb clones.

Note that we actually only care about the _count_ of skbs in this stage
of the TX pipeline. So as prep work for removing the skb tracking on
TRANS_HIPER sockets, keep track of the skb count in a separate variable
and pair any list {enqueue, unlink} with a count {increment, decrement}.

Then replace all occurences where we currently look at the skb list's
fill level.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>