summaryrefslogtreecommitdiff
path: root/drivers/net/qede/qede_rxtx.c
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2017-06-07 10:35:06 +0530
committerThomas Monjalon <thomas@monjalon.net>2017-06-14 23:54:13 +0200
commit98a7ea332ba3da0f74ec951595d36a616165b255 (patch)
treeb01c01b178e2da9305cf0dc77b071841d3dceddb /drivers/net/qede/qede_rxtx.c
parenteb0082450f8e6f5206c1ceaeb00f88f87663c19d (diff)
downloaddpdk-98a7ea332ba3da0f74ec951595d36a616165b255.zip
dpdk-98a7ea332ba3da0f74ec951595d36a616165b255.tar.gz
dpdk-98a7ea332ba3da0f74ec951595d36a616165b255.tar.xz
fix typos using codespell utility
Fixing typos across dpdk source code using codespell utility. Skipped the ethdev driver's base code fixes to keep the base code intact. Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: John McNamara <john.mcnamara@intel.com>
Diffstat (limited to 'drivers/net/qede/qede_rxtx.c')
-rw-r--r--drivers/net/qede/qede_rxtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c
index 1633b91..f65c833 100644
--- a/drivers/net/qede/qede_rxtx.c
+++ b/drivers/net/qede/qede_rxtx.c
@@ -1478,7 +1478,7 @@ qede_xmit_prep_pkts(__rte_unused void *p_txq, struct rte_mbuf **tx_pkts,
break;
}
#endif
- /* TBD: pseudo csum calcuation required iff
+ /* TBD: pseudo csum calcuation required if
* ETH_TX_DATA_2ND_BD_L4_PSEUDO_CSUM_MODE not set?
*/
ret = rte_net_intel_cksum_prepare(m);
@@ -1651,7 +1651,7 @@ qede_xmit_pkts(void *p_txq, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
1 << ETH_TX_1ST_BD_FLAGS_L4_CSUM_SHIFT;
if (ipv6_ext_flg) {
- /* TBD: check pseudo csum iff tx_prepare not called? */
+ /* TBD: check pseudo csum if tx_prepare not called? */
bd2_bf1 |= ETH_L4_PSEUDO_CSUM_ZERO_LENGTH <<
ETH_TX_DATA_2ND_BD_L4_PSEUDO_CSUM_MODE_SHIFT;
}