common/cnxk: support SMQ flush
authorSatha Rao <skoteshwar@marvell.com>
Wed, 22 Sep 2021 06:11:42 +0000 (02:11 -0400)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Sep 2021 10:06:39 +0000 (12:06 +0200)
commit8cfde95de756d00b059c4a5e8c7c56a6d0b3a9bd
tree35397f6ab84937fb9bf87eec00195603bab829ef
parent457d07749577d8990b052e8eb79103cae0a41f59
common/cnxk: support SMQ flush

Each NIX interface had one or more SMQs connected to SQs to send
packets. When flush enabled on SMQ, hardware will push all packets
from SMQ to physical link. This API will enable flush on all SMQs
of an interface.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/hw/nix.h
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_tm_ops.c
drivers/common/cnxk/version.map