Fix various typos found by Lintian
Subsystems (2)
PATCH 1/1 Fix various typos found by Lintian
From: Luca Boccassi <[email protected]>
---
Debian's linter is getting more and more annoy^^smart and now parses binaries for typos too - CC stable to get it off my back in the next release
app/test-pmd/cmdline.c | 4 ++-- app/test/test_mbuf.c | 2 +- doc/guides/nics/mlx5.rst | 2 +- doc/guides/vdpadevs/mlx5.rst | 2 +- drivers/common/octeontx2/hw/otx2_npc.h | 4 ++-- drivers/compress/octeontx/otx_zip_pmd.c | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- drivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 4 ++-- drivers/net/cxgbe/cxgbe_flow.c | 2 +- drivers/net/dpaa2/dpaa2_flow.c | 4 ++-- drivers/net/dpaa2/dpaa2_mux.c | 2 +- drivers/net/hinic/base/hinic_pmd_mbox.c | 2 +- drivers/net/i40e/base/i40e_nvm.c | 2 +- drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/pfe/pfe_ethdev.c | 2 +- drivers/net/qede/base/ecore_iov_api.h | 2 +- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/sfc/sfc_ef10_tx.c | 2 +- examples/vmdq/main.c | 2 +- examples/vmdq_dcb/main.c | 2 +- lib/librte_eal/common/include/arch/x86/rte_atomic.h | 2 +- lib/librte_eal/linux/eal/eal.c | 2 +- lib/librte_ipsec/sa.h | 2 +- lib/librte_mbuf/rte_mbuf_core.h | 2 +- 26 files changed, 30 insertions(+), 30 deletions(-)
app/test-pmd/cmdline.c +2 -2
@@ -95,7 +95,7 @@ static void cmd_help_brief_parsed(__attribute__((unused)) void *parsed_result," help ports : Configuring ports.\n" " help registers : Reading and setting port registers.\n" " help filters : Filters configuration help.\n" -" help traffic_management : Traffic Management commmands.\n" +" help traffic_management : Traffic Management commands.\n" " help devices : Device related cmds.\n" " help all : All of the above sections.\n\n" );
@@ -5131,7 +5131,7 @@ cmd_gso_size_parsed(void *parsed_result,if (test_done ==0 ) {printf ("Before setting GSO segsz, please first" -" stop fowarding\n" ); +" stop forwarding\n" );return ; }
app/test/test_mbuf.c +1 -1
@@ -1157,7 +1157,7 @@ test_refcnt_mbuf(void) tref += refcnt_lcore[slave];if (tref != refcnt_lcore[master]) -rte_panic ("refernced mbufs: %u, freed mbufs: %u\n" , +rte_panic ("referenced mbufs: %u, freed mbufs: %u\n" , tref, refcnt_lcore[master]);rte_mempool_dump (stdout, refcnt_pool);
doc/guides/nics/mlx5.rst +1 -1
@@ -35,7 +35,7 @@ operations such as querying/updating the MTU and flow control parameters. For security reasons and robustness, this driver only deals with virtual memory addresses. The way resources allocations are handled by the kernel, -combined with hardware specifications that allow to handle virtual memory +combined with hardware specifications that allow one to handle virtual memory addresses directly, ensure that DPDK applications cannot access random physical memory (or memory that does not belong to the current process).
doc/guides/vdpadevs/mlx5.rst +1 -1
@@ -25,7 +25,7 @@ Design For security reasons and robustness, this driver only deals with virtual memory addresses. The way resources allocations are handled by the kernel, -combined with hardware specifications that allow to handle virtual memory +combined with hardware specifications that allow one to handle virtual memory addresses directly, ensure that DPDK applications cannot access random physical memory (or memory that does not belong to the current process).
drivers/common/octeontx2/hw/otx2_npc.h +2 -2
@@ -213,7 +213,7 @@ enum npc_kpu_lc_ltype { NPC_LT_LC_FCOE, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_ld_ltype {
@@ -260,7 +260,7 @@ enum npc_kpu_lg_ltype { NPC_LT_LG_TU_ETHER_IN_NSH, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_lh_ltype {
drivers/compress/octeontx/otx_zip_pmd.c +1 -1
@@ -406,7 +406,7 @@ zip_pmd_qp_setup(struct rte_compressdev *dev, uint16_t qp_id, qp->name = name; -/* Create completion queue upto max_inflight_ops */ +/* Create completion queue up to max_inflight_ops */ qp->processed_pkts =zip_pmd_qp_create_processed_pkts_ring (qp, max_inflight_ops, socket_id);if (qp->processed_pkts ==NULL )
drivers/event/dpaa2/dpaa2_eventdev.c +1 -1
@@ -391,7 +391,7 @@ dpaa2_eventdev_info_get(struct rte_eventdev *dev, dev_info->max_event_priority_levels =DPAA2_EVENT_MAX_EVENT_PRIORITY_LEVELS ; dev_info->max_event_ports =rte_fslmc_get_device_count (DPAA2_IO ); -/* we only support dpio upto number of cores*/ +/* we only support dpio up to number of cores*/ if (dev_info->max_event_ports >rte_lcore_count ()) dev_info->max_event_ports =rte_lcore_count (); dev_info->max_event_port_dequeue_depth =
drivers/net/bnxt/bnxt_ethdev.c +1 -1
@@ -1519,7 +1519,7 @@ static int bnxt_rss_hash_conf_get_op(struct rte_eth_dev *eth_dev, }if (hash_types) {PMD_DRV_LOG (ERR , -"Unknwon RSS config from firmware (%08x), RSS disabled" , +"Unknown RSS config from firmware (%08x), RSS disabled" , vnic->hash_type);return -ENOTSUP ; }
drivers/net/bonding/rte_eth_bond_pmd.c +2 -2
@@ -198,7 +198,7 @@ bond_ethdev_8023ad_flow_verify(struct rte_eth_dev *bond_dev,if (slave_info.max_rx_queues < bond_dev->data->nb_rx_queues || slave_info.max_tx_queues < bond_dev->data->nb_tx_queues) {RTE_BOND_LOG (ERR , -"%s: Slave %d capabilities doesn't allow to allocate additional queues" , +"%s: Slave %d capabilities doesn't allow one to allocate additional queues" , __func__, slave_port);return -1 ; }
@@ -3230,7 +3230,7 @@ bond_alloc(struct rte_vdev_device *dev, uint8_t mode) internals->candidate_max_rx_pktlen =0 ; internals->max_rx_pktlen =0 ; -/* Initially allow to choose any offload type */ +/* Initially allow one to choose any offload type */ internals->flow_type_rss_offloads =ETH_RSS_PROTO_MASK ; memset(&internals->default_rxconf, 0,
drivers/net/cxgbe/cxgbe_flow.c +1 -1
@@ -230,7 +230,7 @@ ch_rte_parsetype_port(const void *dmask, const struct rte_flow_item *item,if (val->index >0x7 )return rte_flow_error_set (e,EINVAL ,RTE_FLOW_ERROR_TYPE_ITEM , item, -"port index upto 0x7 is supported" ); +"port index up to 0x7 is supported" );CXGBE_FILL_FS (val->index, mask->index, iport);
drivers/net/dpaa2/dpaa2_flow.c +2 -2
@@ -1850,13 +1850,13 @@ struct rte_flow *dpaa2_flow_create(struct rte_eth_dev *dev, key_iova = (size_t )rte_malloc (NULL ,256 ,64 );if (!key_iova) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto mem_failure; } mask_iova = (size_t )rte_malloc (NULL ,256 ,64 );if (!mask_iova) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto mem_failure; }
drivers/net/dpaa2/dpaa2_mux.c +1 -1
@@ -84,7 +84,7 @@ rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, (2 * DIST_PARAM_IOVA_SIZE), RTE_CACHE_LINE_SIZE);if (!flow) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto creation_error; } key_iova = (void *)((size_t )flow +sizeof (struct rte_flow ));
drivers/net/hinic/base/hinic_pmd_mbox.c +1 -1
@@ -872,7 +872,7 @@ static int hinic_func_to_func_init(struct hinic_hwdev *hwdev) err =alloc_mbox_info (func_to_func->mbox_resp);if (err) { -PMD_DRV_LOG (ERR ,"Allocating memory for mailbox responsing failed" ); +PMD_DRV_LOG (ERR ,"Allocating memory for mailbox responding failed" ); goto alloc_mbox_for_resp_err; }
drivers/net/i40e/base/i40e_nvm.c +1 -1
@@ -465,7 +465,7 @@ STATIC enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 off do { /* Calculate number of bytes we should read in this step. - * FVL AQ do not allow to read more than one page at a time or + * FVL AQ do not allow one to read more than one page at a time or * to cross page boundaries. */ if (offset % I40E_SR_SECTOR_SIZE_IN_WORDS)
drivers/net/i40e/i40e_ethdev.c +1 -1
@@ -2051,7 +2051,7 @@ i40e_vsi_queues_bind_intr(struct i40e_vsi *vsi, uint16_t itr_idx)for (i =0 ; i < vsi->nb_used_qps; i++) {if (nb_msix <=1 ) {if (!rte_intr_allow_others (intr_handle)) -/* allow to share MISC_VEC_ID */ +/* allow one to share MISC_VEC_ID */ msix_vect =I40E_MISC_VEC_ID ;/* no enough msix_vect, map all to one */
drivers/net/mlx5/mlx5_rxtx.c +1 -1
@@ -4829,7 +4829,7 @@ mlx5_tx_burst_tmpl(struct mlx5_txq_data *restrict txq,/* * Calculate the number of available resources - elts and WQEs. * There are two possible different scenarios: -* - no data inlining into WQEs, one WQEBB may contains upto +* - no data inlining into WQEs, one WQEBB may contains up to * four packets, in this case elts become scarce resource * - data inlining into WQEs, one packet may require multiple * WQEBBs, the WQEs become the limiting factor.
drivers/net/pfe/pfe_ethdev.c +1 -1
@@ -13,7 +13,7 @@#include "pfe_logs.h" #include "pfe_mod.h" -#define PFE_MAX_MACS 1/*we can support upto 4 MACs per IF*/ +#define PFE_MAX_MACS 1/*we can support up to 4 MACs per IF*/ #define PFE_VDEV_GEM_ID_ARG "intf"struct pfe_vdev_init_params {
drivers/net/qede/base/ecore_iov_api.h +1 -1
@@ -71,7 +71,7 @@ struct ecore_vf_acquire_sw_info {/* We have several close releases that all use ~same FW with different * versions [making it incompatible as the versioning scheme is still -* tied directly to FW version], allow to override the checking. Only +* tied directly to FW version], allow one to override the checking. Only * those versions would actually support this feature [so it would not * break forward compatibility with newer HV drivers that are no longer * suited].
drivers/net/qede/qede_ethdev.c +1 -1
@@ -1100,7 +1100,7 @@ static int qede_dev_start(struct rte_eth_dev *eth_dev)qede_reset_queue_stats (qdev, true);/* Newer SR-IOV PF driver expects RX/TX queues to be started before -* enabling RSS. Hence RSS configuration is deferred upto this point. +* enabling RSS. Hence RSS configuration is deferred up to this point. * Also, we would like to retain similar behavior in PF case, so we * don't do PF/VF specific check here. */
drivers/net/sfc/sfc_ef10_tx.c +1 -1
@@ -406,7 +406,7 @@ sfc_ef10_xmit_tso_pkt(struct sfc_ef10_txq * const txq, struct rte_mbuf *m_seg,if (txq->completed != pkt_start)return ENOSPC ;/* -* Do not allow to send packet if the maximum DMA +* Do not allow one to send packet if the maximum DMA * descriptor space is not sufficient to hold TSO * descriptors, header descriptor and at least 1 * segment descriptor.
examples/vmdq/main.c +1 -1
@@ -178,7 +178,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool) max_nb_pools = (uint32_t )dev_info.max_vmdq_pools;/* -* We allow to process part of VMDQ pools specified by num_pools in +* We allow one to process part of VMDQ pools specified by num_pools in * command line. */ if (num_pools > max_nb_pools) {
examples/vmdq_dcb/main.c +1 -1
@@ -212,7 +212,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool) max_nb_pools = (uint32_t )dev_info.max_vmdq_pools;/* -* We allow to process part of VMDQ pools specified by num_pools in +* We allow one to process part of VMDQ pools specified by num_pools in * command line. */ if (num_pools > max_nb_pools) {
lib/librte_eal/common/include/arch/x86/rte_atomic.h +1 -1
@@ -55,7 +55,7 @@ extern "C" {* * As pointed by Java guys, that makes possible to use lock-prefixed * instructions to get the same effect as mfence and on most modern HW -* that gives a better perfomance then using mfence: +* that gives a better performance then using mfence: * https://shipilev.net/blog/2014/on-the-fence-with-dependencies/ * Basic idea is to use lock prefixed add with some dummy memory location * as the destination. From their experiments 128B(2 cache lines) below
lib/librte_eal/linux/eal/eal.c +1 -1
@@ -1077,7 +1077,7 @@ rte_eal_init(int argc, char **argv)#if defined(RTE_LIBRTE_KNI ) &&LINUX_VERSION_CODE >=KERNEL_VERSION (4 ,10 ,0 ) } else if (rte_eal_check_module("rte_kni") == 1) { iova_mode =RTE_IOVA_PA ; -RTE_LOG (DEBUG ,EAL ,"KNI is loaded, selecting IOVA as PA mode for better KNI perfomance.\n" ); +RTE_LOG (DEBUG ,EAL ,"KNI is loaded, selecting IOVA as PA mode for better KNI performance.\n" );#endif }else if (is_iommu_enabled ()) {/* we have an IOMMU, pick IOVA as VA mode */
lib/librte_ipsec/sa.h +1 -1
@@ -115,7 +115,7 @@ struct rte_ipsec_sa {* sqn and replay window * In case of SA handled by multiple threads *sqn* cacheline * could be shared by multiple cores. -* To minimise perfomance impact, we try to locate in a separate +* To minimise performance impact, we try to locate in a separate * place from other frequently accesed data. */ union {
lib/librte_mbuf/rte_mbuf_core.h +1 -1
@@ -591,7 +591,7 @@ struct rte_mbuf {/** Valid if PKT_RX_TIMESTAMP is set. The unit and time reference * are not normalized but are always the same for a given port. -* Some devices allow to query rte_eth_read_clock that will return the +* Some devices allow one to query rte_eth_read_clock that will return the * current device timestamp. */ uint64_t timestamp;
Signature · 1 line
2.20.1
Quoted 9 lines · On 29/02/2020 16:37, [email protected] wrote:
From: Luca Boccassi <[email protected]>
Signed-off-by Luca Boccassi <[email protected]>---
Debian's linter is getting more and more annoy^^smart and now parses binaries for typos too - CC stable to get it off my back in the next release
Minor: Probably linter is better trained in the Queen's English than me or it could be personal preference, but 'one' seems to be referring to the user and it reads a bit strange for me. e.g.
"Slave %d capabilities doesn't allow one to allocate additional queues" "hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."
as opposed to
"Slave %d capabilities don't allow allocation of additional queues" "hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."
Quoted 401 lines
app/test-pmd/cmdline.c | 4 ++-- app/test/test_mbuf.c | 2 +- doc/guides/nics/mlx5.rst | 2 +- doc/guides/vdpadevs/mlx5.rst | 2 +- drivers/common/octeontx2/hw/otx2_npc.h | 4 ++-- drivers/compress/octeontx/otx_zip_pmd.c | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 2 +- drivers/net/bnxt/bnxt_ethdev.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 4 ++-- drivers/net/cxgbe/cxgbe_flow.c | 2 +- drivers/net/dpaa2/dpaa2_flow.c | 4 ++-- drivers/net/dpaa2/dpaa2_mux.c | 2 +- drivers/net/hinic/base/hinic_pmd_mbox.c | 2 +- drivers/net/i40e/base/i40e_nvm.c | 2 +- drivers/net/i40e/i40e_ethdev.c | 2 +- drivers/net/mlx5/mlx5_rxtx.c | 2 +- drivers/net/pfe/pfe_ethdev.c | 2 +- drivers/net/qede/base/ecore_iov_api.h | 2 +- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/sfc/sfc_ef10_tx.c | 2 +- examples/vmdq/main.c | 2 +- examples/vmdq_dcb/main.c | 2 +- lib/librte_eal/common/include/arch/x86/rte_atomic.h | 2 +- lib/librte_eal/linux/eal/eal.c | 2 +- lib/librte_ipsec/sa.h | 2 +- lib/librte_mbuf/rte_mbuf_core.h | 2 +- 26 files changed, 30 insertions(+), 30 deletions(-)app/test-pmd/cmdline.c +2
-2@@ -95,7 +95,7 @@ static void cmd_help_brief_parsed(__attribute__((unused)) void *parsed_result," help ports : Configuring ports.\n" " help registers : Reading and setting port registers.\n" " help filters : Filters configuration help.\n" -" help traffic_management : Traffic Management commmands.\n" +" help traffic_management : Traffic Management commands.\n" " help devices : Device related cmds.\n" " help all : All of the above sections.\n\n" );@@ -5131,7 +5131,7 @@ cmd_gso_size_parsed(void *parsed_result,if (test_done ==0 ) {printf ("Before setting GSO segsz, please first" -" stop fowarding\n" ); +" stop forwarding\n" );return ; }app/test/test_mbuf.c +1
-1@@ -1157,7 +1157,7 @@ test_refcnt_mbuf(void) tref += refcnt_lcore[slave];if (tref != refcnt_lcore[master]) -rte_panic ("refernced mbufs: %u, freed mbufs: %u\n" , +rte_panic ("referenced mbufs: %u, freed mbufs: %u\n" , tref, refcnt_lcore[master]);rte_mempool_dump (stdout, refcnt_pool);doc/guides/nics/mlx5.rst +1
-1@@ -35,7 +35,7 @@ operations such as querying/updating the MTU and flow control parameters. For security reasons and robustness, this driver only deals with virtual memory addresses. The way resources allocations are handled by the kernel, -combined with hardware specifications that allow to handle virtual memory +combined with hardware specifications that allow one to handle virtual memory addresses directly, ensure that DPDK applications cannot access random physical memory (or memory that does not belong to the current process).doc/guides/vdpadevs/mlx5.rst +1
-1@@ -25,7 +25,7 @@ Design For security reasons and robustness, this driver only deals with virtual memory addresses. The way resources allocations are handled by the kernel, -combined with hardware specifications that allow to handle virtual memory +combined with hardware specifications that allow one to handle virtual memory addresses directly, ensure that DPDK applications cannot access random physical memory (or memory that does not belong to the current process).drivers/common/octeontx2/hw/otx2_npc.h +2
-2@@ -213,7 +213,7 @@ enum npc_kpu_lc_ltype { NPC_LT_LC_FCOE, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_ld_ltype {@@ -260,7 +260,7 @@ enum npc_kpu_lg_ltype { NPC_LT_LG_TU_ETHER_IN_NSH, }; -/* Don't modify Ltypes upto SCTP, otherwise it will +/* Don't modify Ltypes up to SCTP, otherwise it will * effect flow tag calculation and thus RSS. */ enum npc_kpu_lh_ltype {drivers/compress/octeontx/otx_zip_pmd.c +1
-1@@ -406,7 +406,7 @@ zip_pmd_qp_setup(struct rte_compressdev *dev, uint16_t qp_id, qp->name = name; -/* Create completion queue upto max_inflight_ops */ +/* Create completion queue up to max_inflight_ops */ qp->processed_pkts =zip_pmd_qp_create_processed_pkts_ring (qp, max_inflight_ops, socket_id);if (qp->processed_pkts ==NULL )drivers/event/dpaa2/dpaa2_eventdev.c +1
-1@@ -391,7 +391,7 @@ dpaa2_eventdev_info_get(struct rte_eventdev *dev, dev_info->max_event_priority_levels =DPAA2_EVENT_MAX_EVENT_PRIORITY_LEVELS ; dev_info->max_event_ports =rte_fslmc_get_device_count (DPAA2_IO ); -/* we only support dpio upto number of cores*/ +/* we only support dpio up to number of cores*/ if (dev_info->max_event_ports >rte_lcore_count ()) dev_info->max_event_ports =rte_lcore_count (); dev_info->max_event_port_dequeue_depth =drivers/net/bnxt/bnxt_ethdev.c +1
-1@@ -1519,7 +1519,7 @@ static int bnxt_rss_hash_conf_get_op(struct rte_eth_dev *eth_dev, }if (hash_types) {PMD_DRV_LOG (ERR , -"Unknwon RSS config from firmware (%08x), RSS disabled" , +"Unknown RSS config from firmware (%08x), RSS disabled" , vnic->hash_type);return -ENOTSUP ; }drivers/net/bonding/rte_eth_bond_pmd.c +2
-2@@ -198,7 +198,7 @@ bond_ethdev_8023ad_flow_verify(struct rte_eth_dev *bond_dev,if (slave_info.max_rx_queues < bond_dev->data->nb_rx_queues || slave_info.max_tx_queues < bond_dev->data->nb_tx_queues) {RTE_BOND_LOG (ERR , -"%s: Slave %d capabilities doesn't allow to allocate additional queues" , +"%s: Slave %d capabilities doesn't allow one to allocate additional queues" , __func__, slave_port);return -1 ; }@@ -3230,7 +3230,7 @@ bond_alloc(struct rte_vdev_device *dev, uint8_t mode) internals->candidate_max_rx_pktlen =0 ; internals->max_rx_pktlen =0 ; -/* Initially allow to choose any offload type */ +/* Initially allow one to choose any offload type */ internals->flow_type_rss_offloads =ETH_RSS_PROTO_MASK ; memset(&internals->default_rxconf, 0,drivers/net/cxgbe/cxgbe_flow.c +1
-1@@ -230,7 +230,7 @@ ch_rte_parsetype_port(const void *dmask, const struct rte_flow_item *item,if (val->index >0x7 )return rte_flow_error_set (e,EINVAL ,RTE_FLOW_ERROR_TYPE_ITEM , item, -"port index upto 0x7 is supported" ); +"port index up to 0x7 is supported" );CXGBE_FILL_FS (val->index, mask->index, iport);drivers/net/dpaa2/dpaa2_flow.c +2
-2@@ -1850,13 +1850,13 @@ struct rte_flow *dpaa2_flow_create(struct rte_eth_dev *dev, key_iova = (size_t )rte_malloc (NULL ,256 ,64 );if (!key_iova) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto mem_failure; } mask_iova = (size_t )rte_malloc (NULL ,256 ,64 );if (!mask_iova) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto mem_failure; }drivers/net/dpaa2/dpaa2_mux.c +1
-1@@ -84,7 +84,7 @@ rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, (2 * DIST_PARAM_IOVA_SIZE), RTE_CACHE_LINE_SIZE);if (!flow) {DPAA2_PMD_ERR ( -"Memory allocation failure for rule configration\n" ); +"Memory allocation failure for rule configuration\n" ); goto creation_error; } key_iova = (void *)((size_t )flow +sizeof (struct rte_flow ));drivers/net/hinic/base/hinic_pmd_mbox.c +1
-1@@ -872,7 +872,7 @@ static int hinic_func_to_func_init(struct hinic_hwdev *hwdev) err =alloc_mbox_info (func_to_func->mbox_resp);if (err) { -PMD_DRV_LOG (ERR ,"Allocating memory for mailbox responsing failed" ); +PMD_DRV_LOG (ERR ,"Allocating memory for mailbox responding failed" ); goto alloc_mbox_for_resp_err; }drivers/net/i40e/base/i40e_nvm.c +1
-1@@ -465,7 +465,7 @@ STATIC enum i40e_status_code i40e_read_nvm_buffer_aq(struct i40e_hw *hw, u16 off do { /* Calculate number of bytes we should read in this step. - * FVL AQ do not allow to read more than one page at a time or + * FVL AQ do not allow one to read more than one page at a time or * to cross page boundaries. */ if (offset % I40E_SR_SECTOR_SIZE_IN_WORDS)drivers/net/i40e/i40e_ethdev.c +1
-1@@ -2051,7 +2051,7 @@ i40e_vsi_queues_bind_intr(struct i40e_vsi *vsi, uint16_t itr_idx)for (i =0 ; i < vsi->nb_used_qps; i++) {if (nb_msix <=1 ) {if (!rte_intr_allow_others (intr_handle)) -/* allow to share MISC_VEC_ID */ +/* allow one to share MISC_VEC_ID */ msix_vect =I40E_MISC_VEC_ID ;/* no enough msix_vect, map all to one */ drivers/net/mlx5/mlx5_rxtx.c +1
-1@@ -4829,7 +4829,7 @@ mlx5_tx_burst_tmpl(struct mlx5_txq_data *restrict txq,/* * Calculate the number of available resources - elts and WQEs. * There are two possible different scenarios: -* - no data inlining into WQEs, one WQEBB may contains upto +* - no data inlining into WQEs, one WQEBB may contains up to * four packets, in this case elts become scarce resource * - data inlining into WQEs, one packet may require multiple * WQEBBs, the WQEs become the limiting factor. drivers/net/pfe/pfe_ethdev.c +1
-1@@ -13,7 +13,7 @@#include "pfe_logs.h" #include "pfe_mod.h" -#define PFE_MAX_MACS 1/*we can support upto 4 MACs per IF*/ +#define PFE_MAX_MACS 1/*we can support up to 4 MACs per IF*/ #define PFE_VDEV_GEM_ID_ARG "intf"struct pfe_vdev_init_params {drivers/net/qede/base/ecore_iov_api.h +1
-1@@ -71,7 +71,7 @@ struct ecore_vf_acquire_sw_info {/* We have several close releases that all use ~same FW with different * versions [making it incompatible as the versioning scheme is still -* tied directly to FW version], allow to override the checking. Only +* tied directly to FW version], allow one to override the checking. Only * those versions would actually support this feature [so it would not * break forward compatibility with newer HV drivers that are no longer * suited]. drivers/net/qede/qede_ethdev.c +1
-1@@ -1100,7 +1100,7 @@ static int qede_dev_start(struct rte_eth_dev *eth_dev)qede_reset_queue_stats (qdev, true);/* Newer SR-IOV PF driver expects RX/TX queues to be started before -* enabling RSS. Hence RSS configuration is deferred upto this point. +* enabling RSS. Hence RSS configuration is deferred up to this point. * Also, we would like to retain similar behavior in PF case, so we * don't do PF/VF specific check here. */ drivers/net/sfc/sfc_ef10_tx.c +1
-1@@ -406,7 +406,7 @@ sfc_ef10_xmit_tso_pkt(struct sfc_ef10_txq * const txq, struct rte_mbuf *m_seg,if (txq->completed != pkt_start)return ENOSPC ;/* -* Do not allow to send packet if the maximum DMA +* Do not allow one to send packet if the maximum DMA * descriptor space is not sufficient to hold TSO * descriptors, header descriptor and at least 1 * segment descriptor. examples/vmdq/main.c +1
-1@@ -178,7 +178,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool) max_nb_pools = (uint32_t )dev_info.max_vmdq_pools;/* -* We allow to process part of VMDQ pools specified by num_pools in +* We allow one to process part of VMDQ pools specified by num_pools in * command line. */ if (num_pools > max_nb_pools) {examples/vmdq_dcb/main.c +1
-1@@ -212,7 +212,7 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool) max_nb_pools = (uint32_t )dev_info.max_vmdq_pools;/* -* We allow to process part of VMDQ pools specified by num_pools in +* We allow one to process part of VMDQ pools specified by num_pools in * command line. */ if (num_pools > max_nb_pools) {lib/librte_eal/common/include/arch/x86/rte_atomic.h +1
-1@@ -55,7 +55,7 @@ extern "C" {* * As pointed by Java guys, that makes possible to use lock-prefixed * instructions to get the same effect as mfence and on most modern HW -* that gives a better perfomance then using mfence: +* that gives a better performance then using mfence: * https://shipilev.net/blog/2014/on-the-fence-with-dependencies/ * Basic idea is to use lock prefixed add with some dummy memory location * as the destination. From their experiments 128B(2 cache lines) below lib/librte_eal/linux/eal/eal.c +1
-1@@ -1077,7 +1077,7 @@ rte_eal_init(int argc, char **argv)#if defined(RTE_LIBRTE_KNI ) &&LINUX_VERSION_CODE >=KERNEL_VERSION (4 ,10 ,0 ) } else if (rte_eal_check_module("rte_kni") == 1) { iova_mode =RTE_IOVA_PA ; -RTE_LOG (DEBUG ,EAL ,"KNI is loaded, selecting IOVA as PA mode for better KNI perfomance.\n" ); +RTE_LOG (DEBUG ,EAL ,"KNI is loaded, selecting IOVA as PA mode for better KNI performance.\n" );#endif }else if (is_iommu_enabled ()) {/* we have an IOMMU, pick IOVA as VA mode */ lib/librte_ipsec/sa.h +1
-1@@ -115,7 +115,7 @@ struct rte_ipsec_sa {* sqn and replay window * In case of SA handled by multiple threads *sqn* cacheline * could be shared by multiple cores. -* To minimise perfomance impact, we try to locate in a separate +* To minimise performance impact, we try to locate in a separate * place from other frequently accesed data. */ union {lib/librte_mbuf/rte_mbuf_core.h +1
-1@@ -591,7 +591,7 @@ struct rte_mbuf {/** Valid if PKT_RX_TIMESTAMP is set. The unit and time reference * are not normalized but are always the same for a given port. -* Some devices allow to query rte_eth_read_clock that will return the +* Some devices allow one to query rte_eth_read_clock that will return the * current device timestamp. */ uint64_t timestamp;
Quoted 31 lines · Kevin Traynor
Quoted 8 lines · On 29/02/2020 16:37, [email protected] wrote:
From: Luca Boccassi <
[email protected]Quoted 1 line
Quoted 8 lines
Signed-off-by: Luca Boccassi <
[email protected]Quoted 1 line
---
Debian's linter is getting more and more annoy^^smart and now parses binaries
for typos too - CC stable to get it off my back in the next releaseMinor: Probably linter is better trained in the Queen's English than me
or it could be personal preference, but 'one' seems to be referring to
the user and it reads a bit strange for me. e.g."Slave %d capabilities doesn't allow one to allocate additional queues"
"hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."
Quoted 5 lines
as opposed to
"Slave %d capabilities don't allow allocation of additional queues" "hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."
You might be right - but the intent here is not to be correct, it's to get the linter to leave me alone :-)
Signature · 2 lines
Kind regards, Luca Boccassi
04/03/2020 16:28, Luca Boccassi:
Quoted 17 lines · Kevin Traynor
Quoted 16 lines · On 29/02/2020 16:37, [email protected] wrote:
Quoted 3 lines
Debian's linter is getting more and more annoy^^smart and now parses binaries
for typos too - CC stable to get it off my back in the next releaseMinor: Probably linter is better trained in the Queen's English than me
or it could be personal preference, but 'one' seems to be referring to
the user and it reads a bit strange for me. e.g."Slave %d capabilities doesn't allow one to allocate additional queues"
"hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."
Quoted 8 lines
Quoted 5 lines
as opposed to
"Slave %d capabilities don't allow allocation of additional queues" "hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."
You might be right - but the intent here is not to be correct, it's to get the linter to leave me alone :-)
I agree with Kevin that the wording "allow one to make" is strange. Would lintian leave you alone with "allow making"?
Anyway the "allow to" sentences are not typos.
They could be reworded in a separate patch.
Patch partly applied, except the "allow one to" changes, thanks.
Quoted 32 lines · Thomas Monjalon
04/03/2020 16:28, Luca Boccassi:
Quoted 22 lines · Kevin Traynor
Quoted 21 lines · On 29/02/2020 16:37, [email protected] wrote:
Quoted 4 lines
Debian's linter is getting more and more annoy^^smart and now parses binaries
for typos too - CC stable to get it off my back in the next releaseMinor: Probably linter is better trained in the Queen's English than
me
or it could be personal preference, but 'one' seems to be referring
to
the user and it reads a bit strange for me. e.g."Slave %d capabilities doesn't allow one to allocate additional queues"
"hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."as opposed to
Quoted 8 lines
Quoted 4 lines
"Slave %d capabilities don't allow allocation of additional queues"
"hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."You might be right - but the intent here is not to be correct, it's to
get the linter to leave me alone :-)
Quoted 7 lines
I agree with Kevin that the wording "allow one to make" is strange. Would lintian leave you alone with "allow making"?
Anyway the "allow to" sentences are not typos.
They could be reworded in a separate patch.Patch partly applied, except the "allow one to" changes, thanks.
It probably would work - will check in the next cycle.
Signature · 2 lines
Kind regards, Luca Boccassi
26/04/2020 11:49, Luca Boccassi:
Quoted 36 lines · Thomas Monjalon
Quoted 35 lines
04/03/2020 16:28, Luca Boccassi:
Quoted 22 lines · Kevin Traynor
Quoted 21 lines · On 29/02/2020 16:37, [email protected] wrote:
Quoted 4 lines
Debian's linter is getting more and more annoy^^smart and now parses binaries
for typos too - CC stable to get it off my back in the next releaseMinor: Probably linter is better trained in the Queen's English than
me
or it could be personal preference, but 'one' seems to be referring
to
the user and it reads a bit strange for me. e.g."Slave %d capabilities doesn't allow one to allocate additional queues"
"hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."as opposed to
Quoted 8 lines
Quoted 4 lines
"Slave %d capabilities don't allow allocation of additional queues"
"hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."You might be right - but the intent here is not to be correct, it's to
get the linter to leave me alone :-)I agree with Kevin that the wording "allow one to make" is strange. Would lintian leave you alone with "allow making"?
Quoted 6 lines
Quoted 4 lines
Anyway the "allow to" sentences are not typos.
They could be reworded in a separate patch.Patch partly applied, except the "allow one to" changes, thanks.
It probably would work - will check in the next cycle.
What are the news from Lintian?
Quoted 37 lines · Thomas Monjalon
26/04/2020 11:49, Luca Boccassi:
Quoted 36 lines · Thomas Monjalon
Quoted 35 lines
04/03/2020 16:28, Luca Boccassi:
Quoted 22 lines · Kevin Traynor
Quoted 21 lines · On 29/02/2020 16:37, [email protected] wrote:
Quoted 4 lines
Debian's linter is getting more and more annoy^^smart and now parses binaries
for typos too - CC stable to get it off my back in the next releaseMinor: Probably linter is better trained in the Queen's English than
me
or it could be personal preference, but 'one' seems to be referring
to
the user and it reads a bit strange for me. e.g."Slave %d capabilities doesn't allow one to allocate additional queues"
"hardware specifications that allow one to handle virtual memory" "Do not allow one to send packet if the maximum DMA.."as opposed to
Quoted 8 lines
Quoted 4 lines
"Slave %d capabilities don't allow allocation of additional queues"
"hardware specifications that allow handling of virtual memory" "Do not allow sending of a packet if the maximum DMA.."You might be right - but the intent here is not to be correct, it's to
get the linter to leave me alone :-)I agree with Kevin that the wording "allow one to make" is strange. Would lintian leave you alone with "allow making"?
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Anyway the "allow to" sentences are not typos.
They could be reworded in a separate patch.Patch partly applied, except the "allow one to" changes, thanks.
It probably would work - will check in the next cycle.
What are the news from Lintian?
Better, but still a bit angry at me:
I: librte-pmd-bond20.0: spelling-error-in-binary usr/lib/x86_64-linux-
gnu/dpdk/pmds-20.0/librte_pmd_bond.so.20.0 "allow to" "allow one to"
I: librte-pmd-hns3-20.0: spelling-error-in-binary usr/lib/x86_64-
linux-gnu/dpdk/pmds-20.0/librte_pmd_hns3.so.20.0 does't doesn't
I: librte-pmd-hns3-20.0: spelling-error-in-binary usr/lib/x86_64-
linux-gnu/dpdk/pmds-20.0/librte_pmd_hns3.so.20.0 setted set
I: librte-pmd-i40e20.0: spelling-error-in-binary usr/lib/x86_64-linux-
gnu/dpdk/pmds-20.0/librte_pmd_i40e.so.20.0 reseting resetting
I: librte-pmd-ixgbe20.0: spelling-error-in-binary usr/lib/x86_64-
linux-gnu/dpdk/pmds-20.0/librte_pmd_ixgbe.so.20.0 sempahore semaphore
I: librte-pmd-qede20.0: spelling-error-in-binary usr/lib/x86_64-linux-
gnu/dpdk/pmds-20.0/librte_pmd_qede.so.20.0 acces access
I: librte-pmd-qede20.0: spelling-error-in-binary usr/lib/x86_64-linux-
gnu/dpdk/pmds-20.0/librte_pmd_qede.so.20.0 erorr error
I: librte-pmd-sfc20.0: spelling-error-in-binary usr/lib/x86_64-linux-
gnu/dpdk/pmds-20.0/librte_pmd_sfc.so.20.0 threashold threshold
I: librte-pmd-virtio20.0: spelling-error-in-binary usr/lib/x86_64-
linux-gnu/dpdk/pmds-20.0/librte_pmd_virtio.so.20.0 does't doesn't