]> git.droids-corp.org - dpdk.git/commit
net/cnxk: avoid command copy from Tx queue
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 10 Feb 2022 13:15:26 +0000 (18:45 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 11 Feb 2022 10:28:30 +0000 (11:28 +0100)
commitae2c2cb606354d445cfabaacfa6ec8e1bc74fe38
treeaa6f796fa0586677bdcda899e08b272050a4e699
parent984b99d6fea2c7eb9063e28522957ce825e9261c
net/cnxk: avoid command copy from Tx queue

Tx command is prepared based on offloads enabled and stored in
Tx queue structure at tx_queue_setup phase.
In fastpath the command is copied from Tx queue to LMT line for
all the packets.
Since, the command contents are mostly constants we can move the
command preparation to fastpath and avoid accessing Tx queue
memory.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
16 files changed:
drivers/common/cnxk/roc_io.h
drivers/common/cnxk/roc_io_generic.h
drivers/crypto/cnxk/cn9k_cryptodev_ops.c
drivers/crypto/cnxk/cn9k_ipsec.c
drivers/event/cnxk/cn10k_eventdev.c
drivers/event/cnxk/cn10k_worker.h
drivers/event/cnxk/cn9k_eventdev.c
drivers/event/cnxk/cn9k_worker.h
drivers/event/cnxk/cnxk_eventdev.h
drivers/event/cnxk/cnxk_eventdev_adptr.c
drivers/net/cnxk/cn10k_ethdev.c
drivers/net/cnxk/cn10k_ethdev.h
drivers/net/cnxk/cn10k_tx.h
drivers/net/cnxk/cn9k_ethdev.c
drivers/net/cnxk/cn9k_ethdev.h
drivers/net/cnxk/cn9k_tx.h