event/cnxk: add macros to set eventdev operations
authorShijith Thotton <sthotton@marvell.com>
Thu, 2 Sep 2021 14:41:50 +0000 (20:11 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Mon, 6 Sep 2021 19:46:34 +0000 (21:46 +0200)
commitfa71c328d1d7cf11531a7688fe679ef61f81ec7d
treeaacd1f36e5ea5be41b1d9f2f35309fee011711f1
parent64a1029a016046bfd76e06b27a061aaca254fe5a
event/cnxk: add macros to set eventdev operations

Added a common macro to set eventdev enqueue and
dequeue operations to reduce code.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/event/cnxk/cn10k_eventdev.c
drivers/event/cnxk/cn9k_eventdev.c