net/cnxk: remove unnecessary DPTR update
Removed unnecessary datapointer(DPTR) update and remove ESN update from microcode command word 0 based on the latest microcode. Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
This commit is contained in:
parent
28b3ca7b9c
commit
ea84910903
@ -718,7 +718,6 @@ cn9k_sso_hws_xmit_sec_one(const struct cn9k_eth_txq *txq, uint64_t base,
|
||||
esn = outb_priv->esn;
|
||||
outb_priv->esn = esn + 1;
|
||||
|
||||
ucode_cmd[0] |= (esn >> 32) << 16;
|
||||
esn_lo = rte_cpu_to_be_32(esn & (BIT_ULL(32) - 1));
|
||||
esn_hi = rte_cpu_to_be_32(esn >> 32);
|
||||
|
||||
|
@ -422,8 +422,6 @@ cn10k_nix_prep_sec_vec(struct rte_mbuf *m, uint64x2_t *cmd0, uint64x2_t *cmd1,
|
||||
CNXK_ETHDEV_SEC_OUTB_EV_SUB << 20), cmd23, 0);
|
||||
cmd23 = vsetq_lane_u64((uintptr_t)m | 1, cmd23, 1);
|
||||
|
||||
dptr += l2_len;
|
||||
|
||||
/* Move to our line */
|
||||
laddr = LMT_OFF(lbase, *lnum, *loff ? 64 : 0);
|
||||
|
||||
@ -564,8 +562,6 @@ cn10k_nix_prep_sec(struct rte_mbuf *m, uint64_t *cmd, uintptr_t *nixtx_addr,
|
||||
CNXK_ETHDEV_SEC_OUTB_EV_SUB << 20), cmd23, 0);
|
||||
cmd23 = vsetq_lane_u64((uintptr_t)m | 1, cmd23, 1);
|
||||
|
||||
dptr += l2_len;
|
||||
|
||||
/* Move to our line */
|
||||
laddr = LMT_OFF(lbase, *lnum, *loff ? 64 : 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user