common/cnxk: get head and tail of Rx and Tx queues
authorRahul Bhansali <rbhansali@marvell.com>
Wed, 19 Jan 2022 09:43:26 +0000 (15:13 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 20 Jan 2022 06:37:33 +0000 (07:37 +0100)
commit09e1df73918f44634909781e6a5278e73eb4b5c5
tree52fdd578d96cca3b69ed02b0cf3cc86d8907f3fa
parentc923dbbf9225ae4447b552f102981e135d2d0574
common/cnxk: get head and tail of Rx and Tx queues

Adds roc APIs roc_nix_cq_head_tail_get(), roc_nix_sq_head_tail_get()
to get tail and head of receive and transmit queue respectively.

Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_queue.c
drivers/common/cnxk/version.map