diff options
author | Alexander Lobakin <alobakin@marvell.com> | 2020-07-23 01:10:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 04:19:03 +0300 |
commit | be0cec6ffd686364bbba2796bbe5eee2fad18181 (patch) | |
tree | a18079609fee07db3de80ffe4aaf1b7eb48bd520 /Documentation/leds/leds-mlxcpld.rst | |
parent | f2aefd20b02d83b8565c867c38eedd88853967e9 (diff) | |
download | linux-be0cec6ffd686364bbba2796bbe5eee2fad18181.tar.xz |
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>
Diffstat (limited to 'Documentation/leds/leds-mlxcpld.rst')
0 files changed, 0 insertions, 0 deletions