]> git.baikalelectronics.ru Git - kernel.git/commit
qed: optimize common chain accessors
authorAlexander Lobakin <alobakin@marvell.com>
Wed, 22 Jul 2020 22:10:40 +0000 (01:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 01:19:03 +0000 (18:19 -0700)
commit3cf4c69903241ac8aa458858b8f6110e0e73f789
tree4ec58c69ab830daa9635aa24d40c08fe139f9682
parent74fc97b433aab2311cce89cb90660bc9f133f714
qed: optimize common chain accessors

Constify chain pointers and refactor qed_chain_get_elem_left{,u32}() a bit.

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>
include/linux/qed/qed_chain.h