WSL2-Linux-Kernel/include/linux/qed
Alexander Lobakin be0cec6ffd qed: introduce qed_chain_get_elem_used{,u32}()
Add reverse-variants of qed_chain_get_elem_left{,u32}() to be able to
know current chain occupation. They will be used in the upcoming qede
XDP_REDIRECT code.
They share most of the logics with the mentioned ones, so were reused
to collapse the latters.

Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-22 18:19:03 -07:00
..
common_hsi.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
eth_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
fcoe_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
iscsi_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
iwarp_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_chain.h qed: introduce qed_chain_get_elem_used{,u32}() 2020-07-22 18:19:03 -07:00
qed_eth_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_fcoe_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_if.h qed: simplify chain allocation with init params struct 2020-07-22 18:19:03 -07:00
qed_iov_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_iscsi_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_ll2_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qed_rdma_if.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
qede_rdma.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
rdma_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
roce_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
storage_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00
tcp_common.h net: qed: update copyright years 2020-06-30 15:51:40 -07:00