Skip to content

Commit

Permalink
net/iavf: fix indent in Tx path
Browse files Browse the repository at this point in the history
[ upstream commit dbdbb1310ff2a39e215d28d326ba2261d174eee9 ]

Fix confusing indentations.

Fixes: 1e728b0 ("net/iavf: rework Tx path")
Fixes: 6bc987e ("net/iavf: support IPsec inline crypto")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
  • Loading branch information
david-marchand authored and kevintraynor committed Nov 16, 2023
1 parent 820e8fc commit 9e228c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/iavf/iavf_rxtx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2672,7 +2672,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
txe->last_id = desc_idx_last;
desc_idx = txe->next_id;
txe = txn;
}
}

if (nb_desc_ipsec) {
volatile struct iavf_tx_ipsec_desc *ipsec_desc =
Expand All @@ -2685,7 +2685,7 @@ iavf_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
if (txe->mbuf) {
rte_pktmbuf_free_seg(txe->mbuf);
txe->mbuf = NULL;
}
}

iavf_fill_ipsec_desc(ipsec_desc, ipsec_md, &ipseclen);

Expand Down

0 comments on commit 9e228c5

Please sign in to comment.