ring: fix bulk enqueue for HTS/RTS ring modes
authorFeifei Wang <feifei.wang2@arm.com>
Wed, 10 Jun 2020 05:57:04 +0000 (13:57 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 1 Jul 2020 08:41:19 +0000 (10:41 +0200)
commitc8d909aeb754e737f603023e66152f87bbec6dbc
tree28f59283a6c4bc99803cb12c088bf4fedb547817
parent50959a899374cec9852eea3cd7dd638ee2d560ec
ring: fix bulk enqueue for HTS/RTS ring modes

Remove the unwanted call to "_rte_ring_do_enqueue_elem" to allow for
correct handling of RTS/HTS modes.

Fixes: e6ba4731c0f3 ("ring: introduce RTS ring mode")

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ring/rte_ring_elem.h