Spelling
Subsystems (10)
PATCH 1/1 Spelling
* 0x hex
* acceptable
* account
* accounting
* accumulate
* accumulates
* acknowledge
* action
* actions
* activate
* active
* actively
* actually
* adapter
* adaptive
* adding
* address
* adjusted
* aggregator
* aggregators
* aggressive
* algorithm
* alignment
* allocate
* allocated
* allocation
* alphabetically
* although
* always
* annotation
* approx
* approximate
* arbitrary
* archive
* argument
* array
* associated
* assumption
* attached
* attempts
* attributes
* authentic
* authentication
* autogreen
* available
* average
* backplane
* backtracking
* bandwidth
* barrier
* basically
* bearer
* before
* begin
* beginning
* beyond
* biggest
* boundaries
* buffer
* buffers
* but
* by
* calculate
* calculations
* cannot
* capabilities
* capability
* chained
* chaining
* characteristics
* checked
* checks
* checksum
* choices
* chunk
* cipher
* classes
* classification
* classifier
* coalescing
* command
* commit
* communicate
* comparison
* compatibility
* completion
* config
* configuration
* configurations
* configure
* configured
* configuring
* congestion
* connected
* connection
* consecutive
* constant
* consumed
* consumer
* container
* containing
* contrary
* conversion
* corresponds
* corruption
* corrupts
* couldn't
* cprintf
* crypto
* cryptographic
* current
* currently
* cycles
* datapath
* datastructure
* decapsulation
* default
* deferred
* defined
* definition
* definitions
* deinitialization
* delete
* deletion
* demonstrates
* demonstrating
* dependent
* depends
* dequeuing
* derived
* described
* descriptor
* descriptors
* destination
* destroy
* destroying
* detach
* determine
* determined
* device
* diagrams
* differentiate
* director
* discard
* discrimination
* distributing
* distribution
* divergent
* domain
* doorbell
* dropper
* duplex
* duplicate
* effective
* efficient
* element
* empty
* enable
* enabled
* enabling
* encapsulate
* encoding
* endian
* enough
* enqueued
* entries
* entry
* equally
* errno
* erroneous
* error
* ethertype
* exceed
* exceeds
* exclusively
* executed
* exede
* exhaustion
* expansion
* expected
* expects
* experimental
* expiry
* explicit
* extended
* externally
* failed
* fairness
* fallen
* feature
* fiber
* fields
* filters
* filters' info
* firmware
* forwarding
* fragment
* framework
* free
* frequencies
* frequency
* functionality
* further
* generate
* generator
* geneve
* global
* greater
* groupid
* grpmask
* guaranteed
* handler
* hardware
* hash
* header
* hexadecimal
* hierarchical
* identical
* identification
* identifier
* identifies
* ignore
* ignoring
* immutable
* implicitly
* important
* imprecise
* inconsistent
* incremented
* incrementing
* index
* indexed
* indicate
* indicates
* indication
* individual
* infiniband
* information
* inherent
* inherited
* initialization
* initialize
* insert
* inserted
* instant
* instincts
* instructions
* insufficient
* integrity
* interim
* internal
* interrupt
* interrupts
* interval
* intrinsics
* invalid
* involves
* joining
* kernel
* lapsed
* legacy
* length
* lengths
* license
* limited
* little
* lookup
* loopback
* mantissa
* mapping
* maximal
* maximum
* maxmsivector
* measure
* memory
* message
* metadata
* metrics
* minimize
* mismatch
* mmappable
* mmapped
* modify
* moment
* monitor
* mult
* multicore
* multimatch
* multiple
* negative
* negotiation
* nonexistent
* notification
* notifications
* observed
* occupied
* occurs
* octeontx
* odpvalid
* offload
* offloads
* offset
* operation
* operations
* order
* other than
* otherwise
* overflow
* overhead
* override
* overwritten
* packet
* packets
* palladium
* parallelism
* parameter
* parameters
* partner
* passive
* pause
* peer
* pending
* per port
* period
* permanent
* personalities
* physical
* platform
* pointer
* points
* policies
* policy
* polynomials
* populate
* portctl
* postponed
* preemptible
* preference
* prefetch
* prefetching
* prefix
* preparation
* prerequisite
* present
* preserve
* previous
* primary
* prior
* priorities
* priority
* probability
* processed
* processing
* prodding
* profile
* programmatically
* promisc
* promiscuous
* properties
* protocol
* provisioned
* qgroup
* quantity
* queue
* queueable
* queues
* quiescent
* reasonably
* reassemble
* reassembly
* recalculate
* receive
* receiving
* recommended
* redundant
* reflected
* register
* registering
* registers
* registration
* regular
* release
* relevant
* remapped
* removed
* replace
* request
* required
* reserved
* resettable
* resolution
* resource
* resources
* respectively
* response
* restoration
* resulting
* results
* retransmission
* retrieval
* retrieve
* retrieving
* return
* revision
* robust
* routes
* routines
* scatter
* scattered
* scenario
* schedule
* search
* searching
* second
* segment
* segregating
* selected
* sequence
* series
* service
* session
* shaping
* shift
* signature
* similar
* simplify
* simultaneously
* single
* situation
* skeleton
* slave
* something
* specific
* specification
* specified
* specifies
* staging
* standalone
* standard
* state
* statically
* statistics
* status for
* strategy
* string
* structure
* structures
* submission
* subsystem
* subtraction
* succeeded
* successful
* successfully
* supplied
* support
* supported
* synchronization
* synthetic
* tagged
* technique
* template
* tentatively
* terminate
* termination
* threshold
* ticketlock
* ticks
* timestamp
* together
* token
* traffic
* translation
* transmit
* truncate
* tunnel
* tuple
* typically
* unavailable
* unconditionally
* unexpectedly
* unfortunately
* uninitialize
* unrecognizable
* unrecognized
* unregistering
* unsupported
* until
* up
* update
* usage
* validation
* values
* variables
* vector
* vectors
* verification
* verify
* violation
* virtchnl
* warnings
* weight
* where
* wherever
* whether
* without
* workaround
* worker
* written
* xstats
* zeroed
--- app/proc-info/main.c | 6 +- app/test-acl/main.c | 6 +- .../comp_perf_test_cyclecount.c | 2 +- .../comp_perf_test_throughput.c | 2 +- .../comp_perf_test_verify.c | 2 +- app/test-compress-perf/main.c | 2 +- .../cperf_test_pmd_cyclecount.c | 2 +- app/test-crypto-perf/cperf_test_vectors.h | 4 +- app/test-eventdev/evt_options.c | 2 +- app/test-eventdev/test_order_common.c | 2 +- app/test-fib/main.c | 4 +- app/test-flow-perf/config.h | 2 +- app/test-flow-perf/main.c | 2 +- app/test-pmd/cmdline.c | 2 +- app/test-pmd/cmdline_flow.c | 6 +- app/test-pmd/cmdline_tm.c | 4 +- app/test-pmd/csumonly.c | 2 +- app/test-pmd/parameters.c | 2 +- app/test-pmd/testpmd.c | 2 +- app/test-pmd/txonly.c | 4 +- app/test/test_barrier.c | 2 +- app/test/test_bpf.c | 4 +- app/test/test_compressdev.c | 2 +- app/test/test_cryptodev.c | 2 +- app/test/test_fib_perf.c | 2 +- app/test/test_kni.c | 4 +- app/test/test_kvargs.c | 16 ++-- app/test/test_link_bonding.c | 4 +- app/test/test_link_bonding_mode4.c | 30 +++---- app/test/test_lpm6_data.h | 2 +- app/test/test_member.c | 2 +- app/test/test_mempool.c | 4 +- app/test/test_memzone.c | 6 +- app/test/test_metrics.c | 2 +- app/test/test_pcapng.c | 2 +- app/test/test_power_cpufreq.c | 2 +- app/test/test_rcu_qsbr.c | 4 +- app/test/test_red.c | 8 +- app/test/test_security.c | 2 +- app/test/test_table.h | 2 +- app/test/test_table_pipeline.c | 2 +- app/test/test_thash.c | 2 +- buildtools/binutils-avx512-check.py | 2 +- devtools/check-symbol-change.sh | 6 +- .../virtio_user_for_container_networking.svg | 2 +- doc/guides/nics/af_packet.rst | 2 +- doc/guides/nics/mlx4.rst | 2 +- doc/guides/nics/mlx5.rst | 6 +- doc/guides/prog_guide/cryptodev_lib.rst | 2 +- .../prog_guide/env_abstraction_layer.rst | 4 +- doc/guides/prog_guide/img/turbo_tb_decode.svg | 2 +- doc/guides/prog_guide/img/turbo_tb_encode.svg | 2 +- doc/guides/prog_guide/qos_framework.rst | 6 +- doc/guides/prog_guide/rte_flow.rst | 2 +- doc/guides/rawdevs/cnxk_bphy.rst | 2 +- doc/guides/regexdevs/features_overview.rst | 2 +- doc/guides/rel_notes/release_16_07.rst | 2 +- doc/guides/rel_notes/release_17_08.rst | 2 +- doc/guides/rel_notes/release_2_1.rst | 2 +- doc/guides/sample_app_ug/ip_reassembly.rst | 2 +- doc/guides/sample_app_ug/l2_forward_cat.rst | 2 +- doc/guides/sample_app_ug/server_node_efd.rst | 2 +- doc/guides/sample_app_ug/skeleton.rst | 2 +- .../sample_app_ug/vm_power_management.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- drivers/baseband/acc100/rte_acc100_pmd.c | 24 +++--- drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 8 +- drivers/baseband/null/bbdev_null.c | 2 +- .../baseband/turbo_sw/bbdev_turbo_software.c | 2 +- drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include/fsl_qman.h | 6 +- drivers/bus/dpaa/include/fsl_usd.h | 2 +- drivers/bus/dpaa/include/process.h | 2 +- drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/bus/fslmc/fslmc_vfio.h | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- .../fslmc/qbman/include/fsl_qbman_portal.h | 20 ++--- drivers/bus/pci/linux/pci_vfio.c | 2 +- drivers/bus/vdev/rte_bus_vdev.h | 2 +- drivers/bus/vmbus/vmbus_common.c | 2 +- drivers/common/cnxk/roc_bphy_cgx.c | 2 +- drivers/common/cnxk/roc_cpt.c | 10 +-- drivers/common/cnxk/roc_cpt_priv.h | 2 +- drivers/common/cnxk/roc_mbox.h | 4 +- drivers/common/cnxk/roc_nix_bpf.c | 22 ++--- drivers/common/cnxk/roc_nix_tm_ops.c | 2 +- drivers/common/cnxk/roc_npc_mcam.c | 2 +- drivers/common/cnxk/roc_npc_priv.h | 2 +- drivers/common/cnxk/roc_tim.c | 2 +- drivers/common/cpt/cpt_ucode.h | 4 +- drivers/common/cpt/cpt_ucode_asym.h | 2 +- drivers/common/dpaax/caamflib/desc/algo.h | 2 +- drivers/common/dpaax/caamflib/desc/ipsec.h | 4 +- drivers/common/dpaax/caamflib/desc/sdap.h | 6 +- .../common/dpaax/caamflib/rta/operation_cmd.h | 6 +- drivers/common/dpaax/dpaax_iova_table.c | 2 +- drivers/common/iavf/iavf_type.h | 2 +- drivers/common/iavf/virtchnl.h | 2 +- drivers/common/mlx5/mlx5_common.c | 2 +- drivers/common/mlx5/mlx5_common_mr.c | 2 +- drivers/common/mlx5/mlx5_devx_cmds.c | 2 +- drivers/common/mlx5/mlx5_devx_cmds.h | 2 +- drivers/common/mlx5/mlx5_malloc.c | 4 +- drivers/common/mlx5/mlx5_malloc.h | 2 +- drivers/common/mlx5/mlx5_prm.h | 6 +- drivers/common/mlx5/windows/mlx5_common_os.c | 4 +- drivers/common/mlx5/windows/mlx5_common_os.h | 2 +- drivers/common/octeontx2/otx2_mbox.h | 4 +- .../qat/qat_adf/adf_transport_access_macros.h | 2 +- drivers/common/sfc_efx/efsys.h | 2 +- drivers/compress/octeontx/include/zip_regs.h | 4 +- drivers/compress/octeontx/otx_zip.h | 4 +- drivers/compress/qat/dev/qat_comp_pmd_gen1.c | 4 +- drivers/compress/qat/qat_comp.c | 12 +-- drivers/compress/qat/qat_comp_pmd.c | 8 +- drivers/compress/qat/qat_comp_pmd.h | 2 +- drivers/crypto/bcmfs/bcmfs_device.h | 2 +- drivers/crypto/bcmfs/bcmfs_qp.c | 2 +- drivers/crypto/bcmfs/bcmfs_sym_defs.h | 6 +- drivers/crypto/bcmfs/bcmfs_sym_engine.h | 2 +- drivers/crypto/bcmfs/hw/bcmfs5_rm.c | 2 +- drivers/crypto/caam_jr/caam_jr.c | 4 +- drivers/crypto/caam_jr/caam_jr_hw_specific.h | 4 +- drivers/crypto/caam_jr/caam_jr_pvt.h | 4 +- drivers/crypto/caam_jr/caam_jr_uio.c | 2 +- drivers/crypto/ccp/ccp_crypto.c | 2 +- drivers/crypto/ccp/ccp_crypto.h | 2 +- drivers/crypto/ccp/ccp_dev.h | 2 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 4 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 30 +++---- drivers/crypto/dpaa_sec/dpaa_sec.c | 4 +- .../crypto/octeontx/otx_cryptodev_hw_access.c | 2 +- drivers/crypto/octeontx/otx_cryptodev_mbox.h | 2 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 2 +- drivers/crypto/qat/qat_asym.c | 2 +- drivers/crypto/qat/qat_sym.c | 2 +- drivers/crypto/qat/qat_sym_session.h | 2 +- drivers/crypto/virtio/virtio_cryptodev.c | 6 +- drivers/crypto/virtio/virtqueue.c | 2 +- drivers/crypto/virtio/virtqueue.h | 4 +- drivers/dma/ioat/ioat_dmadev.c | 2 +- drivers/dma/ioat/ioat_hw_defs.h | 2 +- drivers/dma/skeleton/skeleton_dmadev.c | 2 +- drivers/event/cnxk/cnxk_eventdev_selftest.c | 4 +- drivers/event/dlb2/dlb2.c | 2 +- drivers/event/dlb2/dlb2_priv.h | 2 +- drivers/event/dlb2/dlb2_selftest.c | 2 +- drivers/event/dlb2/rte_pmd_dlb2.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 2 +- drivers/event/dsw/dsw_evdev.h | 4 +- drivers/event/dsw/dsw_event.c | 4 +- drivers/event/octeontx/ssovf_evdev.h | 2 +- drivers/event/octeontx/ssovf_evdev_selftest.c | 2 +- drivers/event/octeontx2/otx2_evdev_selftest.c | 2 +- drivers/event/octeontx2/otx2_tim_evdev.c | 4 +- drivers/event/octeontx2/otx2_worker_dual.h | 2 +- drivers/event/opdl/opdl_evdev.c | 2 +- drivers/event/opdl/opdl_test.c | 2 +- drivers/event/sw/sw_evdev.h | 2 +- drivers/event/sw/sw_evdev_selftest.c | 2 +- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- drivers/mempool/octeontx/octeontx_fpavf.c | 4 +- drivers/net/ark/ark_ethdev.c | 4 +- drivers/net/ark/ark_global.h | 2 +- drivers/net/ark/ark_rqp.c | 4 +- drivers/net/ark/ark_rqp.h | 4 +- drivers/net/atlantic/atl_ethdev.c | 2 +- drivers/net/atlantic/atl_rxtx.c | 2 +- drivers/net/atlantic/hw_atl/hw_atl_b0.c | 2 +- drivers/net/axgbe/axgbe_dev.c | 2 +- drivers/net/axgbe/axgbe_ethdev.c | 2 +- drivers/net/axgbe/axgbe_ethdev.h | 2 +- drivers/net/axgbe/axgbe_phy_impl.c | 4 +- drivers/net/axgbe/axgbe_rxtx_vec_sse.c | 2 +- drivers/net/bnx2x/bnx2x.c | 56 ++++++------ drivers/net/bnx2x/bnx2x.h | 16 ++-- drivers/net/bnx2x/bnx2x_stats.c | 10 +-- drivers/net/bnx2x/bnx2x_stats.h | 8 +- drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- drivers/net/bnx2x/bnx2x_vfpf.h | 2 +- drivers/net/bnx2x/ecore_fw_defs.h | 2 +- drivers/net/bnx2x/ecore_hsi.h | 54 ++++++------ drivers/net/bnx2x/ecore_init.h | 2 +- drivers/net/bnx2x/ecore_init_ops.h | 6 +- drivers/net/bnx2x/ecore_reg.h | 40 ++++----- drivers/net/bnx2x/ecore_sp.c | 42 ++++----- drivers/net/bnx2x/ecore_sp.h | 8 +- drivers/net/bnx2x/elink.c | 52 +++++------ drivers/net/bnx2x/elink.h | 2 +- drivers/net/bnxt/bnxt_hwrm.c | 2 +- drivers/net/bnxt/tf_core/tfp.c | 2 +- drivers/net/bnxt/tf_core/tfp.h | 2 +- drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c | 4 +- drivers/net/bonding/eth_bond_8023ad_private.h | 2 +- drivers/net/bonding/eth_bond_private.h | 2 +- drivers/net/bonding/rte_eth_bond_8023ad.c | 20 ++--- drivers/net/bonding/rte_eth_bond_8023ad.h | 4 +- drivers/net/bonding/rte_eth_bond_alb.h | 2 +- drivers/net/bonding/rte_eth_bond_api.c | 4 +- drivers/net/cnxk/cn10k_ethdev.h | 2 +- drivers/net/cnxk/cn10k_tx.h | 6 +- drivers/net/cnxk/cn9k_tx.h | 6 +- drivers/net/cnxk/cnxk_ptp.c | 2 +- drivers/net/cxgbe/cxgbe_flow.c | 2 +- drivers/net/cxgbe/cxgbevf_main.c | 2 +- drivers/net/cxgbe/sge.c | 8 +- drivers/net/dpaa/dpaa_ethdev.c | 6 +- drivers/net/dpaa/dpaa_rxtx.c | 4 +- drivers/net/dpaa/fmlib/fm_ext.h | 2 +- drivers/net/dpaa/fmlib/fm_pcd_ext.h | 8 +- drivers/net/dpaa/fmlib/fm_port_ext.h | 18 ++-- drivers/net/dpaa2/dpaa2_ethdev.c | 14 +-- drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_flow.c | 12 +-- drivers/net/dpaa2/dpaa2_mux.c | 6 +- drivers/net/dpaa2/dpaa2_rxtx.c | 6 +- drivers/net/dpaa2/mc/dpdmux.c | 8 +- drivers/net/dpaa2/mc/fsl_dpdmux.h | 4 +- drivers/net/dpaa2/mc/fsl_dpni.h | 10 +-- drivers/net/e1000/e1000_ethdev.h | 4 +- drivers/net/e1000/em_ethdev.c | 10 +-- drivers/net/e1000/em_rxtx.c | 6 +- drivers/net/e1000/igb_ethdev.c | 18 ++-- drivers/net/e1000/igb_flow.c | 4 +- drivers/net/e1000/igb_pf.c | 2 +- drivers/net/e1000/igb_rxtx.c | 14 +-- drivers/net/ena/ena_ethdev.c | 2 +- drivers/net/ena/ena_ethdev.h | 2 +- drivers/net/enetfec/enet_regs.h | 2 +- drivers/net/enic/enic_flow.c | 64 +++++++------- drivers/net/enic/enic_fm_flow.c | 10 +-- drivers/net/enic/enic_main.c | 2 +- drivers/net/enic/enic_rxtx.c | 2 +- drivers/net/fm10k/fm10k.h | 2 +- drivers/net/fm10k/fm10k_ethdev.c | 12 +-- drivers/net/fm10k/fm10k_rxtx_vec.c | 10 +-- drivers/net/hinic/hinic_pmd_ethdev.c | 4 +- drivers/net/hinic/hinic_pmd_ethdev.h | 2 +- drivers/net/hinic/hinic_pmd_flow.c | 8 +- drivers/net/hinic/hinic_pmd_rx.c | 30 +++---- drivers/net/hinic/hinic_pmd_tx.c | 2 +- drivers/net/hns3/hns3_cmd.c | 4 +- drivers/net/hns3/hns3_common.c | 2 +- drivers/net/hns3/hns3_dcb.c | 86 +++++++++---------- drivers/net/hns3/hns3_dcb.h | 24 +++--- drivers/net/hns3/hns3_ethdev.c | 32 +++---- drivers/net/hns3/hns3_ethdev.h | 8 +- drivers/net/hns3/hns3_ethdev_vf.c | 6 +- drivers/net/hns3/hns3_fdir.c | 4 +- drivers/net/hns3/hns3_fdir.h | 2 +- drivers/net/hns3/hns3_flow.c | 12 +-- drivers/net/hns3/hns3_mbx.c | 4 +- drivers/net/hns3/hns3_mbx.h | 2 +- drivers/net/hns3/hns3_rss.h | 2 +- drivers/net/hns3/hns3_rxtx.c | 16 ++-- drivers/net/hns3/hns3_rxtx.h | 2 +- drivers/net/hns3/hns3_stats.c | 4 +- drivers/net/hns3/hns3_tm.c | 4 +- drivers/net/i40e/i40e_ethdev.c | 12 +-- drivers/net/i40e/i40e_ethdev.h | 10 +-- drivers/net/i40e/i40e_fdir.c | 10 +-- drivers/net/i40e/i40e_flow.c | 2 +- drivers/net/i40e/i40e_pf.c | 4 +- drivers/net/i40e/i40e_rxtx.c | 20 ++--- drivers/net/i40e/i40e_rxtx_vec_altivec.c | 2 +- drivers/net/i40e/i40e_rxtx_vec_neon.c | 4 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 6 +- drivers/net/i40e/rte_pmd_i40e.c | 2 +- drivers/net/iavf/iavf_ethdev.c | 14 +-- drivers/net/iavf/iavf_hash.c | 6 +- drivers/net/iavf/iavf_ipsec_crypto.c | 18 ++-- drivers/net/iavf/iavf_ipsec_crypto.h | 6 +- drivers/net/iavf/iavf_rxtx.c | 4 +- drivers/net/iavf/iavf_rxtx_vec_sse.c | 4 +- drivers/net/iavf/iavf_vchnl.c | 4 +- drivers/net/ice/ice_dcf.c | 2 +- drivers/net/ice/ice_dcf_ethdev.c | 2 +- drivers/net/ice/ice_ethdev.c | 12 +-- drivers/net/ice/ice_rxtx.c | 10 +-- drivers/net/ice/ice_rxtx_vec_sse.c | 4 +- drivers/net/ice/ice_switch_filter.c | 26 +++--- drivers/net/igc/igc_filter.c | 2 +- drivers/net/igc/igc_txrx.c | 4 +- drivers/net/ionic/ionic_if.h | 6 +- drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- drivers/net/ipn3ke/ipn3ke_ethdev.h | 4 +- drivers/net/ipn3ke/ipn3ke_flow.c | 2 +- drivers/net/ipn3ke/ipn3ke_representor.c | 12 +-- drivers/net/ipn3ke/ipn3ke_tm.c | 4 +- drivers/net/ipn3ke/meson.build | 2 +- drivers/net/ixgbe/ixgbe_bypass.c | 2 +- drivers/net/ixgbe/ixgbe_bypass_api.h | 4 +- drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++-- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ixgbe_fdir.c | 2 +- drivers/net/ixgbe/ixgbe_flow.c | 4 +- drivers/net/ixgbe/ixgbe_ipsec.c | 2 +- drivers/net/ixgbe/ixgbe_pf.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 10 +-- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 2 +- drivers/net/memif/memif_socket.c | 2 +- drivers/net/memif/rte_eth_memif.c | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_ethdev.c | 2 +- drivers/net/mlx5/linux/mlx5_os.c | 8 +- drivers/net/mlx5/mlx5.c | 12 +-- drivers/net/mlx5/mlx5.h | 12 +-- drivers/net/mlx5/mlx5_flow.c | 28 +++--- drivers/net/mlx5/mlx5_flow.h | 6 +- drivers/net/mlx5/mlx5_flow_aso.c | 8 +- drivers/net/mlx5/mlx5_flow_dv.c | 56 ++++++------ drivers/net/mlx5/mlx5_flow_flex.c | 4 +- drivers/net/mlx5/mlx5_flow_meter.c | 16 ++-- drivers/net/mlx5/mlx5_rx.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 4 +- drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_tx.c | 2 +- drivers/net/mlx5/mlx5_utils.h | 2 +- drivers/net/mlx5/windows/mlx5_flow_os.c | 2 +- drivers/net/mlx5/windows/mlx5_os.c | 2 +- drivers/net/mvneta/mvneta_ethdev.c | 2 +- drivers/net/mvpp2/mrvl_ethdev.c | 2 +- drivers/net/mvpp2/mrvl_qos.c | 4 +- drivers/net/netvsc/hn_nvs.c | 2 +- drivers/net/netvsc/hn_rxtx.c | 4 +- drivers/net/netvsc/hn_vf.c | 2 +- .../net/nfp/nfpcore/nfp-common/nfp_resid.h | 6 +- drivers/net/nfp/nfpcore/nfp_cppcore.c | 2 +- drivers/net/nfp/nfpcore/nfp_nsp.h | 2 +- drivers/net/nfp/nfpcore/nfp_resource.c | 2 +- drivers/net/nfp/nfpcore/nfp_rtsym.c | 2 +- drivers/net/ngbe/ngbe_ethdev.c | 14 +-- drivers/net/ngbe/ngbe_pf.c | 2 +- drivers/net/octeontx/octeontx_ethdev.c | 2 +- drivers/net/octeontx2/otx2_ethdev_irq.c | 2 +- drivers/net/octeontx2/otx2_ptp.c | 2 +- drivers/net/octeontx2/otx2_tx.h | 4 +- drivers/net/octeontx2/otx2_vlan.c | 2 +- drivers/net/octeontx_ep/otx2_ep_vf.c | 2 +- drivers/net/octeontx_ep/otx_ep_vf.c | 2 +- drivers/net/pfe/pfe_ethdev.c | 6 +- drivers/net/pfe/pfe_hal.c | 2 +- drivers/net/pfe/pfe_hif.c | 4 +- drivers/net/pfe/pfe_hif.h | 2 +- drivers/net/pfe/pfe_hif_lib.c | 8 +- drivers/net/qede/qede_debug.c | 14 +-- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/qede/qede_rxtx.c | 12 +-- drivers/net/qede/qede_rxtx.h | 2 +- drivers/net/sfc/sfc.c | 2 +- drivers/net/sfc/sfc_dp.c | 2 +- drivers/net/sfc/sfc_dp_rx.h | 4 +- drivers/net/sfc/sfc_ef100.h | 2 +- drivers/net/sfc/sfc_ef100_rx.c | 2 +- drivers/net/sfc/sfc_ef10_essb_rx.c | 2 +- drivers/net/sfc/sfc_ef10_rx_ev.h | 2 +- drivers/net/sfc/sfc_intr.c | 2 +- drivers/net/sfc/sfc_mae.c | 50 +++++------ drivers/net/sfc/sfc_rx.c | 6 +- drivers/net/sfc/sfc_tso.h | 10 +-- drivers/net/sfc/sfc_tx.c | 2 +- drivers/net/softnic/rte_eth_softnic_flow.c | 2 +- drivers/net/tap/rte_eth_tap.c | 2 +- drivers/net/tap/tap_bpf_api.c | 4 +- drivers/net/tap/tap_flow.c | 4 +- drivers/net/thunderx/nicvf_svf.c | 2 +- drivers/net/txgbe/txgbe_ethdev.c | 14 +-- drivers/net/txgbe/txgbe_ethdev_vf.c | 6 +- drivers/net/txgbe/txgbe_ipsec.c | 2 +- drivers/net/txgbe/txgbe_pf.c | 2 +- drivers/net/virtio/virtio_ethdev.c | 4 +- drivers/net/virtio/virtio_pci.c | 2 +- drivers/net/virtio/virtio_rxtx.c | 2 +- drivers/net/virtio/virtio_rxtx_packed_avx.h | 2 +- drivers/net/virtio/virtqueue.c | 2 +- drivers/net/virtio/virtqueue.h | 4 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.h | 4 +- drivers/raw/ifpga/ifpga_rawdev.c | 10 +-- drivers/raw/ioat/ioat_rawdev.c | 2 +- drivers/raw/ioat/ioat_spec.h | 2 +- drivers/raw/ntb/ntb.h | 2 +- drivers/regex/mlx5/mlx5_regex_fastpath.c | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 2 +- examples/bbdev_app/main.c | 2 +- examples/bond/main.c | 4 +- examples/dma/dmafwd.c | 2 +- examples/ethtool/lib/rte_ethtool.c | 2 +- examples/ethtool/lib/rte_ethtool.h | 4 +- examples/ip_reassembly/main.c | 4 +- examples/ipsec-secgw/event_helper.c | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 14 +-- examples/ipsec-secgw/sa.c | 6 +- examples/ipsec-secgw/sp4.c | 2 +- examples/ipsec-secgw/sp6.c | 2 +- examples/ipsec-secgw/test/common_defs.sh | 4 +- examples/kni/main.c | 2 +- examples/l2fwd-cat/l2fwd-cat.c | 2 +- examples/l2fwd-event/l2fwd_event_generic.c | 2 +- .../l2fwd-event/l2fwd_event_internal_port.c | 2 +- examples/l2fwd-jobstats/main.c | 2 +- examples/l3fwd-acl/main.c | 6 +- examples/l3fwd-power/main.c | 4 +- examples/l3fwd/l3fwd_common.h | 4 +- examples/l3fwd/l3fwd_neon.h | 2 +- examples/l3fwd/l3fwd_sse.h | 2 +- examples/multi_process/hotplug_mp/commands.c | 2 +- examples/multi_process/simple_mp/main.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- examples/ntb/ntb_fwd.c | 2 +- examples/packet_ordering/main.c | 2 +- examples/performance-thread/common/lthread.c | 6 +- .../performance-thread/common/lthread_diag.c | 2 +- .../performance-thread/common/lthread_int.h | 2 +- .../performance-thread/common/lthread_tls.c | 2 +- .../performance-thread/l3fwd-thread/main.c | 12 +-- .../pthread_shim/pthread_shim.h | 2 +- examples/pipeline/examples/registers.spec | 2 +- examples/qos_sched/cmdline.c | 2 +- examples/server_node_efd/node/node.c | 2 +- examples/skeleton/basicfwd.c | 2 +- examples/vhost/main.c | 10 +-- examples/vhost/virtio_net.c | 50 +++++------ examples/vm_power_manager/channel_monitor.c | 2 +- examples/vm_power_manager/power_manager.h | 2 +- examples/vmdq/main.c | 2 +- kernel/linux/kni/kni_fifo.h | 2 +- lib/acl/acl_bld.c | 2 +- lib/acl/acl_run_altivec.h | 2 +- lib/acl/acl_run_avx512.c | 2 +- lib/acl/acl_run_avx512x16.h | 14 +-- lib/acl/acl_run_avx512x8.h | 12 +-- lib/bpf/bpf_convert.c | 4 +- lib/bpf/bpf_validate.c | 10 +-- lib/cryptodev/rte_cryptodev.h | 2 +- lib/dmadev/rte_dmadev.h | 4 +- lib/eal/arm/include/rte_cycles_32.h | 2 +- lib/eal/common/eal_common_trace_ctf.c | 8 +- lib/eal/freebsd/eal_interrupts.c | 4 +- lib/eal/include/generic/rte_pflock.h | 2 +- lib/eal/include/rte_malloc.h | 4 +- lib/eal/linux/eal_interrupts.c | 4 +- lib/eal/linux/eal_vfio.h | 2 +- lib/eal/windows/eal_windows.h | 2 +- lib/eal/windows/include/dirent.h | 4 +- lib/eal/windows/include/fnmatch.h | 4 +- lib/eal/x86/include/rte_atomic.h | 2 +- lib/eventdev/rte_event_eth_rx_adapter.c | 6 +- lib/fib/rte_fib.c | 4 +- lib/fib/rte_fib.h | 4 +- lib/fib/rte_fib6.c | 4 +- lib/fib/rte_fib6.h | 4 +- lib/graph/graph_populate.c | 4 +- lib/hash/rte_crc_arm64.h | 2 +- lib/hash/rte_thash.c | 2 +- lib/ip_frag/ip_frag_internal.c | 2 +- lib/ipsec/ipsec_sad.c | 10 +-- lib/ipsec/ipsec_telemetry.c | 2 +- lib/ipsec/rte_ipsec_sad.h | 2 +- lib/ipsec/sa.c | 2 +- lib/mbuf/rte_mbuf_core.h | 2 +- lib/meson.build | 2 +- lib/net/rte_l2tpv2.h | 4 +- lib/pipeline/rte_swx_ctl.h | 4 +- lib/pipeline/rte_swx_pipeline_internal.h | 4 +- lib/pipeline/rte_swx_pipeline_spec.c | 2 +- lib/power/power_cppc_cpufreq.c | 2 +- lib/regexdev/rte_regexdev.h | 6 +- lib/ring/rte_ring_core.h | 2 +- lib/sched/rte_pie.h | 6 +- lib/sched/rte_red.h | 4 +- lib/sched/rte_sched.c | 2 +- lib/sched/rte_sched.h | 2 +- lib/table/rte_swx_table.h | 2 +- lib/table/rte_swx_table_selector.h | 2 +- lib/telemetry/telemetry.c | 2 +- lib/telemetry/telemetry_json.h | 2 +- lib/vhost/vhost_user.c | 4 +- lib/vhost/virtio_net.c | 10 +-- 483 files changed, 1328 insertions(+), 1328 deletions(-)
app/proc-info/main.c +3 -3
@@ -630,7 +630,7 @@ metrics_display(int port_id) names =rte_malloc (NULL ,sizeof (struct rte_metric_name ) * len,0 );if (names ==NULL ) { -printf ("Cannot allocate memory for metrcis names\n" ); +printf ("Cannot allocate memory for metrics names\n" );rte_free (metrics);return ; }
@@ -1109,7 +1109,7 @@ show_tm(void) caplevel.n_nodes_max, caplevel.n_nodes_nonleaf_max, caplevel.n_nodes_leaf_max); -printf ("\t -- indetical: non leaf %u leaf %u\n" , +printf ("\t -- identical: non leaf %u leaf %u\n" , caplevel.non_leaf_nodes_identical, caplevel.leaf_nodes_identical);
@@ -1263,7 +1263,7 @@ show_ring(char *name) printf(" - Name (%s) on socket (%d)\n" " - flags:\n" "\t -- Single Producer Enqueue (%u)\n" - "\t -- Single Consmer Dequeue (%u)\n", + "\t -- Single Consumer Dequeue (%u)\n", ptr->name, ptr->memzone->socket_id, ptr->flags & RING_F_SP_ENQ,
app/test-acl/main.c +3 -3
@@ -386,8 +386,8 @@ parse_cb_ipv4_trace(char *str, struct ipv4_5tuple *v) }/* -* Parses IPV6 address, exepcts the following format: -* XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX (where X - is a hexedecimal digit). +* Parses IPV6 address, expects the following format: +* XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX (where X - is a hexadecimal digit). */ static int parse_ipv6_addr(const char *in, const char **end, uint32_t v[IPV6_ADDR_U32],
@@ -994,7 +994,7 @@ print_usage(const char *prgname)"should be either 1 or multiple of %zu, " "but not greater then %u]\n" "[--" OPT_MAX_SIZE -"=<size limit (in bytes) for runtime ACL strucutures> " +"=<size limit (in bytes) for runtime ACL structures> " "leave 0 for default behaviour]\n" "[--" OPT_ITER_NUM "=<number of iterations to perform>]\n" "[--" OPT_VERBOSE "=<verbose level>]\n"
app/test-compress-perf/comp_perf_test_cyclecount.c +1 -1
@@ -180,7 +180,7 @@ main_loop(struct cperf_cyclecount_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/comp_perf_test_throughput.c +1 -1
@@ -72,7 +72,7 @@ main_loop(struct cperf_benchmark_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/comp_perf_test_verify.c +1 -1
@@ -75,7 +75,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/main.c +1 -1
@@ -67,7 +67,7 @@ comp_perf_check_capabilities(struct comp_test_data *test_data, uint8_t cdev_id)uint64_t comp_flags = cap->comp_feature_flags; -/* Huffman enconding */ +/* Huffman encoding */ if (test_data->huffman_enc ==RTE_COMP_HUFFMAN_FIXED && (comp_flags &RTE_COMP_FF_HUFFMAN_FIXED ) ==0 ) { RTE_LOG(ERR, USER1,
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1 -1
@@ -334,7 +334,7 @@ pmd_cyclecount_bench_burst_sz(* queue, so we never get any failed enqs unless the driver won't accept * the exact number of descriptors we requested, or the driver won't * wrap around the end of the TX ring. However, since we're only -* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it * piecemeal and then average out the results. */ cur_op =0 ;
app/test-crypto-perf/cperf_test_vectors.h +2 -2
@@ -2,8 +2,8 @@* Copyright(c) 2016-2017 Intel Corporation */ -#ifndef _CPERF_TEST_VECTRORS_ -#define _CPERF_TEST_VECTRORS_ +#ifndef _CPERF_TEST_VECTORS_ +#define _CPERF_TEST_VECTORS_#include "cperf_options.h"
app/test-eventdev/evt_options.c +1 -1
@@ -336,7 +336,7 @@ usage(char *program)"\t--deq_tmo_nsec : global dequeue timeout\n" "\t--prod_type_ethdev : use ethernet device as producer.\n" "\t--prod_type_timerdev : use event timer device as producer.\n" -"\t expity_nsec would be the timeout\n" +"\t expiry_nsec would be the timeout\n" "\t in ns.\n" "\t--prod_type_timerdev_burst : use timer device as producer\n" "\t burst mode.\n"
app/test-eventdev/test_order_common.c +1 -1
@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));evt_dump_worker_lcores (opt);evt_dump ("nb_evdev_ports" ,"%d" ,order_nb_event_ports (opt)); }
app/test-fib/main.c +2 -2
@@ -624,7 +624,7 @@ print_usage(void)"(if -f is not specified)>]\n" "[-r <percentage ratio of random ip's to lookup" "(if -t is not specified)>]\n" -"[-c <do comarison with LPM library>]\n" +"[-c <do comparison with LPM library>]\n" "[-6 <do tests with ipv6 (default ipv4)>]\n" "[-s <shuffle randomly generated routes>]\n" "[-a <check nexthops for all ipv4 address space"
@@ -641,7 +641,7 @@ print_usage(void)"[-g <number of tbl8's for dir24_8 or trie FIBs>]\n" "[-w <path to the file to dump routing table>]\n" "[-u <path to the file to dump ip's for lookup>]\n" -"[-v <type of loookup function:" +"[-v <type of lookup function:" "\ts1, s2, s3 (3 types of scalar), v (vector) -" " for DIR24_8 based FIB\n" "\ts, v - for TRIE based ipv6 FIB>]\n",
app/test-flow-perf/config.h +1 -1
@@ -28,7 +28,7 @@#define PORT_ID_DST 1#define TEID_VALUE 1 -/* Flow items/acctions max size */ +/* Flow items/actions max size */ #define MAX_ITEMS_NUM 32#define MAX_ACTIONS_NUM 32#define MAX_ATTRS_NUM 16
app/test-flow-perf/main.c +1 -1
@@ -1519,7 +1519,7 @@ dump_used_cpu_time(const char *item,* threads time. * * Throughput: total count of rte rules divided -* over the average of the time cosumed by all +* over the average of the time consumed by all * threads time. */ double insertion_latency_time;
app/test-pmd/cmdline.c +1 -1
@@ -561,7 +561,7 @@ static void cmd_help_long_parsed(void *parsed_result," Set the option to enable display of RX and TX bursts.\n" "set port (port_id) vf (vf_id) rx|tx on|off\n" -" Enable/Disable a VF receive/tranmit from a port\n\n" +" Enable/Disable a VF receive/transmit from a port\n\n" "set port (port_id) vf (vf_id) rxmode (AUPE|ROPE|BAM" "|MPE) (on|off)\n"
app/test-pmd/cmdline_flow.c +3 -3
@@ -2162,7 +2162,7 @@ static const struct token token_list[] = { }, [COMMON_POLICY_ID] = { .name = "{policy_id}", - .type = "POLCIY_ID", + .type = "POLICY_ID", .help = "policy id", .call = parse_int, .comp = comp_none,
@@ -2370,7 +2370,7 @@ static const struct token token_list[] = { }, [TUNNEL_DESTROY] = { .name = "destroy", - .help = "destroy tunel", + .help = "destroy tunnel", .next =NEXT (NEXT_ENTRY (TUNNEL_DESTROY_ID ), NEXT_ENTRY(COMMON_PORT_ID)), .args = ARGS(ARGS_ENTRY(struct buffer, port)),
@@ -2378,7 +2378,7 @@ static const struct token token_list[] = { }, [TUNNEL_DESTROY_ID] = { .name = "id", - .help = "tunnel identifier to testroy", + .help = "tunnel identifier to destroy", .next = NEXT(NEXT_ENTRY(COMMON_UNSIGNED)), .args = ARGS(ARGS_ENTRY(struct tunnel_ops, id)), .call = parse_tunnel,
app/test-pmd/cmdline_tm.c +2 -2
@@ -69,7 +69,7 @@ print_err_msg(struct rte_tm_error *error) [RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SHARED_SHAPERS ] = "num shared shapers field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_WFQ_WEIGHT_MODE ] - = "wfq weght mode field (node params)", + = "wfq weight mode field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SP_PRIORITIES ] = "num strict priorities field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_CMAN ]
@@ -479,7 +479,7 @@ static void cmd_show_port_tm_level_cap_parsed(void *parsed_result,cmdline_parse_inst_t cmd_show_port_tm_level_cap = { .f = cmd_show_port_tm_level_cap_parsed, .data =NULL , - .help_str ="Show Port TM Hierarhical level Capabilities" , + .help_str ="Show Port TM Hierarchical level Capabilities" , .tokens = { (void *)&cmd_show_port_tm_level_cap_show, (void *)&cmd_show_port_tm_level_cap_port,
app/test-pmd/csumonly.c +1 -1
@@ -796,7 +796,7 @@ pkt_copy_split(const struct rte_mbuf *pkt)* * The testpmd command line for this forward engine sets the flags * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control -* wether a checksum must be calculated in software or in hardware. The +* whether a checksum must be calculated in software or in hardware. The * IP, UDP, TCP and SCTP flags always concern the inner layer. The * OUTER_IP is only useful for tunnel packets. */
app/test-pmd/parameters.c +1 -1
@@ -110,7 +110,7 @@ usage(char* progname)"If the drop-queue doesn't exist, the packet is dropped. " "By default drop-queue=127.\n");#ifdef RTE_LIB_LATENCYSTATS -printf (" --latencystats=N: enable latency and jitter statistcs " +printf (" --latencystats=N: enable latency and jitter statistics " "monitoring on forwarding lcore id N.\n" );#endif printf (" --disable-crc-strip: disable CRC stripping by hardware.\n" );
app/test-pmd/testpmd.c +1 -1
@@ -449,7 +449,7 @@ uint32_t bypass_timeout = RTE_PMD_IXGBE_BYPASS_TMT_OFF;uint8_t latencystats_enabled;/* -* Lcore ID to serive latency statistics. +* Lcore ID to service latency statistics. */ lcoreid_t latencystats_lcore_id =-1 ;
app/test-pmd/txonly.c +2 -2
@@ -174,14 +174,14 @@ update_pkt_header(struct rte_mbuf *pkt, uint32_t total_pkt_len)sizeof (struct rte_ether_hdr ) +sizeof (struct rte_ipv4_hdr ) + sizeof(struct rte_udp_hdr))); -/* updata udp pkt length */ +/* update udp pkt length */ udp_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_udp_hdr *,sizeof (struct rte_ether_hdr ) +sizeof (struct rte_ipv4_hdr )); pkt_len = (uint16_t ) (pkt_data_len +sizeof (struct rte_udp_hdr )); udp_hdr->dgram_len =RTE_CPU_TO_BE_16 (pkt_len); -/* updata ip pkt length and csum */ +/* update ip pkt length and csum */ ip_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_ipv4_hdr *,sizeof (struct rte_ether_hdr )); ip_hdr->hdr_checksum =0 ;
app/test/test_barrier.c +1 -1
@@ -11,7 +11,7 @@* (https://en.wikipedia.org/wiki/Peterson%27s_algorithm) * for two execution units to make sure that rte_smp_mb() prevents * store-load reordering to happen. -* Also when executed on a single lcore could be used as a approxiamate +* Also when executed on a single lcore could be used as a approximate * estimation of number of cycles particular implementation of rte_smp_mb() * will take. */
app/test/test_bpf.c +2 -2
@@ -23,7 +23,7 @@/* * Basic functional tests for librte_bpf. * The main procedure - load eBPF program, execute it and -* compare restuls with expected values. +* compare results with expected values. */ struct dummy_offset {
@@ -2707,7 +2707,7 @@ test_ld_mbuf1_check(uint64_t rc, const void *arg) }/* -* same as ld_mbuf1, but then trancate the mbuf by 1B, +* same as ld_mbuf1, but then truncate the mbuf by 1B, * so load of last 4B fail. */ static void
app/test/test_compressdev.c +1 -1
@@ -1256,7 +1256,7 @@ test_deflate_comp_run(const struct interim_data_params *int_data,/* * Store original operation index in private data, * since ordering does not have to be maintained, -* when dequeueing from compressdev, so a comparison +* when dequeuing from compressdev, so a comparison * at the end of the test can be done. */ priv_data = (struct priv_op_data *) (ops[i] +1 );
app/test/test_cryptodev.c +1 -1
@@ -6870,7 +6870,7 @@ test_snow3g_decryption_with_digest_test_case_1(void) }/* -* Function prepare data for hash veryfication test case. +* Function prepare data for hash verification test case. * Digest is allocated in 4 last bytes in plaintext, pattern. */ snow3g_hash_test_vector_setup (&snow3g_test_case_7, &snow3g_hash_data);
app/test/test_fib_perf.c +1 -1
@@ -346,7 +346,7 @@ test_fib_perf(void) fib =rte_fib_create (__func__,SOCKET_ID_ANY , &config);TEST_FIB_ASSERT (fib !=NULL ); -/* Measue add. */ +/* Measure add. */ begin =rte_rdtsc ();for (i =0 ; i <NUM_ROUTE_ENTRIES ; i++) {
app/test/test_kni.c +2 -2
@@ -326,7 +326,7 @@ test_kni_register_handler_mp(void)/* Check with the invalid parameters */ if (rte_kni_register_handlers (kni,NULL ) ==0 ) { -printf ("Unexpectedly register successuflly " +printf ("Unexpectedly register successfully " "with NULL ops pointer\n" );exit (-1 ); }
@@ -475,7 +475,7 @@ test_kni_processing(uint16_t port_id, struct rte_mempool *mp)/** * Check multiple processes support on -* registerring/unregisterring handlers. +* registering/unregistering handlers. */ if (test_kni_register_handler_mp () <0 ) {printf ("fail to check multiple process support\n" );
app/test/test_kvargs.c +8 -8
@@ -11,7 +11,7 @@#include "test.h" -/* incrementd in handler, to check it is properly called once per +/* incremented in handler, to check it is properly called once per * key/value association */ static unsigned count;
@@ -107,14 +107,14 @@ static int test_valid_kvargs(void) goto fail; } count =0 ; -/* call check_handler() for all entries with key="unexistant_key" */ -if (rte_kvargs_process (kvlist,"unexistant_key" , check_handler,NULL ) <0 ) { +/* call check_handler() for all entries with key="nonexistent_key" */ +if (rte_kvargs_process (kvlist,"nonexistent_key" , check_handler,NULL ) <0 ) {printf ("rte_kvargs_process() error\n" );rte_kvargs_free (kvlist); goto fail; }if (count !=0 ) { -printf ("invalid count value %d after rte_kvargs_process(unexistant_key)\n" , +printf ("invalid count value %d after rte_kvargs_process(nonexistent_key)\n" , count);rte_kvargs_free (kvlist); goto fail;
@@ -135,10 +135,10 @@ static int test_valid_kvargs(void)rte_kvargs_free (kvlist); goto fail; } -/* count all entries with key="unexistant_key" */ - count =rte_kvargs_count (kvlist,"unexistant_key" ); +/* count all entries with key="nonexistent_key" */ + count =rte_kvargs_count (kvlist,"nonexistent_key" );if (count !=0 ) { -printf ("invalid count value %d after rte_kvargs_count(unexistant_key)\n" , +printf ("invalid count value %d after rte_kvargs_count(nonexistent_key)\n" , count);rte_kvargs_free (kvlist); goto fail;
@@ -156,7 +156,7 @@ static int test_valid_kvargs(void)/* call check_handler() on all entries with key="check", it * should fail as the value is not recognized by the handler */ if (rte_kvargs_process (kvlist,"check" , check_handler,NULL ) ==0 ) { -printf ("rte_kvargs_process() is success bu should not\n" ); +printf ("rte_kvargs_process() is success but should not\n" );rte_kvargs_free (kvlist); goto fail; }
app/test/test_link_bonding.c +2 -2
@@ -2026,7 +2026,7 @@ uint8_t polling_slave_mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0x00, 0x00 };int polling_test_slaves[TEST_RR_POLLING_LINK_STATUS_SLAVE_COUNT ] = {-1 ,-1 };static int -test_roundrobin_verfiy_polling_slave_link_status_change (void ) +test_roundrobin_verify_polling_slave_link_status_change (void ) {struct rte_ether_addr *mac_addr = (struct rte_ether_addr *)polling_slave_mac;
@@ -5118,7 +5118,7 @@ static struct unit_test_suite link_bonding_test_suite = {TEST_CASE (test_roundrobin_verify_promiscuous_enable_disable),TEST_CASE (test_roundrobin_verify_mac_assignment),TEST_CASE (test_roundrobin_verify_slave_link_status_change_behaviour), -TEST_CASE (test_roundrobin_verfiy_polling_slave_link_status_change), +TEST_CASE (test_roundrobin_verify_polling_slave_link_status_change),TEST_CASE (test_activebackup_tx_burst),TEST_CASE (test_activebackup_rx_burst), TEST_CASE(test_activebackup_verify_promiscuous_enable_disable),
app/test/test_link_bonding_mode4.c +15 -15
@@ -58,11 +58,11 @@ static const struct rte_ether_addr slave_mac_default = { { 0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00 } }; -static const struct rte_ether_addr parnter_mac_default = { +static const struct rte_ether_addr partner_mac_default = { {0x22 ,0xBB ,0xFF ,0xBB ,0x00 ,0x00 } }; -static const struct rte_ether_addr parnter_system = { +static const struct rte_ether_addr partner_system = { {0x33 ,0xFF ,0xBB ,0xFF ,0x00 ,0x00 } };
@@ -76,7 +76,7 @@ struct slave_conf {uint16_t port_id; uint8_t bonded : 1; -uint8_t lacp_parnter_state; +uint8_t lacp_partner_state; };struct ether_vlan_hdr {
@@ -258,7 +258,7 @@ add_slave(struct slave_conf *slave, uint8_t start)TEST_ASSERT_EQUAL (rte_is_same_ether_addr (&addr, &addr_check),1 ,"Slave MAC address is not as expected" ); -RTE_VERIFY (slave->lacp_parnter_state ==0 ); +RTE_VERIFY (slave->lacp_partner_state ==0 );return 0 ; }
@@ -288,7 +288,7 @@ remove_slave(struct slave_conf *slave) test_params.bonded_port_id); slave->bonded =0 ; - slave->lacp_parnter_state =0 ; + slave->lacp_partner_state =0 ;return 0 ; }
@@ -501,20 +501,20 @@ make_lacp_reply(struct slave_conf *slave, struct rte_mbuf *pkt) slow_hdr = rte_pktmbuf_mtod(pkt, struct slow_protocol_frame *);/* Change source address to partner address */ -rte_ether_addr_copy (&parnter_mac_default, &slow_hdr->eth_hdr.src_addr); +rte_ether_addr_copy (&partner_mac_default, &slow_hdr->eth_hdr.src_addr); slow_hdr->eth_hdr.src_addr.addr_bytes[RTE_ETHER_ADDR_LEN -1 ] = slave->port_id; lacp = (struct lacpdu *) &slow_hdr->slow_protocol;/* Save last received state */ - slave->lacp_parnter_state = lacp->actor.state; + slave->lacp_partner_state = lacp->actor.state;/* Change it into LACP replay by matching parameters. */ memcpy (&lacp->partner.port_params, &lacp->actor.port_params,sizeof (struct port_params )); lacp->partner.state = lacp->actor.state; -rte_ether_addr_copy (&parnter_system, &lacp->actor.port_params.system); +rte_ether_addr_copy (&partner_system, &lacp->actor.port_params.system); lacp->actor.state =STATE_LACP_ACTIVE |STATE_SYNCHRONIZATION | STATE_AGGREGATION |
@@ -580,7 +580,7 @@ bond_handshake_done(struct slave_conf *slave)const uint8_t expected_state =STATE_LACP_ACTIVE |STATE_SYNCHRONIZATION |STATE_AGGREGATION |STATE_COLLECTING |STATE_DISTRIBUTING ; -return slave->lacp_parnter_state == expected_state; +return slave->lacp_partner_state == expected_state; } static unsigned
@@ -1134,7 +1134,7 @@ test_mode4_tx_burst(void)if (slave_down_id == slave->port_id) {TEST_ASSERT_EQUAL (normal_cnt + slow_cnt,0 , -"slave %u enexpectedly transmitted %u packets" , +"slave %u unexpectedly transmitted %u packets" , normal_cnt + slow_cnt, slave->port_id); }else { TEST_ASSERT_EQUAL(slow_cnt, 0,
@@ -1165,7 +1165,7 @@ init_marker(struct rte_mbuf *pkt, struct slave_conf *slave) &marker_hdr->eth_hdr.dst_addr);/* Init source address */ -rte_ether_addr_copy (&parnter_mac_default, +rte_ether_addr_copy (&partner_mac_default, &marker_hdr->eth_hdr.src_addr); marker_hdr->eth_hdr.src_addr.addr_bytes[RTE_ETHER_ADDR_LEN -1 ] = slave->port_id;
@@ -1353,7 +1353,7 @@ test_mode4_expired(void)/* After test only expected slave should be in EXPIRED state */ FOR_EACH_SLAVE(i, slave) {if (slave == exp_slave) -TEST_ASSERT (slave->lacp_parnter_state &STATE_EXPIRED , +TEST_ASSERT (slave->lacp_partner_state &STATE_EXPIRED ,"Slave %u should be in expired." , slave->port_id);else TEST_ASSERT_EQUAL(bond_handshake_done(slave), 1,
@@ -1392,7 +1392,7 @@ test_mode4_ext_ctrl(void) }, }; -rte_ether_addr_copy (&parnter_system, &src_mac); +rte_ether_addr_copy (&partner_system, &src_mac);rte_ether_addr_copy (&slow_protocol_mac_addr, &dst_mac); initialize_eth_header(&lacpdu.eth_hdr, &src_mac, &dst_mac,
@@ -1446,7 +1446,7 @@ test_mode4_ext_lacp(void) }, }; -rte_ether_addr_copy (&parnter_system, &src_mac); +rte_ether_addr_copy (&partner_system, &src_mac);rte_ether_addr_copy (&slow_protocol_mac_addr, &dst_mac); initialize_eth_header(&lacpdu.eth_hdr, &src_mac, &dst_mac,
@@ -1535,7 +1535,7 @@ check_environment(void)if (port->bonded !=0 ) env_state |=0x04 ; -if (port->lacp_parnter_state !=0 ) +if (port->lacp_partner_state !=0 ) env_state |=0x08 ;if (env_state !=0 )
app/test/test_lpm6_data.h +1 -1
@@ -22,7 +22,7 @@ struct ips_tbl_entry {* in previous test_lpm6_routes.h . Because this table has only 1000 * lines, keeping it doesn't make LPM6 test case so large and also * make the algorithm to generate rule table unnecessary and the -* algorithm to genertate test input IPv6 and associated expected +* algorithm to generate test input IPv6 and associated expected * next_hop much simple. */
app/test/test_member.c +1 -1
@@ -459,7 +459,7 @@ static int test_member_multimatch(void) MAX_MATCH, set_ids_cache);/* * For cache mode, keys overwrite when signature same. -* the mutimatch should work like single match. +* the multimatch should work like single match. */ TEST_ASSERT(ret_ht == M_MATCH_CNT && ret_vbf == M_MATCH_CNT && ret_cache == 1,
app/test/test_mempool.c +2 -2
@@ -304,7 +304,7 @@ static int test_mempool_single_consumer(void) }/* -* test function for mempool test based on singple consumer and single producer, +* test function for mempool test based on single consumer and single producer, * can run on one lcore only */ static int
@@ -322,7 +322,7 @@ my_mp_init(struct rte_mempool *mp, __rte_unused void *arg) }/* -* it tests the mempool operations based on singple producer and single consumer +* it tests the mempool operations based on single producer and single consumer */ static int test_mempool_sp_sc (void )
app/test/test_memzone.c +3 -3
@@ -543,7 +543,7 @@ test_memzone_reserve_max(void) }if (mz->len != maxlen) { -printf ("Memzone reserve with 0 size did not return bigest block\n" ); +printf ("Memzone reserve with 0 size did not return biggest block\n" );printf ("Expected size = %zu, actual size = %zu\n" , maxlen, mz->len);rte_dump_physmem_layout (stdout);
@@ -606,7 +606,7 @@ test_memzone_reserve_max_aligned(void)if (mz->len < minlen || mz->len > maxlen) {printf ("Memzone reserve with 0 size and alignment %u did not return" -" bigest block\n" , align); +" biggest block\n" , align);printf ("Expected size = %zu-%zu, actual size = %zu\n" , minlen, maxlen, mz->len);rte_dump_physmem_layout (stdout);
@@ -1054,7 +1054,7 @@ test_memzone_basic(void)if (mz != memzone1)return -1 ; -printf ("test duplcate zone name\n" ); +printf ("test duplicate zone name\n" ); mz =rte_memzone_reserve (TEST_MEMZONE_NAME ("testzone1" ),100 ,SOCKET_ID_ANY ,0 );if (mz !=NULL )
app/test/test_metrics.c +1 -1
@@ -121,7 +121,7 @@ test_metrics_update_value(void) err =rte_metrics_update_value (RTE_METRICS_GLOBAL ,KEY ,VALUE );TEST_ASSERT (err >=0 ,"%s, %d" , __func__, __LINE__); -/* Successful Test: Valid port_id otherthan RTE_METRICS_GLOBAL, key +/* Successful Test: Valid port_id other than RTE_METRICS_GLOBAL, key * and value */ err =rte_metrics_update_value (9 ,KEY ,VALUE );
app/test/test_pcapng.c +1 -1
@@ -109,7 +109,7 @@ test_setup(void)return -1 ; } -/* Make a pool for cloned packeets */ +/* Make a pool for cloned packets */ mp = rte_pktmbuf_pool_create_by_ops("pcapng_test_pool", NUM_PACKETS, 0, 0, rte_pcapng_mbuf_size(pkt_len),
app/test/test_power_cpufreq.c +1 -1
@@ -659,7 +659,7 @@ test_power_cpufreq(void)/* test of exit power management for an invalid lcore */ ret =rte_power_exit (TEST_POWER_LCORE_INVALID );if (ret ==0 ) { -printf ("Unpectedly exit power management successfully for " +printf ("Unexpectedly exit power management successfully for " "lcore %u\n" ,TEST_POWER_LCORE_INVALID );rte_power_unset_env ();return -1 ;
app/test/test_rcu_qsbr.c +2 -2
@@ -408,7 +408,7 @@ test_rcu_qsbr_synchronize_reader(void *arg)/* * rte_rcu_qsbr_synchronize: Wait till all the reader threads have entered -* the queiscent state. +* the quiescent state. */ static int test_rcu_qsbr_synchronize (void )
@@ -443,7 +443,7 @@ test_rcu_qsbr_synchronize(void)rte_rcu_qsbr_synchronize (t[0 ],RTE_MAX_LCORE -1 );rte_rcu_qsbr_thread_offline (t[0 ],RTE_MAX_LCORE -1 ); -/* Test if the API returns after unregisterng all the threads */ +/* Test if the API returns after unregistering all the threads */ for (i =0 ; i <RTE_MAX_LCORE ; i++)rte_rcu_qsbr_thread_unregister (t[0 ], i);rte_rcu_qsbr_synchronize (t[0 ],RTE_QSBR_THRID_INVALID );
app/test/test_red.c +4 -4
@@ -1566,10 +1566,10 @@ static void ovfl_check_avg(uint32_t avg) }static struct test_config ovfl_test1_config = { - .ifname ="queue avergage overflow test interface" , + .ifname ="queue average overflow test interface" , .msg ="overflow test 1 : use one RED configuration,\n" " increase average queue size to target level,\n" -" check maximum number of bits requirte_red to represent avg_s\n\n" , +" check maximum number of bits required to represent avg_s\n\n" , .htxt ="avg queue size " "wq_log2 " "fraction bits "
@@ -1757,12 +1757,12 @@ test_invalid_parameters(void)printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ; } -/* min_treshold == max_treshold */ +/* min_threshold == max_threshold */ if (rte_red_config_init (&config,0 ,1 ,1 ,0 ) ==0 ) {printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ; } -/* min_treshold > max_treshold */ +/* min_threshold > max_threshold */ if (rte_red_config_init (&config,0 ,2 ,1 ,0 ) ==0 ) {printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ;
app/test/test_security.c +1 -1
@@ -237,7 +237,7 @@* increases .called counter. Function returns value stored in .ret field * of the structure. * In case of some parameters in some functions the expected value is unknown -* and cannot be detrmined prior to call. Such parameters are stored +* and cannot be determined prior to call. Such parameters are stored * in structure and can be compared or analyzed later in test case code. * * Below structures and functions follow the rules just described.
app/test/test_table.h +1 -1
@@ -25,7 +25,7 @@#define MAX_BULK 32#define N 65536#define TIME_S 5 -#define TEST_RING_FULL_EMTPY_ITER 8 +#define TEST_RING_FULL_EMPTY_ITER 8#define N_PORTS 2#define N_PKTS 2#define N_PKTS_EXT 6
app/test/test_table_pipeline.c +1 -1
@@ -364,7 +364,7 @@ setup_pipeline(int test_type) .action = RTE_PIPELINE_ACTION_PORT, {.port_id = port_out_id[i^1]}, }; -printf ("Setting secont table to output to port\n" ); +printf ("Setting second table to output to port\n" );/* Add the default action for the table. */ ret = rte_pipeline_table_default_entry_add(p,
app/test/test_thash.c +1 -1
@@ -684,7 +684,7 @@ test_predictable_rss_multirange(void)/* * calculate hashes, complements, then adjust keys with -* complements and recalsulate hashes +* complements and recalculate hashes */ for (i =0 ; i <RTE_DIM (rng_arr); i++) {for (k =0 ; k <100 ; k++) {
buildtools/binutils-avx512-check.py +1 -1
@@ -1,5 +1,5 @@ #! /usr/bin/env python3 -# SPDX-License-Identitifer: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2020 Intel Corporation import subprocess
devtools/check-symbol-change.sh +3 -3
@@ -25,7 +25,7 @@ build_map_changes() # Triggering this rule, which starts a line and ends it # with a { identifies a versioned section. The section name is - # the rest of the line with the + and { symbols remvoed. + # the rest of the line with the + and { symbols removed. # Triggering this rule sets in_sec to 1, which actives the # symbol rule below /^.*{/ {
@@ -35,7 +35,7 @@ build_map_changes() } } - # This rule idenfies the end of a section, and disables the + # This rule identifies the end of a section, and disables the # symbol rule /.*}/ {in_sec=0}
@@ -100,7 +100,7 @@ check_for_rule_violations() # Just inform the user of this occurrence, but # don't flag it as an error echo -n "INFO: symbol $symname is added but " - echo -n "patch has insuficient context " + echo -n "patch has insufficient context " echo -n "to determine the section name " echo -n "please ensure the version is " echo "EXPERIMENTAL"
doc/guides/howto/img/virtio_user_for_container_networking.svg +1 -1
@@ -465,7 +465,7 @@ v:mID="63" id="shape63-63"><title id="title149">Sheet.63</title><desc - id="desc151">Contanier/App</desc><v:textBlock + id="desc151">Container/App</desc><v:textBlock v:margins="rect(4,4,4,4)" /><v:textRect height="22.5" width="90"
doc/guides/nics/af_packet.rst +1 -1
@@ -9,7 +9,7 @@ packets. This Linux-specific PMD binds to an AF_PACKET socket and allows a DPDK application to send and receive raw packets through the Kernel. In order to improve Rx and Tx performance this implementation makes use of -PACKET_MMAP, which provides a mmap'ed ring buffer, shared between user space +PACKET_MMAP, which provides a mmapped ring buffer, shared between user space and kernel, that's used to send and receive packets. This helps reducing system calls and the copies needed between user space and Kernel.
doc/guides/nics/mlx4.rst +1 -1
@@ -178,7 +178,7 @@ DPDK and must be installed separately: - mlx4_core: hardware driver managing Mellanox ConnectX-3 devices. - mlx4_en: Ethernet device driver that provides kernel network interfaces. - - mlx4_ib: InifiniBand device driver. + - mlx4_ib: InfiniBand device driver. - ib_uverbs: user space driver for verbs (entry point for libibverbs). - **Firmware update**
doc/guides/nics/mlx5.rst +3 -3
@@ -649,7 +649,7 @@ Driver options A timeout value is set in the driver to control the waiting time before dropping a packet. Once the timer is expired, the delay drop will be - deactivated for all the Rx queues with this feature enable. To re-activeate + deactivated for all the Rx queues with this feature enable. To re-activate it, a rearming is needed and it is part of the kernel driver starting from OFED 5.5.
@@ -1033,7 +1033,7 @@ Driver options For the MARK action the last 16 values in the full range are reserved for internal PMD purposes (to emulate FLAG action). The valid range for the - MARK action values is 0-0xFFEF for the 16-bit mode and 0-xFFFFEF + MARK action values is 0-0xFFEF for the 16-bit mode and 0-0xFFFFEF for the 24-bit mode, the flows with the MARK action value outside the specified range will be rejected.
@@ -1317,7 +1317,7 @@ DPDK and must be installed separately: - mlx5_core: hardware driver managing Mellanox ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices and related Ethernet kernel network devices. - - mlx5_ib: InifiniBand device driver. + - mlx5_ib: InfiniBand device driver. - ib_uverbs: user space driver for Verbs (entry point for libibverbs). - **Firmware update**
doc/guides/prog_guide/cryptodev_lib.rst +1 -1
@@ -751,7 +751,7 @@ feature is useful when the user wants to abandon partially enqueued operations for a failed enqueue burst operation and try enqueuing in a whole later. Similar as enqueue, there are two dequeue functions: -``rte_cryptodev_raw_dequeue`` for dequeing single operation, and +``rte_cryptodev_raw_dequeue`` for dequeuing single operation, and ``rte_cryptodev_raw_dequeue_burst`` for dequeuing a burst of operations (e.g. all operations in a ``struct rte_crypto_sym_vec`` descriptor). The ``rte_cryptodev_raw_dequeue_burst`` function allows the user to provide callback
doc/guides/prog_guide/env_abstraction_layer.rst +2 -2
@@ -433,7 +433,7 @@ and decides on a preferred IOVA mode. - if all buses report RTE_IOVA_PA, then the preferred IOVA mode is RTE_IOVA_PA, - if all buses report RTE_IOVA_VA, then the preferred IOVA mode is RTE_IOVA_VA, -- if all buses report RTE_IOVA_DC, no bus expressed a preferrence, then the +- if all buses report RTE_IOVA_DC, no bus expressed a preference, then the preferred mode is RTE_IOVA_DC, - if the buses disagree (at least one wants RTE_IOVA_PA and at least one wants RTE_IOVA_VA), then the preferred IOVA mode is RTE_IOVA_DC (see below with the
@@ -658,7 +658,7 @@ Known Issues + rte_ring rte_ring supports multi-producer enqueue and multi-consumer dequeue. - However, it is non-preemptive, this has a knock on effect of making rte_mempool non-preemptable. + However, it is non-preemptive, this has a knock on effect of making rte_mempool non-preemptible. .. note::
doc/guides/prog_guide/img/turbo_tb_decode.svg +1 -1
@@ -460,7 +460,7 @@ height="14.642858" x="39.285713" y="287.16254" /></flowRegion><flowPara - id="flowPara4817">offse</flowPara></flowRoot> <text + id="flowPara4817">offset</flowPara></flowRoot> <text xml:space="preserve" style="font-style:normal;font-weight:normal;font-size:3.14881921px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#9cc3e5;fill-opacity:1;stroke:none;stroke-width:0.23616144" x="74.16684"
doc/guides/prog_guide/img/turbo_tb_encode.svg +1 -1
@@ -649,7 +649,7 @@ height="14.642858" x="39.285713" y="287.16254" /></flowRegion><flowPara - id="flowPara4817">offse</flowPara></flowRoot> <text + id="flowPara4817">offset</flowPara></flowRoot> <text xml:space="preserve" style="font-style:normal;font-weight:normal;font-size:3.14881921px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#a8d08d;fill-opacity:1;stroke:none;stroke-width:0.23616144" x="16.351753"
doc/guides/prog_guide/qos_framework.rst +3 -3
@@ -1196,12 +1196,12 @@ In the case of severe congestion, the dropper resorts to tail drop. This occurs when a packet queue has reached maximum capacity and cannot store any more packets. In this situation, all arriving packets are dropped. -The flow through the dropper is illustrated in :numref:`figure_flow_tru_droppper`. +The flow through the dropper is illustrated in :numref:`figure_flow_tru_dropper`. The RED/WRED/PIE algorithm is exercised first and tail drop second. -.. _figure_flow_tru_droppper: +.. _figure_flow_tru_dropper: -.. figure:: img/flow_tru_droppper.* +.. figure:: img/flow_tru_dropper.* Flow Through the Dropper
doc/guides/prog_guide/rte_flow.rst +1 -1
@@ -1379,7 +1379,7 @@ Matches a network service header (RFC 8300). - ``ttl``: maximum SFF hopes (6 bits). - ``length``: total length in 4 bytes words (6 bits). - ``reserved1``: reserved1 bits (4 bits). -- ``mdtype``: ndicates format of NSH header (4 bits). +- ``mdtype``: indicates format of NSH header (4 bits). - ``next_proto``: indicates protocol type of encap data (8 bits). - ``spi``: service path identifier (3 bytes). - ``sindex``: service index (1 byte).
doc/guides/rawdevs/cnxk_bphy.rst +1 -1
@@ -37,7 +37,7 @@ using ``rte_rawdev_queue_conf_get()``. To perform data transfer use standard ``rte_rawdev_enqueue_buffers()`` and ``rte_rawdev_dequeue_buffers()`` APIs. Not all messages produce sensible -responses hence dequeueing is not always necessary. +responses hence dequeuing is not always necessary. BPHY CGX/RPM PMD ----------------
doc/guides/regexdevs/features_overview.rst +1 -1
@@ -22,7 +22,7 @@ PCRE back tracking ctrl Support PCRE back tracking ctrl. PCRE call outs - Support PCRE call outes. + Support PCRE call routes. PCRE forward reference Support Forward reference.
doc/guides/rel_notes/release_16_07.rst +1 -1
@@ -192,7 +192,7 @@ EAL * **igb_uio: Fixed possible mmap failure for Linux >= 4.5.** - The mmaping of the iomem range of the PCI device fails for kernels that + The mmapping of the iomem range of the PCI device fails for kernels that enabled the ``CONFIG_IO_STRICT_DEVMEM`` option. The error seen by the user is as similar to the following::
doc/guides/rel_notes/release_17_08.rst +1 -1
@@ -232,7 +232,7 @@ API Changes * The ``rte_cryptodev_configure()`` function does not create the session mempool for the device anymore. * The ``rte_cryptodev_queue_pair_attach_sym_session()`` and - ``rte_cryptodev_queue_pair_dettach_sym_session()`` functions require + ``rte_cryptodev_queue_pair_detach_sym_session()`` functions require the new parameter ``device id``. * Parameters of ``rte_cryptodev_sym_session_create()`` were modified to accept ``mempool``, instead of ``device id`` and ``rte_crypto_sym_xform``.
doc/guides/rel_notes/release_2_1.rst +1 -1
@@ -671,7 +671,7 @@ Resolved Issues value 0. - Fixes: 40b966a211ab ("ivshmem: library changes for mmaping using ivshmem") + Fixes: 40b966a211ab ("ivshmem: library changes for mmapping using ivshmem") * **ixgbe/base: Fix SFP probing.**
doc/guides/sample_app_ug/ip_reassembly.rst +1 -1
@@ -154,7 +154,7 @@ each RX queue uses its own mempool. .. literalinclude:: ../../../examples/ip_reassembly/main.c :language: c - :start-after: mbufs stored int the gragment table. 8< + :start-after: mbufs stored int the fragment table. 8< :end-before: >8 End of mbufs stored int the fragmentation table. :dedent: 1
doc/guides/sample_app_ug/l2_forward_cat.rst +1 -1
@@ -176,7 +176,7 @@ function. The value returned is the number of parsed arguments: .. literalinclude:: ../../../examples/l2fwd-cat/l2fwd-cat.c :language: c :start-after: Initialize the Environment Abstraction Layer (EAL). 8< - :end-before: >8 End of initializion the Environment Abstraction Layer (EAL). + :end-before: >8 End of initialization the Environment Abstraction Layer (EAL). :dedent: 1 The next task is to initialize the PQoS library and configure CAT. The
doc/guides/sample_app_ug/server_node_efd.rst +1 -1
@@ -191,7 +191,7 @@ flow is not handled by the node. .. literalinclude:: ../../../examples/server_node_efd/node/node.c :language: c :start-after: Packets dequeued from the shared ring. 8< - :end-before: >8 End of packets dequeueing. + :end-before: >8 End of packets dequeuing. Finally, note that both processes updates statistics, such as transmitted, received and dropped packets, which are shown and refreshed by the server app.
doc/guides/sample_app_ug/skeleton.rst +1 -1
@@ -54,7 +54,7 @@ function. The value returned is the number of parsed arguments: .. literalinclude:: ../../../examples/skeleton/basicfwd.c :language: c :start-after: Initializion the Environment Abstraction Layer (EAL). 8< - :end-before: >8 End of initializion the Environment Abstraction Layer (EAL). + :end-before: >8 End of initialization the Environment Abstraction Layer (EAL). :dedent: 1
doc/guides/sample_app_ug/vm_power_management.rst +1 -1
@@ -681,7 +681,7 @@ The following is an example JSON string for a power management request. "resource_id": 10 }} -To query the available frequences of an lcore, use the query_cpu_freq command. +To query the available frequencies of an lcore, use the query_cpu_freq command. Where {core_num} is the lcore to query. Before using this command, please enable responses via the set_query command on the host.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +1 -1
@@ -3510,7 +3510,7 @@ Tunnel offload Indicate tunnel offload rule type - ``tunnel_set {tunnel_id}``: mark rule as tunnel offload decap_set type. -- ``tunnel_match {tunnel_id}``: mark rule as tunel offload match type. +- ``tunnel_match {tunnel_id}``: mark rule as tunnel offload match type. Matching pattern ^^^^^^^^^^^^^^^^
drivers/baseband/acc100/rte_acc100_pmd.c +12 -12
@@ -4343,7 +4343,7 @@ poweron_cleanup(struct rte_bbdev *bbdev, struct acc100_device *d,for (template_idx =ACC100_SIG_UL_5G ; template_idx <=ACC100_SIG_UL_5G_LAST ; template_idx++) { - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;if (template_idx == failed_engine)acc100_reg_write (d, address, value);
@@ -4392,7 +4392,7 @@ poweron_cleanup(struct rte_bbdev *bbdev, struct acc100_device *d, address = HwPfFecUl5gIbDebugReg +ACC100_ENGINE_OFFSET * template_idx; status = (acc100_reg_read (d, address) >>4 ) &0xF ; - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;if (status ==1 ) {acc100_reg_write (d, address, value);
@@ -4470,7 +4470,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)acc100_reg_write (d, address, value);/* Set default descriptor signature */ - address = HWPfDmaDescriptorSignatuture; + address = HWPfDmaDescriptorSignature; value =0 ;acc100_reg_write (d, address, value);
@@ -4522,19 +4522,19 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)/* Template Priority in incremental order */ for (template_idx =0 ; template_idx <ACC100_NUM_TMPL ; template_idx++) { - address = HWPfQmgrGrpTmplateReg0Indx + + address = HWPfQmgrGrpTemplateReg0Indx +ACC100_BYTES_IN_WORD * (template_idx %8 ); value =ACC100_TMPL_PRI_0 ;acc100_reg_write (d, address, value); - address = HWPfQmgrGrpTmplateReg1Indx + + address = HWPfQmgrGrpTemplateReg1Indx +ACC100_BYTES_IN_WORD * (template_idx %8 ); value =ACC100_TMPL_PRI_1 ;acc100_reg_write (d, address, value); - address = HWPfQmgrGrpTmplateReg2indx + + address = HWPfQmgrGrpTemplateReg2indx +ACC100_BYTES_IN_WORD * (template_idx %8 ); value =ACC100_TMPL_PRI_2 ;acc100_reg_write (d, address, value); - address = HWPfQmgrGrpTmplateReg3Indx + + address = HWPfQmgrGrpTemplateReg3Indx +ACC100_BYTES_IN_WORD * (template_idx %8 ); value =ACC100_TMPL_PRI_3 ;acc100_reg_write (d, address, value);
@@ -4548,7 +4548,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)for (template_idx =0 ; template_idx <ACC100_NUM_TMPL ; template_idx++) { value =0 ; - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;acc100_reg_write (d, address, value); }
@@ -4561,7 +4561,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)for (template_idx =ACC100_SIG_UL_4G ; template_idx <=ACC100_SIG_UL_4G_LAST ; template_idx++) { - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;acc100_reg_write (d, address, value); }
@@ -4579,7 +4579,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf) address = HwPfFecUl5gIbDebugReg +ACC100_ENGINE_OFFSET * template_idx; status = (acc100_reg_read (d, address) >>4 ) &0xF ; - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;if (status ==1 ) {acc100_reg_write (d, address, value);
@@ -4600,7 +4600,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)for (template_idx =ACC100_SIG_DL_4G ; template_idx <=ACC100_SIG_DL_4G_LAST ; template_idx++) { - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;acc100_reg_write (d, address, value);#if RTE_ACC100_SINGLE_FEC ==1
@@ -4616,7 +4616,7 @@ rte_acc100_configure(const char *dev_name, struct rte_acc100_conf *conf)for (template_idx =ACC100_SIG_DL_5G ; template_idx <=ACC100_SIG_DL_5G_LAST ; template_idx++) { - address = HWPfQmgrGrpTmplateReg4Indx + address = HWPfQmgrGrpTemplateReg4Indx +ACC100_BYTES_IN_WORD * template_idx;acc100_reg_write (d, address, value);#if RTE_ACC100_SINGLE_FEC ==1
drivers/baseband/fpga_lte_fec/fpga_lte_fec.c +4 -4
@@ -2097,7 +2097,7 @@ dequeue_enc_one_op_cb(struct fpga_queue *q, struct rte_bbdev_enc_op **op,rte_bbdev_log_debug ("DMA response desc %p" , desc); *op = desc->enc_req.op_addr; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); (*op)->status = desc_error <<RTE_BBDEV_DATA_ERROR ;
@@ -2139,7 +2139,7 @@ dequeue_enc_one_op_tb(struct fpga_queue *q, struct rte_bbdev_enc_op **op,for (cb_idx =0 ; cb_idx < cbs_in_op; ++cb_idx) { desc = q->ring_addr + ((q->head_free_desc + desc_offset + cb_idx) & q->sw_ring_wrap_mask); -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); status |= desc_error <<RTE_BBDEV_DATA_ERROR ;rte_bbdev_log_debug ("DMA response desc %p" , desc);
@@ -2177,7 +2177,7 @@ dequeue_dec_one_op_cb(struct fpga_queue *q, struct rte_bbdev_dec_op **op, (*op)->turbo_dec.iter_count = (desc->dec_req.iter +2 ) >>1 ;/* crc_pass = 0 when decoder fails */ (*op)->status = !(desc->dec_req.crc_pass) <<RTE_BBDEV_CRC_ERROR ; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); (*op)->status |= desc_error <<RTE_BBDEV_DATA_ERROR ;return 1 ;
@@ -2221,7 +2221,7 @@ dequeue_dec_one_op_tb(struct fpga_queue *q, struct rte_bbdev_dec_op **op, iter_count =RTE_MAX (iter_count, (uint8_t ) desc->dec_req.iter);/* crc_pass = 0 when decoder fails, one fails all */ status |= !(desc->dec_req.crc_pass) <<RTE_BBDEV_CRC_ERROR ; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); status |= desc_error <<RTE_BBDEV_DATA_ERROR ;rte_bbdev_log_debug ("DMA response desc %p" , desc);
drivers/baseband/null/bbdev_null.c +1 -1
@@ -31,7 +31,7 @@ struct bbdev_null_params {uint16_t queues_num;/*< Null BBDEV queues number */ }; -/* Accecptable params for null BBDEV devices */ +/* Acceptable params for null BBDEV devices */ #define BBDEV_NULL_MAX_NB_QUEUES_ARG "max_nb_queues"#define BBDEV_NULL_SOCKET_ID_ARG "socket_id"
drivers/baseband/turbo_sw/bbdev_turbo_software.c +1 -1
@@ -61,7 +61,7 @@ struct turbo_sw_params {uint16_t queues_num;/*< Turbo SW device queues number */ }; -/* Accecptable params for Turbo SW devices */ +/* Acceptable params for Turbo SW devices */ #define TURBO_SW_MAX_NB_QUEUES_ARG "max_nb_queues"#define TURBO_SW_SOCKET_ID_ARG "socket_id"
drivers/bus/dpaa/dpaa_bus.c +1 -1
@@ -70,7 +70,7 @@ compare_dpaa_devices(struct rte_dpaa_device *dev1, {int comp =0 ; -/* Segragating ETH from SEC devices */ +/* Segregating ETH from SEC devices */ if (dev1->device_type > dev2->device_type) comp =1 ;else if (dev1->device_type < dev2->device_type)
drivers/bus/dpaa/include/fsl_qman.h +3 -3
@@ -1353,7 +1353,7 @@ __rte_internalint qman_irqsource_add (u32 bits);/** -* qman_fq_portal_irqsource_add - samilar to qman_irqsource_add, but it +* qman_fq_portal_irqsource_add - similar to qman_irqsource_add, but it * takes portal (fq specific) as input rather than using the thread affined * portal. */
@@ -1416,7 +1416,7 @@ __rte_internalstruct qm_dqrr_entry *qman_dequeue (struct qman_fq *fq);/** -* qman_dqrr_consume - Consume the DQRR entriy after volatile dequeue +* qman_dqrr_consume - Consume the DQRR entry after volatile dequeue * @fq: Frame Queue on which the volatile dequeue command is issued * @dq: DQRR entry to consume. This is the one which is provided by the * 'qbman_dequeue' command.
@@ -2017,7 +2017,7 @@ int qman_create_cgr_to_dcp(struct qman_cgr *cgr, u32 flags, u16 dcp_portal,* @cgr: the 'cgr' object to deregister * * "Unplugs" this CGR object from the portal affine to the cpu on which this API -* is executed. This must be excuted on the same affine portal on which it was +* is executed. This must be executed on the same affine portal on which it was * created. */ __rte_internal
drivers/bus/dpaa/include/fsl_usd.h +1 -1
@@ -40,7 +40,7 @@ struct dpaa_raw_portal {/* Specifies the stash request queue this portal should use */ uint8_t sdest; -/* Specifes a specific portal index to map or QBMAN_ANY_PORTAL_IDX +/* Specifies a specific portal index to map or QBMAN_ANY_PORTAL_IDX * for don't care. The portal index will be populated by the * driver when the ioctl() successfully completes. */
drivers/bus/dpaa/include/process.h +1 -1
@@ -49,7 +49,7 @@ struct dpaa_portal_map {struct dpaa_ioctl_portal_map {/* Input parameter, is a qman or bman portal required. */ enum dpaa_portal_type type; -/* Specifes a specific portal index to map or 0xffffffff +/* Specifies a specific portal index to map or 0xffffffff * for don't care. */ uint32_t index;
drivers/bus/fslmc/fslmc_bus.c +1 -1
@@ -539,7 +539,7 @@ rte_fslmc_driver_unregister(struct rte_dpaa2_driver *driver) fslmc_bus = driver->fslmc_bus; -/* Cleanup the PA->VA Translation table; From whereever this function +/* Cleanup the PA->VA Translation table; From wherever this function * is called from. */ if (rte_eal_iova_mode () ==RTE_IOVA_PA )
drivers/bus/fslmc/fslmc_vfio.h +1 -1
@@ -56,7 +56,7 @@ int rte_dpaa2_vfio_setup_intr(struct rte_intr_handle *intr_handle,int fslmc_vfio_setup_group (void );int fslmc_vfio_process_group (void );char *fslmc_get_container (void ); -int fslmc_get_container_group (int *gropuid); +int fslmc_get_container_group (int *groupid);int rte_fslmc_vfio_dmamap (void );int rte_fslmc_vfio_mem_dmamap (uint64_t vaddr,uint64_t iova,uint64_t size);
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +1 -1
@@ -178,7 +178,7 @@ static int dpaa2_dpio_intr_init(struct dpaa2_dpio_dev *dpio_dev) dpio_epoll_fd =epoll_create (1 ); ret =rte_dpaa2_intr_enable (dpio_dev->intr_handle,0 );if (ret) { -DPAA2_BUS_ERR ("Interrupt registeration failed" ); +DPAA2_BUS_ERR ("Interrupt registration failed" );return -1 ; }
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +1 -1
@@ -156,7 +156,7 @@ struct dpaa2_queue {struct rte_cryptodev_data *crypto_data; };uint32_t fqid;/*!< Unique ID of this queue */ -uint16_t flow_id;/*!< To be used by DPAA2 frmework */ +uint16_t flow_id;/*!< To be used by DPAA2 framework */ uint8_t tc_index;/*!< traffic class identifier */ uint8_t cgid;/*! < Congestion Group id for this queue */ uint64_t rx_pkts;
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h +10 -10
@@ -510,7 +510,7 @@ int qbman_result_has_new_result(struct qbman_swp *s, struct qbman_result *dq);/** -* qbman_check_command_complete() - Check if the previous issued dq commnd +* qbman_check_command_complete() - Check if the previous issued dq command * is completed and results are available in memory. * @s: the software portal object. * @dq: the dequeue result read from the memory.
@@ -687,7 +687,7 @@ uint16_t qbman_result_DQ_seqnum(const struct qbman_result *dq);/** * qbman_result_DQ_odpid() - Get the seqnum field in dequeue response -* odpid is valid only if ODPVAILD flag is TRUE. +* odpid is valid only if ODPVALID flag is TRUE. * @dq: the dequeue result. * * Return odpid.
@@ -743,7 +743,7 @@ const struct qbman_fd *qbman_result_DQ_fd(const struct qbman_result *dq);* qbman_result_SCN_state() - Get the state field in State-change notification * @scn: the state change notification. * -* Return the state in the notifiation. +* Return the state in the notification. */ __rte_internal uint8_t qbman_result_SCN_state(const struct qbman_result *scn);
@@ -825,7 +825,7 @@ uint64_t qbman_result_bpscn_ctx(const struct qbman_result *scn);/* Parsing CGCU */ /** -* qbman_result_cgcu_cgid() - Check CGCU resouce id, i.e. cgid +* qbman_result_cgcu_cgid() - Check CGCU resource id, i.e. cgid * @scn: the state change notification. * * Return the CGCU resource id.
@@ -903,14 +903,14 @@ void qbman_eq_desc_clear(struct qbman_eq_desc *d);__rte_internal void qbman_eq_desc_set_no_orp(struct qbman_eq_desc *d, int respond_success);/** -* qbman_eq_desc_set_orp() - Set order-resotration in the enqueue descriptor +* qbman_eq_desc_set_orp() - Set order-restoration in the enqueue descriptor * @d: the enqueue descriptor. * @response_success: 1 = enqueue with response always; 0 = enqueue with * rejections returned on a FQ. * @opr_id: the order point record id. * @seqnum: the order restoration sequence number. -* @incomplete: indiates whether this is the last fragments using the same -* sequeue number. +* @incomplete: indicates whether this is the last fragments using the same +* sequence number. */ __rte_internal void qbman_eq_desc_set_orp(struct qbman_eq_desc *d, int respond_success,
@@ -1052,10 +1052,10 @@ __rte_internaluint8_t qbman_result_eqresp_rspid (struct qbman_result *eqresp);/** -* qbman_result_eqresp_rc() - determines if enqueue command is sucessful. +* qbman_result_eqresp_rc() - determines if enqueue command is successful. * @eqresp: enqueue response. * -* Return 0 when command is sucessful. +* Return 0 when command is successful. */ __rte_internal uint8_t qbman_result_eqresp_rc(struct qbman_result *eqresp);
@@ -1250,7 +1250,7 @@ int qbman_swp_fq_force(struct qbman_swp *s, uint32_t fqid);/** * These functions change the FQ flow-control stuff between XON/XOFF. (The * default is XON.) This setting doesn't affect enqueues to the FQ, just -* dequeues. XOFF FQs will remain in the tenatively-scheduled state, even when +* dequeues. XOFF FQs will remain in the tentatively-scheduled state, even when * non-empty, meaning they won't be selected for scheduled dequeuing. If a FQ is * changed to XOFF after it had already become truly-scheduled to a channel, and * a pull dequeue of that channel occurs that selects that FQ for dequeuing,
drivers/bus/pci/linux/pci_vfio.c +1 -1
@@ -815,7 +815,7 @@ pci_vfio_map_resource_primary(struct rte_pci_device *dev)continue ; } -/* skip non-mmapable BARs */ +/* skip non-mmappable BARs */ if ((reg->flags &VFIO_REGION_INFO_FLAG_MMAP ) ==0 ) {free (reg);continue ;
drivers/bus/vdev/rte_bus_vdev.h +1 -1
@@ -197,7 +197,7 @@ rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg);int rte_vdev_init (const char *name,const char *args);/** -* Uninitalize a driver specified by name. +* Uninitialize a driver specified by name. * * @param name * The pointer to a driver name to be uninitialized.
drivers/bus/vmbus/vmbus_common.c +1 -1
@@ -134,7 +134,7 @@ vmbus_probe_one_driver(struct rte_vmbus_driver *dr,/* * If device class GUID matches, call the probe function of -* registere drivers for the vmbus device. +* register drivers for the vmbus device. * Return -1 if initialization failed, * and 1 if no driver found for this device. */
drivers/common/cnxk/roc_bphy_cgx.c +1 -1
@@ -14,7 +14,7 @@#define CGX_CMRX_INT_OVERFLW BIT_ULL(1)/* * CN10K stores number of lmacs in 4 bit filed -* in contraty to CN9K which uses only 3 bits. +* in contrary to CN9K which uses only 3 bits. * * In theory masks should differ yet on CN9K * bits beyond specified range contain zeros.
drivers/common/cnxk/roc_cpt.c +5 -5
@@ -375,7 +375,7 @@ cpt_available_lfs_get(struct dev *dev, uint16_t *nb_lf) }int -cpt_lfs_alloc (struct dev *dev,uint8_t eng_grpmsk,uint8_t blkaddr, +cpt_lfs_alloc (struct dev *dev,uint8_t eng_grpmask,uint8_t blkaddr,bool inl_dev_sso) {struct cpt_lf_alloc_req_msg *req;
@@ -390,7 +390,7 @@ cpt_lfs_alloc(struct dev *dev, uint8_t eng_grpmsk, uint8_t blkaddr, req->sso_pf_func =nix_inl_dev_pffunc_get (); else req->sso_pf_func = idev_sso_pffunc_get(); - req->eng_grpmsk = eng_grpmsk; + req->eng_grpmask = eng_grpmask; req->blkaddr = blkaddr;return mbox_process (mbox);
@@ -481,7 +481,7 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int nb_lf)struct cpt *cpt =roc_cpt_to_cpt_priv (roc_cpt);uint8_t blkaddr[ROC_CPT_MAX_BLKS ];struct msix_offset_rsp *rsp; -uint8_t eng_grpmsk; +uint8_t eng_grpmask;int blknum =0 ;int rc, i;
@@ -508,11 +508,11 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int nb_lf)for (i =0 ; i < nb_lf; i++) cpt->lf_blkaddr[i] = blkaddr[blknum]; - eng_grpmsk = (1 << roc_cpt->eng_grp[CPT_ENG_TYPE_AE ]) | + eng_grpmask = (1 << roc_cpt->eng_grp[CPT_ENG_TYPE_AE ]) | (1 << roc_cpt->eng_grp[CPT_ENG_TYPE_SE ]) | (1 << roc_cpt->eng_grp[CPT_ENG_TYPE_IE ]); - rc =cpt_lfs_alloc (&cpt->dev, eng_grpmsk, blkaddr[blknum], false); + rc =cpt_lfs_alloc (&cpt->dev, eng_grpmask, blkaddr[blknum], false);if (rc) goto lfs_detach;
drivers/common/cnxk/roc_cpt_priv.h +1 -1
@@ -21,7 +21,7 @@ roc_cpt_to_cpt_priv(struct roc_cpt *roc_cpt)int cpt_lfs_attach (struct dev *dev,uint8_t blkaddr,bool modify,uint16_t nb_lf);int cpt_lfs_detach (struct dev *dev); -int cpt_lfs_alloc (struct dev *dev,uint8_t eng_grpmsk,uint8_t blk, +int cpt_lfs_alloc (struct dev *dev,uint8_t eng_grpmask,uint8_t blk,bool inl_dev_sso);int cpt_lfs_free (struct dev *dev);int cpt_lf_init (struct roc_cpt_lf *lf);
drivers/common/cnxk/roc_mbox.h +2 -2
@@ -1328,7 +1328,7 @@ struct cpt_lf_alloc_req_msg {struct mbox_msghdr hdr; uint16_t __io nix_pf_func; uint16_t __io sso_pf_func; - uint16_t __io eng_grpmsk; + uint16_t __io eng_grpmask; uint8_t __io blkaddr; };
@@ -1739,7 +1739,7 @@ enum tim_af_status {TIM_AF_INVALID_BSIZE =-813 ,TIM_AF_INVALID_ENABLE_PERIODIC =-814 ,TIM_AF_INVALID_ENABLE_DONTFREE =-815 , -TIM_AF_ENA_DONTFRE_NSET_PERIODIC =-816 , +TIM_AF_ENA_DONTFREE_NSET_PERIODIC =-816 , TIM_AF_RING_ALREADY_DISABLED = -817, };
drivers/common/cnxk/roc_nix_bpf.c +11 -11
@@ -138,11 +138,11 @@ nix_lf_bpf_dump(__io struct nix_band_prof_s *bpf) {plt_dump ("W0: cir_mantissa \t\t\t%d\nW0: pebs_mantissa \t\t\t0x%03x" , bpf->cir_mantissa, bpf->pebs_mantissa); -plt_dump ("W0: peir_matissa \t\t\t\t%d\nW0: cbs_exponent \t\t\t%d" , - bpf->peir_mantissa, bpf->cbs_exponent); +plt_dump ("W0: peer_mantissa \t\t\t\t%d\nW0: cbs_exponent \t\t\t%d" , + bpf->peer_mantissa, bpf->cbs_exponent);plt_dump ("W0: cir_exponent \t\t\t%d\nW0: pebs_exponent \t\t\t%d" , bpf->cir_exponent, bpf->pebs_exponent); -plt_dump ("W0: peir_exponent \t\t\t%d\n" , bpf->peir_exponent); +plt_dump ("W0: peer_exponent \t\t\t%d\n" , bpf->peer_exponent);plt_dump ("W0: tnl_ena \t\t\t%d\n" , bpf->tnl_ena);plt_dump ("W0: icolor \t\t\t%d\n" , bpf->icolor);plt_dump ("W0: pc_mode \t\t\t%d\n" , bpf->pc_mode);
@@ -608,8 +608,8 @@ roc_nix_bpf_config(struct roc_nix *roc_nix, uint16_t id,meter_rate_to_nix (cfg->algo2698.pir, &exponent_p, &mantissa_p, &div_exp_p, policer_timeunit); - aq->prof.peir_mantissa = mantissa_p; - aq->prof.peir_exponent = exponent_p; + aq->prof.peer_mantissa = mantissa_p; + aq->prof.peer_exponent = exponent_p;meter_burst_to_nix (cfg->algo2698.cbs, &exponent_p, &mantissa_p); aq->prof.cbs_mantissa = mantissa_p;
@@ -620,11 +620,11 @@ roc_nix_bpf_config(struct roc_nix *roc_nix, uint16_t id, aq->prof.pebs_exponent = exponent_p; aq->prof_mask.cir_mantissa = ~(aq->prof_mask.cir_mantissa); - aq->prof_mask.peir_mantissa = ~(aq->prof_mask.peir_mantissa); + aq->prof_mask.peer_mantissa = ~(aq->prof_mask.peer_mantissa); aq->prof_mask.cbs_mantissa = ~(aq->prof_mask.cbs_mantissa); aq->prof_mask.pebs_mantissa = ~(aq->prof_mask.pebs_mantissa); aq->prof_mask.cir_exponent = ~(aq->prof_mask.cir_exponent); - aq->prof_mask.peir_exponent = ~(aq->prof_mask.peir_exponent); + aq->prof_mask.peer_exponent = ~(aq->prof_mask.peer_exponent); aq->prof_mask.cbs_exponent = ~(aq->prof_mask.cbs_exponent); aq->prof_mask.pebs_exponent = ~(aq->prof_mask.pebs_exponent);break ;
@@ -637,8 +637,8 @@ roc_nix_bpf_config(struct roc_nix *roc_nix, uint16_t id,meter_rate_to_nix (cfg->algo4115.eir, &exponent_p, &mantissa_p, &div_exp_p, policer_timeunit); - aq->prof.peir_mantissa = mantissa_p; - aq->prof.peir_exponent = exponent_p; + aq->prof.peer_mantissa = mantissa_p; + aq->prof.peer_exponent = exponent_p;meter_burst_to_nix (cfg->algo4115.cbs, &exponent_p, &mantissa_p); aq->prof.cbs_mantissa = mantissa_p;
@@ -649,12 +649,12 @@ roc_nix_bpf_config(struct roc_nix *roc_nix, uint16_t id, aq->prof.pebs_exponent = exponent_p; aq->prof_mask.cir_mantissa = ~(aq->prof_mask.cir_mantissa); - aq->prof_mask.peir_mantissa = ~(aq->prof_mask.peir_mantissa); + aq->prof_mask.peer_mantissa = ~(aq->prof_mask.peer_mantissa); aq->prof_mask.cbs_mantissa = ~(aq->prof_mask.cbs_mantissa); aq->prof_mask.pebs_mantissa = ~(aq->prof_mask.pebs_mantissa); aq->prof_mask.cir_exponent = ~(aq->prof_mask.cir_exponent); - aq->prof_mask.peir_exponent = ~(aq->prof_mask.peir_exponent); + aq->prof_mask.peer_exponent = ~(aq->prof_mask.peer_exponent); aq->prof_mask.cbs_exponent = ~(aq->prof_mask.cbs_exponent); aq->prof_mask.pebs_exponent = ~(aq->prof_mask.pebs_exponent);break ;
drivers/common/cnxk/roc_nix_tm_ops.c +1 -1
@@ -107,7 +107,7 @@ nix_tm_adjust_shaper_pps_rate(struct nix_tm_shaper_profile *profile)if (profile->peak.rate && min_rate > profile->peak.rate) min_rate = profile->peak.rate; -/* Each packet accomulate single count, whereas HW +/* Each packet accumulate single count, whereas HW * considers each unit as Byte, so we need convert * user pps to bps */
drivers/common/cnxk/roc_npc_mcam.c +1 -1
@@ -234,7 +234,7 @@ npc_get_kex_capability(struct npc *npc)/* Ethtype: Offset 12B, len 2B */ kex_cap.bit.ethtype_0 =npc_is_kex_enabled ( npc,NPC_LID_LA ,NPC_LT_LA_ETHER ,12 *8 ,2 *8 ); -/* QINQ VLAN Ethtype: ofset 8B, len 2B */ +/* QINQ VLAN Ethtype: offset 8B, len 2B */ kex_cap.bit.ethtype_x =npc_is_kex_enabled ( npc,NPC_LID_LB ,NPC_LT_LB_STAG_QINQ ,8 *8 ,2 *8 );/* VLAN ID0 : Outer VLAN: Offset 2B, len 2B */
drivers/common/cnxk/roc_npc_priv.h +1 -1
@@ -363,7 +363,7 @@ struct npc {uint32_t rss_grps;/* rss groups supported */ uint16_t flow_prealloc_size;/* Pre allocated mcam size */ uint16_t flow_max_priority;/* Max priority for flow */ -uint16_t switch_header_type;/* Suppprted switch header type */ +uint16_t switch_header_type;/* Supported switch header type */ uint32_t mark_actions;/* Number of mark actions */ uint32_t vtag_strip_actions;/* vtag insert/strip actions */ uint16_t pf_func;/* pf_func of device */
drivers/common/cnxk/roc_tim.c +1 -1
@@ -73,7 +73,7 @@ tim_err_desc(int rc)case TIM_AF_INVALID_ENABLE_DONTFREE :plt_err ("Invalid Don't free value." );break ; -case TIM_AF_ENA_DONTFRE_NSET_PERIODIC : +case TIM_AF_ENA_DONTFREE_NSET_PERIODIC :plt_err ("Don't free bit not set when periodic is enabled." );break ;case TIM_AF_RING_ALREADY_DISABLED :
drivers/common/cpt/cpt_ucode.h +2 -2
@@ -246,7 +246,7 @@ cpt_fc_ciph_set_key(struct cpt_ctx *cpt_ctx, cipher_type_t type,if (cpt_ctx->fc_type ==FC_GEN ) {/* * We need to always say IV is from DPTR as user can -* sometimes iverride IV per operation. +* sometimes override IV per operation. */ fctx->enc.iv_source =CPT_FROM_DPTR ;
@@ -3035,7 +3035,7 @@ prepare_iov_from_pkt_inplace(struct rte_mbuf *pkt, tailroom =rte_pktmbuf_tailroom (pkt);if (likely ((headroom >=24 ) && (tailroom >=8 ))) { -/* In 83XX this is prerequivisit for Direct mode */ +/* In 83XX this is prerequisite for Direct mode */ *flags |=SINGLE_BUF_HEADTAILROOM ; } param->bufs[0 ].vaddr = seg_data;
drivers/common/cpt/cpt_ucode_asym.h +1 -1
@@ -779,7 +779,7 @@ cpt_ecdsa_verify_prep(struct rte_crypto_ecdsa_op_param *ecdsa,* Set dlen = sum(sizeof(fpm address), ROUNDUP8(message len), * ROUNDUP8(sign len(r and s), public key len(x and y coordinates), * prime len, order len)). -* Please note sign, public key and order can not excede prime length +* Please note sign, public key and order can not exede prime length * i.e. 6 * p_align */ dlen =sizeof (fpm_table_iova) + m_align + (8 * p_align);
drivers/common/dpaax/caamflib/desc/algo.h +1 -1
@@ -67,7 +67,7 @@ cnstr_shdsc_zuce(uint32_t *descbuf, bool ps, bool swap,* @authlen: size of digest * * The IV prepended before hmac payload must be 8 bytes consisting -* of COUNT||BEAERER||DIR. The COUNT is of 32-bits, bearer is of 5 bits and +* of COUNT||BEARER||DIR. The COUNT is of 32-bits, bearer is of 5 bits and * direction is of 1 bit - totalling to 38 bits. * * Return: size of descriptor written in words or negative number on error
drivers/common/dpaax/caamflib/desc/ipsec.h +2 -2
@@ -1437,7 +1437,7 @@ cnstr_shdsc_ipsec_new_decap(uint32_t *descbuf, bool ps, CAAM_CMD_SZ)/** -* cnstr_shdsc_authenc - authenc-like descriptor +* cnstr_shdsc_authentic - authentic-like descriptor * @descbuf: pointer to buffer used for descriptor construction * @ps: if 36/40bit addressing is desired, this parameter must be true * @swap: if true, perform descriptor byte swapping on a 4-byte boundary
@@ -1502,7 +1502,7 @@ cnstr_shdsc_ipsec_new_decap(uint32_t *descbuf, bool ps,* Return: size of descriptor written in words or negative number on error */ static inline int -cnstr_shdsc_authenc(uint32_t *descbuf, bool ps, bool swap, +cnstr_shdsc_authentic(uint32_t *descbuf, bool ps, bool swap, enum rta_share_type share, struct alginfo *cipherdata, struct alginfo *authdata,
drivers/common/dpaax/caamflib/desc/sdap.h +3 -3
@@ -492,10 +492,10 @@ pdcp_sdap_insert_snoop_op(struct program *p, bool swap __maybe_unused,/* Set the variable size of data the register will write */ if (dir ==OP_TYPE_ENCAP_PROTOCOL ) { -/* We will add the interity data so add its length */ +/* We will add the integrity data so add its length */ MATHI (p,SEQINSZ ,ADD ,PDCP_MAC_I_LEN ,VSEQOUTSZ ,4 ,IMMED2 ); }else { -/* We will check the interity data so remove its length */ +/* We will check the integrity data so remove its length */ MATHI (p,SEQINSZ ,SUB ,PDCP_MAC_I_LEN ,VSEQOUTSZ ,4 ,IMMED2 );/* Do not take the ICV in the out-snooping configuration */ MATHI (p,SEQINSZ ,SUB ,PDCP_MAC_I_LEN ,VSEQINSZ ,4 ,IMMED2 );
@@ -803,7 +803,7 @@ static inline int pdcp_sdap_insert_no_snoop_op(CLRW_CLR_C1MODE , CLRW, 0, 4, IMMED); -/* Load the key for authentcation */ +/* Load the key for authentication */ KEY (p,KEY1 , authdata->key_enc_flags, authdata->key, authdata->keylen,INLINE_KEY (authdata));
drivers/common/dpaax/caamflib/rta/operation_cmd.h +3 -3
@@ -199,7 +199,7 @@ __rta_alg_aai_zuca(uint16_t aai) }struct alg_aai_map { -uint32_t chipher_algo; +uint32_t cipher_algo;int (*aai_func)(uint16_t );uint32_t class; };
@@ -242,7 +242,7 @@ rta_operation(struct program *program, uint32_t cipher_algo,int ret;for (i =0 ; i < alg_table_sz[rta_sec_era]; i++) { -if (alg_table[i].chipher_algo == cipher_algo) { +if (alg_table[i].cipher_algo == cipher_algo) {if ((aai ==OP_ALG_AAI_XCBC_MAC ) || (aai ==OP_ALG_AAI_CBC_XCBCMAC )) opcode |= cipher_algo |OP_TYPE_CLASS2_ALG ;
@@ -340,7 +340,7 @@ rta_operation2(struct program *program, uint32_t cipher_algo,int ret;for (i =0 ; i < alg_table_sz[rta_sec_era]; i++) { -if (alg_table[i].chipher_algo == cipher_algo) { +if (alg_table[i].cipher_algo == cipher_algo) {if ((aai ==OP_ALG_AAI_XCBC_MAC ) || (aai ==OP_ALG_AAI_CBC_XCBCMAC ) || (aai ==OP_ALG_AAI_CMAC ))
drivers/common/dpaax/dpaax_iova_table.c +1 -1
@@ -261,7 +261,7 @@ dpaax_iova_table_depopulate(void)rte_free (dpaax_iova_table_p->entries); dpaax_iova_table_p =NULL ; -DPAAX_DEBUG ("IOVA Table cleanedup" ); +DPAAX_DEBUG ("IOVA Table cleaned" ); }int
drivers/common/iavf/iavf_type.h +1 -1
@@ -1006,7 +1006,7 @@ struct iavf_profile_tlv_section_record {u8 data[12 ]; }; -/* Generic AQ section in proflie */ +/* Generic AQ section in profile */ struct iavf_profile_aq_section {u16 opcode;u16 flags;
drivers/common/iavf/virtchnl.h +1 -1
@@ -233,7 +233,7 @@ static inline const char *virtchnl_op_str(enum virtchnl_ops v_opcode)case VIRTCHNL_OP_DCF_CMD_DESC :return "VIRTCHNL_OP_DCF_CMD_DESC" ;case VIRTCHNL_OP_DCF_CMD_BUFF : -return "VIRTCHHNL_OP_DCF_CMD_BUFF" ; +return "VIRTCHNL_OP_DCF_CMD_BUFF" ;case VIRTCHNL_OP_DCF_DISABLE :return "VIRTCHNL_OP_DCF_DISABLE" ;case VIRTCHNL_OP_DCF_GET_VSI_MAP :
drivers/common/mlx5/mlx5_common.c +1 -1
@@ -854,7 +854,7 @@ static void mlx5_common_driver_init(void)static bool mlx5_common_initialized;/** -* One time innitialization routine for run-time dependency on glue library +* One time initialization routine for run-time dependency on glue library * for multiple PMDs. Each mlx5 PMD that depends on mlx5_common module, * must invoke in its constructor. */
drivers/common/mlx5/mlx5_common_mr.c +1 -1
@@ -1541,7 +1541,7 @@ mlx5_mempool_reg_create(struct rte_mempool *mp, unsigned int mrs_n,* Destroy a mempool registration object. * * @param standalone -* Whether @p mpr owns its MRs excludively, i.e. they are not shared. +* Whether @p mpr owns its MRs exclusively, i.e. they are not shared. */ static void mlx5_mempool_reg_destroy(struct mlx5_mr_share_cache *share_cache,
drivers/common/mlx5/mlx5_devx_cmds.c +1 -1
@@ -1822,7 +1822,7 @@ mlx5_devx_cmd_create_td(void *ctx)* Pointer to file stream. * * @return -* 0 on success, a nagative value otherwise. +* 0 on success, a negative value otherwise. */ int mlx5_devx_cmd_flow_dump(void *fdb_domain __rte_unused,
drivers/common/mlx5/mlx5_devx_cmds.h +1 -1
@@ -128,7 +128,7 @@ enum {enum {PARSE_GRAPH_NODE_CAP_LENGTH_MODE_FIXED =RTE_BIT32 (0 ), -PARSE_GRAPH_NODE_CAP_LENGTH_MODE_EXPLISIT_FIELD =RTE_BIT32 (1 ), +PARSE_GRAPH_NODE_CAP_LENGTH_MODE_EXPLICIT_FIELD =RTE_BIT32 (1 ),PARSE_GRAPH_NODE_CAP_LENGTH_MODE_BITMASK_FIELD =RTE_BIT32 (2 ) };
drivers/common/mlx5/mlx5_malloc.c +2 -2
@@ -58,7 +58,7 @@ static struct mlx5_sys_mem mlx5_sys_mem = {* Check if the address belongs to memory seg list. * * @param addr -* Memory address to be ckeced. +* Memory address to be checked. * @param msl * Memory seg list. *
@@ -109,7 +109,7 @@ mlx5_mem_update_msl(void *addr)* Check if the address belongs to rte memory. * * @param addr -* Memory address to be ckeced. +* Memory address to be checked. * * @return * True if it belongs, false otherwise.
drivers/common/mlx5/mlx5_malloc.h +1 -1
@@ -19,7 +19,7 @@ extern "C" {enum mlx5_mem_flags {MLX5_MEM_ANY =0 , -/* Memory will be allocated dpends on sys_mem_en. */ +/* Memory will be allocated depends on sys_mem_en. */ MLX5_MEM_SYS =1 <<0 ,/* Memory should be allocated from system. */ MLX5_MEM_RTE =1 <<1 ,
drivers/common/mlx5/mlx5_prm.h +3 -3
@@ -3112,8 +3112,8 @@ struct mlx5_ifc_conn_track_aso_bits {u8 max_ack_window[0x3 ];u8 reserved_at_1f8[0x1 ];u8 retransmission_counter[0x3 ]; -u8 retranmission_limit_exceeded[0x1 ]; -u8 retranmission_limit[0x3 ];/* End of DW15. */ +u8 retransmission_limit_exceeded[0x1 ]; +u8 retransmission_limit[0x3 ];/* End of DW15. */ };struct mlx5_ifc_conn_track_offload_bits {
@@ -4172,7 +4172,7 @@ mlx5_flow_mark_get(uint32_t val)* timestamp format supported by the queue. * * @return -* Converted timstamp format settings. +* Converted timestamp format settings. */ static inline uint32_t mlx5_ts_format_conv (uint32_t ts_format)
drivers/common/mlx5/windows/mlx5_common_os.c +2 -2
@@ -302,7 +302,7 @@ mlx5_os_umem_dereg(void *pumem) }/** -* Register mr. Given protection doamin pointer, pointer to addr and length +* Register mr. Given protection domain pointer, pointer to addr and length * register the memory region. * * @param[in] pd
@@ -310,7 +310,7 @@ mlx5_os_umem_dereg(void *pumem)* @param[in] addr * Pointer to memory start address (type devx_device_ctx). * @param[in] length -* Lengtoh of the memory to register. +* Length of the memory to register. * @param[out] pmd_mr * pmd_mr struct set with lkey, address, length, pointer to mr object, mkey *
drivers/common/mlx5/windows/mlx5_common_os.h +1 -1
@@ -21,7 +21,7 @@/** * This API allocates aligned or non-aligned memory. The free can be on either * aligned or nonaligned memory. To be protected - even though there may be no -* alignment - in Windows this API will unconditioanlly call _aligned_malloc() +* alignment - in Windows this API will unconditionally call _aligned_malloc() * with at least a minimal alignment size. * * @param[in] align
drivers/common/octeontx2/otx2_mbox.h +2 -2
@@ -1296,7 +1296,7 @@ struct cpt_lf_alloc_req_msg {struct cpt_lf_alloc_rsp_msg {struct mbox_msghdr hdr; - uint16_t __otx2_io eng_grpmsk; + uint16_t __otx2_io eng_grpmask; };#define CPT_INLINE_INBOUND 0
@@ -1625,7 +1625,7 @@ enum tim_af_status {TIM_AF_INVALID_BSIZE =-813 ,TIM_AF_INVALID_ENABLE_PERIODIC =-814 ,TIM_AF_INVALID_ENABLE_DONTFREE =-815 , -TIM_AF_ENA_DONTFRE_NSET_PERIODIC =-816 , +TIM_AF_ENA_DONTFREE_NSET_PERIODIC =-816 , TIM_AF_RING_ALREADY_DISABLED = -817, };
drivers/common/qat/qat_adf/adf_transport_access_macros.h +1 -1
@@ -72,7 +72,7 @@#define ADF_SIZE_TO_RING_SIZE_IN_BYTES (SIZE ) ((1 << (SIZE - 1)) << 7)#define ADF_RING_SIZE_IN_BYTES_TO_SIZE (SIZE ) ((1 << (SIZE - 1)) >> 7) -/* Minimum ring bufer size for memory allocation */ +/* Minimum ring buffer size for memory allocation */ #define ADF_RING_SIZE_BYTES_MIN (SIZE ) ((SIZE < ADF_RING_SIZE_4K) ? \ ADF_RING_SIZE_4K : SIZE)#define ADF_RING_SIZE_MODULO (SIZE ) (SIZE + 0x6)
drivers/common/sfc_efx/efsys.h +1 -1
@@ -616,7 +616,7 @@ typedef struct efsys_bar_s {#define EFSYS_DMA_SYNC_FOR_KERNEL (_esmp, _offset, _size) ((void)0) -/* Just avoid store and compiler (impliciltly) reordering */ +/* Just avoid store and compiler (implicitly) reordering */ #define EFSYS_DMA_SYNC_FOR_DEVICE (_esmp, _offset, _size) rte_wmb()/* TIMESTAMP */
drivers/compress/octeontx/include/zip_regs.h +2 -2
@@ -195,7 +195,7 @@ union zip_inst_s { uint64_t bf : 1;/** Comp/decomp operation */ uint64_t op : 2; -/** Data sactter */ +/** Data scatter */ uint64_t ds : 1;/** Data gather */ uint64_t dg : 1;
@@ -376,7 +376,7 @@ union zip_inst_s { uint64_t bf : 1;/** Comp/decomp operation */ uint64_t op : 2; -/** Data sactter */ +/** Data scatter */ uint64_t ds : 1;/** Data gather */ uint64_t dg : 1;
drivers/compress/octeontx/otx_zip.h +2 -2
@@ -31,7 +31,7 @@ extern int octtx_zip_logtype_driver;/**< PCI device id of ZIP VF */ #define PCI_DEVICE_ID_OCTEONTX_ZIPVF 0xA037 -/* maxmum number of zip vf devices */ +/* maximum number of zip vf devices */ #define ZIP_MAX_VFS 8/* max size of one chunk */
@@ -66,7 +66,7 @@ extern int octtx_zip_logtype_driver; ((_align) * (((x) + (_align) -1 ) / (_align))) /**< ZIP PMD device name */ -#define COMPRESSDEV_NAME_ZIP_PMD compress_octeonx +#define COMPRESSDEV_NAME_ZIP_PMD compress_octeontx #define ZIP_PMD_LOG(level, fmt, args...) \ rte_log(RTE_LOG_ ## level, \
drivers/compress/qat/dev/qat_comp_pmd_gen1.c +2 -2
@@ -39,10 +39,10 @@ qat_comp_dev_config_gen1(struct rte_compressdev *dev,"RTE_PMD_QAT_COMP_IM_BUFFER_SIZE = 0 in config file, so" " QAT device can't be used for Dynamic Deflate."); }else { - comp_dev->interm_buff_mz = + comp_dev->interim_buff_mz =qat_comp_setup_inter_buffers (comp_dev,RTE_PMD_QAT_COMP_IM_BUFFER_SIZE ); -if (comp_dev->interm_buff_mz ==NULL ) +if (comp_dev->interim_buff_mz ==NULL )return -ENOMEM ; }
drivers/compress/qat/qat_comp.c +6 -6
@@ -815,7 +815,7 @@ qat_comp_create_req_hdr(struct icp_qat_fw_comn_req_hdr *header, static int qat_comp_create_templates(struct qat_comp_xform *qat_xform, - const struct rte_memzone *interm_buff_mz, + const struct rte_memzone *interim_buff_mz, const struct rte_comp_xform *xform, const struct qat_comp_stream *stream, enum rte_comp_op_type op_type,
@@ -923,7 +923,7 @@ qat_comp_create_templates(struct qat_comp_xform *qat_xform, comp_req->u1.xlt_pars.inter_buff_ptr = (qat_comp_get_num_im_bufs_required (qat_dev_gen) - ==0 ) ?0 : interm_buff_mz->iova; + ==0 ) ?0 : interim_buff_mz->iova; }#if RTE_LOG_DP_LEVEL >=RTE_LOG_DEBUG
@@ -979,7 +979,7 @@ qat_comp_private_xform_create(struct rte_compressdev *dev,if (xform->compress.deflate.huffman ==RTE_COMP_HUFFMAN_FIXED || ((xform->compress.deflate.huffman ==RTE_COMP_HUFFMAN_DEFAULT ) - && qat->interm_buff_mz ==NULL + && qat->interim_buff_mz ==NULL && im_bufs >0 )) qat_xform->qat_comp_request_type =QAT_COMP_REQUEST_FIXED_COMP_STATELESS ;
@@ -988,7 +988,7 @@ qat_comp_private_xform_create(struct rte_compressdev *dev,RTE_COMP_HUFFMAN_DYNAMIC || xform->compress.deflate.huffman == RTE_COMP_HUFFMAN_DEFAULT) && - (qat->interm_buff_mz !=NULL || + (qat->interim_buff_mz !=NULL || im_bufs == 0)) qat_xform->qat_comp_request_type =
@@ -1007,7 +1007,7 @@ qat_comp_private_xform_create(struct rte_compressdev *dev, qat_xform->checksum_type = xform->decompress.chksum; } -if (qat_comp_create_templates (qat_xform, qat->interm_buff_mz, xform, +if (qat_comp_create_templates (qat_xform, qat->interim_buff_mz, xform,NULL ,RTE_COMP_OP_STATELESS , qat_dev_gen)) {QAT_LOG (ERR ,"QAT: Problem with setting compression" );
@@ -1107,7 +1107,7 @@ qat_comp_stream_create(struct rte_compressdev *dev, ptr->qat_xform.qat_comp_request_type =QAT_COMP_REQUEST_DECOMPRESS ; ptr->qat_xform.checksum_type = xform->decompress.chksum; -if (qat_comp_create_templates (&ptr->qat_xform, qat->interm_buff_mz, +if (qat_comp_create_templates (&ptr->qat_xform, qat->interim_buff_mz, xform, ptr,RTE_COMP_OP_STATEFUL , qat->qat_dev->qat_dev_gen)) {QAT_LOG (ERR ,"QAT: problem with creating descriptor template for stream" );
drivers/compress/qat/qat_comp_pmd.c +4 -4
@@ -463,7 +463,7 @@ qat_comp_create_stream_pool(struct qat_comp_dev_private *comp_dev, }else if (info.error) {rte_mempool_obj_iter (mp, qat_comp_stream_destroy,NULL );QAT_LOG (ERR , -"Destoying mempool %s as at least one element failed initialisation" , +"Destroying mempool %s as at least one element failed initialisation" , stream_pool_name);rte_mempool_free (mp); mp =NULL ;
@@ -477,7 +477,7 @@ static void _qat_comp_dev_config_clear(struct qat_comp_dev_private *comp_dev) {/* Free intermediate buffers */ -if (comp_dev->interm_buff_mz) { +if (comp_dev->interim_buff_mz) {char mz_name[RTE_MEMZONE_NAMESIZE ];int i =qat_comp_get_num_im_bufs_required ( comp_dev->qat_dev->qat_dev_gen);
@@ -488,8 +488,8 @@ _qat_comp_dev_config_clear(struct qat_comp_dev_private *comp_dev) comp_dev->qat_dev->name, i);rte_memzone_free (rte_memzone_lookup (mz_name)); } -rte_memzone_free (comp_dev->interm_buff_mz); - comp_dev->interm_buff_mz =NULL ; +rte_memzone_free (comp_dev->interim_buff_mz); + comp_dev->interim_buff_mz =NULL ; }/* Free private_xform pool */
drivers/compress/qat/qat_comp_pmd.h +1 -1
@@ -60,7 +60,7 @@ struct qat_comp_dev_private {/**< The pointer to this compression device structure */ const struct rte_compressdev_capabilities *qat_dev_capabilities;/* QAT device compression capabilities */ -const struct rte_memzone *interm_buff_mz; +const struct rte_memzone *interim_buff_mz;/**< The device's memory for intermediate buffers */ struct rte_mempool *xformpool;/**< The device's pool for qat_comp_xforms */
drivers/crypto/bcmfs/bcmfs_device.h +1 -1
@@ -32,7 +32,7 @@ enum bcmfs_device_type {BCMFS_UNKNOWN }; -/* A table to store registered queue pair opertations */ +/* A table to store registered queue pair operations */ struct bcmfs_hw_queue_pair_ops_table {rte_spinlock_t tl;/* Number of used ops structs in the table. */
drivers/crypto/bcmfs/bcmfs_qp.c +1 -1
@@ -212,7 +212,7 @@ bcmfs_qp_setup(struct bcmfs_qp **qp_addr, nb_descriptors =FS_RM_MAX_REQS ;if (qp_conf->iobase ==NULL ) { -BCMFS_LOG (ERR ,"IO onfig space null" ); +BCMFS_LOG (ERR ,"IO config space null" );return -EINVAL ; }
drivers/crypto/bcmfs/bcmfs_sym_defs.h +3 -3
@@ -20,11 +20,11 @@ struct bcmfs_sym_request;/** Crypto Request processing successful. */ #define BCMFS_SYM_RESPONSE_SUCCESS (0) -/** Crypot Request processing protocol failure. */ +/** Crypto Request processing protocol failure. */ #define BCMFS_SYM_RESPONSE_PROTO_FAILURE (1) -/** Crypot Request processing completion failure. */ +/** Crypto Request processing completion failure. */ #define BCMFS_SYM_RESPONSE_COMPL_ERROR (2) -/** Crypot Request processing hash tag check error. */ +/** Crypto Request processing hash tag check error. */ #define BCMFS_SYM_RESPONSE_HASH_TAG_ERROR (3)/** Maximum threshold length to adjust AAD in continuation
drivers/crypto/bcmfs/bcmfs_sym_engine.h +1 -1
@@ -12,7 +12,7 @@#include "bcmfs_sym_defs.h" #include "bcmfs_sym_req.h" -/* structure to hold element's arrtibutes */ +/* structure to hold element's attributes */ struct fsattr {void *va;uint64_t pa;
drivers/crypto/bcmfs/hw/bcmfs5_rm.c +1 -1
@@ -441,7 +441,7 @@ static void bcmfs5_write_doorbell(struct bcmfs_qp *qp) {struct bcmfs_queue *txq = &qp->tx_q; -/* sync in bfeore ringing the door-bell */ +/* sync in before ringing the door-bell */ rte_wmb (); FS_MMIO_WRITE32(txq->descs_inflight,
drivers/crypto/caam_jr/caam_jr.c +2 -2
@@ -58,7 +58,7 @@ struct sec_outring_entry {uint32_t status;/* Status for completed descriptor */ } __rte_packed; -/* virtual address conversin when mempool support is available for ctx */ +/* virtual address conversion when mempool support is available for ctx */ static inline phys_addr_t caam_jr_vtop_ctx (struct caam_jr_op_ctx *ctx,void *vaddr) {
@@ -447,7 +447,7 @@ caam_jr_prep_cdb(struct caam_jr_session *ses) } }else {/* Auth_only_len is overwritten in fd for each job */ - shared_desc_len = cnstr_shdsc_authenc(cdb->sh_desc, + shared_desc_len = cnstr_shdsc_authentic(cdb->sh_desc, true, swap, SHR_SERIAL, &alginfo_c, &alginfo_a, ses->iv.length,
drivers/crypto/caam_jr/caam_jr_hw_specific.h +2 -2
@@ -376,7 +376,7 @@ struct sec_job_ring_t {void *register_base_addr;/* Base address for SEC's * register memory for this job ring. */ -uint8_t coalescing_en;/* notifies if coelescing is +uint8_t coalescing_en;/* notifies if coalescing is * enabled for the job ring */ sec_job_ring_state_t jr_state;/* The state of this job ring */
@@ -479,7 +479,7 @@ void hw_job_ring_error_print(struct sec_job_ring_t *job_ring, int code);/* @brief Set interrupt coalescing parameters on the Job Ring. * @param [in] job_ring The job ring -* @param [in] irq_coalesing_timer Interrupt coalescing timer threshold. +* @param [in] irq_coalescing_timer Interrupt coalescing timer threshold. * This value determines the maximum * amount of time after processing a * descriptor before raising an interrupt.
drivers/crypto/caam_jr/caam_jr_pvt.h +2 -2
@@ -169,7 +169,7 @@ struct sec4_sg_entry {/* Structure encompassing a job descriptor which is to be processed * by SEC. User should also initialise this structure with the callback -* function pointer which will be called by driver after recieving proccessed +* function pointer which will be called by driver after receiving processed * descriptor from SEC. User data is also passed in this data structure which * will be sent as an argument to the user callback function. */
@@ -288,7 +288,7 @@ int caam_jr_enable_irqs(int uio_fd);* value that indicates an IRQ disable action into UIO file descriptor * of this job ring. * -* @param [in] uio_fd UIO File descripto +* @param [in] uio_fd UIO File descriptor * @retval 0 for success * @retval -1 value for error *
drivers/crypto/caam_jr/caam_jr_uio.c +1 -1
@@ -227,7 +227,7 @@ caam_jr_enable_irqs(int uio_fd)* value that indicates an IRQ disable action into UIO file descriptor * of this job ring. * -* @param [in] uio_fd UIO File descripto +* @param [in] uio_fd UIO File descriptor * @retval 0 for success * @retval -1 value for error *
drivers/crypto/ccp/ccp_crypto.c +1 -1
@@ -1299,7 +1299,7 @@ ccp_auth_slot(struct ccp_session *session)case CCP_AUTH_ALGO_SHA512_HMAC :/** * 1. Load PHash1 = H(k ^ ipad); to LSB -* 2. generate IHash = H(hash on meassage with PHash1 +* 2. generate IHash = H(hash on message with PHash1 * as init values); * 3. Retrieve IHash 2 slots for 384/512 * 4. Load Phash2 = H(k ^ opad); to LSB
drivers/crypto/ccp/ccp_crypto.h +1 -1
@@ -70,7 +70,7 @@/* Maximum length for digest */ #define DIGEST_LENGTH_MAX 64 -/* SHA LSB intialiazation values */ +/* SHA LSB initialization values */ #define SHA1_H0 0x67452301UL#define SHA1_H1 0xefcdab89UL
drivers/crypto/ccp/ccp_dev.h +1 -1
@@ -19,7 +19,7 @@#include <rte_crypto_sym.h> #include <cryptodev_pmd.h> -/**< CCP sspecific */ +/**< CCP specific */ #define MAX_HW_QUEUES 5#define CCP_MAX_TRNG_RETRIES 10#define CCP_ALIGN (x, y) ((((x) + (y - 1)) / y) * y)
drivers/crypto/cnxk/cnxk_cryptodev_ops.h +2 -2
@@ -65,7 +65,7 @@ struct pending_queue {uint64_t time_out; }; -struct crypto_adpter_info { +struct crypto_adapter_info {bool enabled;/**< Set if queue pair is added to crypto adapter */ struct rte_mempool *req_mp;
@@ -85,7 +85,7 @@ struct cnxk_cpt_qp {/**< Metabuf info required to support operations on the queue pair */ struct roc_cpt_lmtline lmtline;/**< Lmtline information */ -struct crypto_adpter_info ca; +struct crypto_adapter_info ca;/**< Crypto adapter related info */ };
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +15 -15
@@ -281,7 +281,7 @@ build_proto_fd(dpaa2_sec_session *sess,#endif static inline int -build_authenc_gcm_sg_fd (dpaa2_sec_session *sess, +build_authentic_gcm_sg_fd (dpaa2_sec_session *sess,struct rte_crypto_op *op, struct qbman_fd *fd, __rte_unused uint16_t bpid) {
@@ -426,7 +426,7 @@ build_authenc_gcm_sg_fd(dpaa2_sec_session *sess, }static inline int -build_authenc_gcm_fd (dpaa2_sec_session *sess, +build_authentic_gcm_fd (dpaa2_sec_session *sess,struct rte_crypto_op *op,struct qbman_fd *fd,uint16_t bpid) {
@@ -448,7 +448,7 @@ build_authenc_gcm_fd(dpaa2_sec_session *sess,/* TODO we are using the first FLE entry to store Mbuf and session ctxt. * Currently we donot know which FLE has the mbuf stored. -* So while retreiving we can go back 1 FLE from the FD -ADDR +* So while retrieving we can go back 1 FLE from the FD -ADDR * to get the MBUF Addr from the previous FLE. * We can have a better approach to use the inline Mbuf */
@@ -566,7 +566,7 @@ build_authenc_gcm_fd(dpaa2_sec_session *sess, }static inline int -build_authenc_sg_fd (dpaa2_sec_session *sess, +build_authentic_sg_fd (dpaa2_sec_session *sess,struct rte_crypto_op *op, struct qbman_fd *fd, __rte_unused uint16_t bpid) {
@@ -713,7 +713,7 @@ build_authenc_sg_fd(dpaa2_sec_session *sess, }static inline int -build_authenc_fd (dpaa2_sec_session *sess, +build_authentic_fd (dpaa2_sec_session *sess,struct rte_crypto_op *op,struct qbman_fd *fd,uint16_t bpid) {
@@ -740,7 +740,7 @@ build_authenc_fd(dpaa2_sec_session *sess,/* we are using the first FLE entry to store Mbuf. * Currently we donot know which FLE has the mbuf stored. -* So while retreiving we can go back 1 FLE from the FD -ADDR +* So while retrieving we can go back 1 FLE from the FD -ADDR * to get the MBUF Addr from the previous FLE. * We can have a better approach to use the inline Mbuf */
@@ -1009,7 +1009,7 @@ build_auth_fd(dpaa2_sec_session *sess, struct rte_crypto_op *op,memset (fle,0 ,FLE_POOL_BUF_SIZE );/* TODO we are using the first FLE entry to store Mbuf. * Currently we donot know which FLE has the mbuf stored. -* So while retreiving we can go back 1 FLE from the FD -ADDR +* So while retrieving we can go back 1 FLE from the FD -ADDR * to get the MBUF Addr from the previous FLE. * We can have a better approach to use the inline Mbuf */
@@ -1262,7 +1262,7 @@ build_cipher_fd(dpaa2_sec_session *sess, struct rte_crypto_op *op,memset (fle,0 ,FLE_POOL_BUF_SIZE );/* TODO we are using the first FLE entry to store Mbuf. * Currently we donot know which FLE has the mbuf stored. -* So while retreiving we can go back 1 FLE from the FD -ADDR +* So while retrieving we can go back 1 FLE from the FD -ADDR * to get the MBUF Addr from the previous FLE. * We can have a better approach to use the inline Mbuf */
@@ -1372,10 +1372,10 @@ build_sec_fd(struct rte_crypto_op *op, ret =build_auth_sg_fd (sess, op, fd, bpid);break ;case DPAA2_SEC_AEAD : - ret =build_authenc_gcm_sg_fd (sess, op, fd, bpid); + ret =build_authentic_gcm_sg_fd (sess, op, fd, bpid);break ;case DPAA2_SEC_CIPHER_HASH : - ret =build_authenc_sg_fd (sess, op, fd, bpid); + ret =build_authentic_sg_fd (sess, op, fd, bpid);break ;#ifdef RTE_LIB_SECURITY case DPAA2_SEC_IPSEC :
@@ -1396,10 +1396,10 @@ build_sec_fd(struct rte_crypto_op *op, ret =build_auth_fd (sess, op, fd, bpid);break ;case DPAA2_SEC_AEAD : - ret =build_authenc_gcm_fd (sess, op, fd, bpid); + ret =build_authentic_gcm_fd (sess, op, fd, bpid);break ;case DPAA2_SEC_CIPHER_HASH : - ret =build_authenc_fd (sess, op, fd, bpid); + ret =build_authentic_fd (sess, op, fd, bpid);break ;#ifdef RTE_LIB_SECURITY case DPAA2_SEC_IPSEC :
@@ -1568,7 +1568,7 @@ sec_fd_to_mbuf(const struct qbman_fd *fd)/* we are using the first FLE entry to store Mbuf. * Currently we donot know which FLE has the mbuf stored. -* So while retreiving we can go back 1 FLE from the FD -ADDR +* So while retrieving we can go back 1 FLE from the FD -ADDR * to get the MBUF Addr from the previous FLE. * We can have a better approach to use the inline Mbuf */
@@ -1580,7 +1580,7 @@ sec_fd_to_mbuf(const struct qbman_fd *fd) } op = (struct rte_crypto_op *)DPAA2_GET_FLE_ADDR ((fle -1 )); -/* Prefeth op */ +/* Prefetch op */ src = op->sym->m_src;rte_prefetch0 (src);
@@ -2525,7 +2525,7 @@ dpaa2_sec_aead_chain_init(struct rte_cryptodev *dev, priv->flc_desc[0 ].desc[2 ] =0 ;if (session->ctxt_type ==DPAA2_SEC_CIPHER_HASH ) { - bufsize = cnstr_shdsc_authenc(priv->flc_desc[0].desc, 1, + bufsize = cnstr_shdsc_authentic(priv->flc_desc[0].desc, 1, 0, SHR_SERIAL, &cipherdata, &authdata, session->iv.length,
drivers/crypto/dpaa_sec/dpaa_sec.c +2 -2
@@ -628,7 +628,7 @@ dpaa_sec_prep_cdb(dpaa_sec_session *ses)/* Auth_only_len is set as 0 here and it will be * overwritten in fd for each packet. */ - shared_desc_len =cnstr_shdsc_authenc (cdb->sh_desc, + shared_desc_len =cnstr_shdsc_authentic (cdb->sh_desc, true, swap,SHR_SERIAL , &alginfo_c, &alginfo_a, ses->iv.length, ses->digest_length, ses->dir);
@@ -723,7 +723,7 @@ dpaa_sec_deq(struct dpaa_sec_qp *qp, struct rte_crypto_op **ops, int nb_ops) } ops[pkts++] = op; -/* report op status to sym->op and then free the ctx memeory */ +/* report op status to sym->op and then free the ctx memory */ rte_mempool_put (ctx->ctx_pool, (void *)ctx);qman_dqrr_consume (fq, dq);
drivers/crypto/octeontx/otx_cryptodev_hw_access.c +1 -1
@@ -296,7 +296,7 @@ cpt_vq_init(struct cpt_vf *cptvf, uint8_t group)/* CPT VF device initialization */ otx_cpt_vfvq_init (cptvf); -/* Send msg to PF to assign currnet Q to required group */ +/* Send msg to PF to assign current Q to required group */ cptvf->vfgrp = group; err =otx_cpt_send_vf_grp_msg (cptvf, group);if (err) {
drivers/crypto/octeontx/otx_cryptodev_mbox.h +1 -1
@@ -70,7 +70,7 @@ void otx_cpt_handle_mbox_intr(struct cpt_vf *cptvf);/* -* Checks if VF is able to comminicate with PF +* Checks if VF is able to communicate with PF * and also gets the CPT number this VF is associated to. */ int
drivers/crypto/octeontx/otx_cryptodev_ops.c +1 -1
@@ -558,7 +558,7 @@ otx_cpt_enq_single_sym(struct cpt_instance *instance, &mdata, (void **)&prep_req);if (unlikely (ret)) { -CPT_LOG_DP_ERR ("prep cryto req : op %p, cpt_op 0x%x " +CPT_LOG_DP_ERR ("prep crypto req : op %p, cpt_op 0x%x " "ret 0x%x" , op, (unsigned int )cpt_op, ret);return NULL ; }
drivers/crypto/qat/qat_asym.c +1 -1
@@ -109,7 +109,7 @@ static void qat_clear_arrays_by_alg(struct qat_asym_op_cookie *cookie,static int qat_asym_check_nonzero (rte_crypto_param n) {if (n.length <8 ) { -/* Not a case for any cryptograpic function except for DH +/* Not a case for any cryptographic function except for DH * generator which very often can be of one byte length */ size_t i;
drivers/crypto/qat/qat_sym.c +1 -1
@@ -419,7 +419,7 @@ qat_sym_build_request(void *in_op, uint8_t *out_msg, ICP_QAT_HW_AUTH_ALGO_AES_CBC_MAC) {/* In case of AES-CCM this may point to user selected -* memory or iv offset in cypto_op +* memory or iv offset in crypto_op */ uint8_t *aad_data = op->sym->aead.aad.data;/* This is true AAD length, it not includes 18 bytes of
drivers/crypto/qat/qat_sym_session.h +1 -1
@@ -142,7 +142,7 @@ unsigned int qat_sym_session_get_private_size(struct rte_cryptodev *dev);void -qat_sym_sesssion_init_common_hdr (struct qat_sym_session *session, +qat_sym_session_init_common_hdr (struct qat_sym_session *session,struct icp_qat_fw_comn_req_hdr *header,enum qat_sym_proto_flag proto_flags);int
drivers/crypto/virtio/virtio_cryptodev.c +3 -3
@@ -862,7 +862,7 @@ virtio_crypto_dev_free_mbufs(struct rte_cryptodev *dev)VIRTIO_CRYPTO_INIT_LOG_DBG ("queue_pairs[%d]=%p" , i, dev->data->queue_pairs[i]); -virtqueue_detatch_unused (dev->data->queue_pairs[i]); +virtqueue_detach_unused (dev->data->queue_pairs[i]);VIRTIO_CRYPTO_INIT_LOG_DBG ("After freeing dataq[%d] used and " "unused buf" , i);
@@ -1205,7 +1205,7 @@ virtio_crypto_sym_pad_auth_param(static int virtio_crypto_sym_pad_op_ctrl_req (struct virtio_crypto_op_ctrl_req *ctrl, -struct rte_crypto_sym_xform *xform,bool is_chainned, +struct rte_crypto_sym_xform *xform,bool is_chained,uint8_t *cipher_key_data,uint8_t *auth_key_data,struct virtio_crypto_session *session) {
@@ -1228,7 +1228,7 @@ virtio_crypto_sym_pad_op_ctrl_req( VIRTIO_CRYPTO_MAX_IV_SIZE);return -1 ; } -if (is_chainned) +if (is_chained) ret =virtio_crypto_sym_pad_cipher_param ( &ctrl->u.sym_create_session.u.chain.para .cipher_param, cipher_xform);
drivers/crypto/virtio/virtqueue.c +1 -1
@@ -22,7 +22,7 @@ virtqueue_disable_intr(struct virtqueue *vq) }void -virtqueue_detatch_unused (struct virtqueue *vq) +virtqueue_detach_unused (struct virtqueue *vq) {struct rte_crypto_op *cop =NULL ;
drivers/crypto/virtio/virtqueue.h +2 -2
@@ -99,7 +99,7 @@ void virtqueue_disable_intr(struct virtqueue *vq);/** * Get all mbufs to be freed. */ -void virtqueue_detatch_unused (struct virtqueue *vq); +void virtqueue_detach_unused (struct virtqueue *vq);static inline int virtqueue_full (const struct virtqueue *vq)
@@ -145,7 +145,7 @@ virtqueue_notify(struct virtqueue *vq) {/* * Ensure updated avail->idx is visible to host. -* For virtio on IA, the notificaiton is through io port operation +* For virtio on IA, the notification is through io port operation * which is a serialization instruction itself. */ VTPCI_OPS (vq->hw)->notify_queue (vq->hw, vq);
drivers/dma/ioat/ioat_dmadev.c +1 -1
@@ -624,7 +624,7 @@ ioat_dmadev_create(const char *name, struct rte_pci_device *dev) ioat = dmadev->data->dev_private; ioat->dmadev = dmadev; ioat->regs = dev->mem_resource[0 ].addr; - ioat->doorbell = &ioat->regs->dmacount; + ioat->doorbell = &ioat->regs->dmaccount; ioat->qcfg.nb_desc =0 ; ioat->desc_ring =NULL ; ioat->version = ioat->regs->cbver;
drivers/dma/ioat/ioat_hw_defs.h +1 -1
@@ -68,7 +68,7 @@ struct ioat_registers {uint8_t reserved6[0x2 ];/* 0x82 */ uint8_t chancmd;/* 0x84 */ uint8_t reserved3[1 ];/* 0x85 */ -uint16_t dmacount;/* 0x86 */ +uint16_t dmaccount;/* 0x86 */ uint64_t chansts;/* 0x88 */ uint64_t chainaddr;/* 0x90 */ uint64_t chancmp;/* 0x98 */
drivers/dma/skeleton/skeleton_dmadev.c +1 -1
@@ -169,7 +169,7 @@ vchan_setup(struct skeldma_hw *hw, uint16_t nb_desc)struct rte_ring *completed;uint16_t i; - desc =rte_zmalloc_socket ("dma_skelteon_desc" , + desc =rte_zmalloc_socket ("dma_skeleton_desc" , nb_desc *sizeof (struct skeldma_desc ),RTE_CACHE_LINE_SIZE , hw->socket_id);if (desc ==NULL ) {
drivers/event/cnxk/cnxk_eventdev_selftest.c +2 -2
@@ -140,7 +140,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;int i, ret; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool =rte_pktmbuf_pool_create ( pool_name,MAX_EVENTS ,0 ,0 ,512 ,rte_socket_id ());if (!eventdev_test_mempool) {
@@ -1543,7 +1543,7 @@ cnxk_sso_selftest(const char *dev_name)cn9k_sso_set_rsrc (dev);if (cnxk_sso_testsuite_run (dev_name))return rc; -/* Verift dual ws mode. */ +/* Verify dual ws mode. */ printf ("Verifying CN9K Dual workslot mode\n" ); dev->dual_ws =1 ;cn9k_sso_set_rsrc (dev);
drivers/event/dlb2/dlb2.c +1 -1
@@ -2145,7 +2145,7 @@ dlb2_event_queue_detach_ldb(struct dlb2_eventdev *dlb2, }/* This is expected with eventdev API! -* It blindly attemmpts to unmap all queues. +* It blindly attempts to unmap all queues. */ if (i ==DLB2_MAX_NUM_QIDS_PER_LDB_CQ ) { DLB2_LOG_DBG("dlb2: ignoring LB QID %d not mapped for qm_port %d.\n",
drivers/event/dlb2/dlb2_priv.h +1 -1
@@ -519,7 +519,7 @@ struct dlb2_eventdev_port {bool setup_done;/* enq_configured is set when the qm port is created */ bool enq_configured; -uint8_t implicit_release;/* release events before dequeueing */ +uint8_t implicit_release;/* release events before dequeuing */ } __rte_cache_aligned;struct dlb2_queue {
drivers/event/dlb2/dlb2_selftest.c +1 -1
@@ -223,7 +223,7 @@ test_stop_flush(struct test *t) /* test to check we can properly flush events */ 0, RTE_EVENT_PORT_ATTR_DEQ_DEPTH, &dequeue_depth)) { -printf ("%d: Error retrieveing dequeue depth\n" , __LINE__); +printf ("%d: Error retrieving dequeue depth\n" , __LINE__); goto err; }
drivers/event/dlb2/rte_pmd_dlb2.h +1 -1
@@ -24,7 +24,7 @@ extern "C" {* Selects the token pop mode for a DLB2 port. */ enum dlb2_token_pop_mode { -/* Pop the CQ tokens immediately after dequeueing. */ +/* Pop the CQ tokens immediately after dequeuing. */ AUTO_POP ,/* Pop CQ tokens after (dequeue_depth - 1) events are released. * Supported on load-balanced ports only.
drivers/event/dpaa2/dpaa2_eventdev_selftest.c +1 -1
@@ -118,7 +118,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;const char *pool_name ="evdev_dpaa2_test_pool" ; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool = rte_pktmbuf_pool_create(pool_name, MAX_EVENTS, 0 /*MBUF_CACHE_SIZE*/,
drivers/event/dsw/dsw_evdev.h +2 -2
@@ -24,7 +24,7 @@/* Multiple 24-bit flow ids will map to the same DSW-level flow. The * number of DSW flows should be high enough make it unlikely that * flow ids of several large flows hash to the same DSW-level flow. -* Such collisions will limit parallism and thus the number of cores +* Such collisions will limit parallelism and thus the number of cores * that may be utilized. However, configuring a large number of DSW * flows might potentially, depending on traffic and actual * application flow id value range, result in each such DSW-level flow
@@ -104,7 +104,7 @@/* Only one outstanding migration per port is allowed */ #define DSW_MAX_PAUSED_FLOWS (DSW_MAX_PORTS*DSW_MAX_FLOWS_PER_MIGRATION) -/* Enough room for paus request/confirm and unpaus request/confirm for +/* Enough room for pause request/confirm and unpaus request/confirm for * all possible senders. */ #define DSW_CTL_IN_RING_SIZE ((DSW_MAX_PORTS-1)*4)
drivers/event/dsw/dsw_event.c +2 -2
@@ -1096,7 +1096,7 @@ dsw_port_ctl_process(struct dsw_evdev *dsw, struct dsw_port *port)static void dsw_port_note_op (struct dsw_port *port,uint16_t num_events) { -/* To pull the control ring reasonbly often on busy ports, +/* To pull the control ring reasonably often on busy ports, * each dequeued/enqueued event is considered an 'op' too. */ port->ops_since_bg_task += (num_events+1 );
@@ -1180,7 +1180,7 @@ dsw_event_enqueue_burst_generic(struct dsw_port *source_port,* addition, a port cannot be left "unattended" (e.g. unused) * for long periods of time, since that would stall * migration. Eventdev API extensions to provide a cleaner way -* to archieve both of these functions should be +* to archive both of these functions should be * considered. */ if (unlikely (events_len ==0 )) {
drivers/event/octeontx/ssovf_evdev.h +1 -1
@@ -88,7 +88,7 @@/* * In Cavium OCTEON TX SoC, all accesses to the device registers are -* implictly strongly ordered. So, The relaxed version of IO operation is +* implicitly strongly ordered. So, The relaxed version of IO operation is * safe to use with out any IO memory barriers. */ #define ssovf_read64 rte_read64_relaxed
drivers/event/octeontx/ssovf_evdev_selftest.c +1 -1
@@ -151,7 +151,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;const char *pool_name ="evdev_octeontx_test_pool" ; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool = rte_pktmbuf_pool_create(pool_name, MAX_EVENTS, 0 /*MBUF_CACHE_SIZE*/,
drivers/event/octeontx2/otx2_evdev_selftest.c +1 -1
@@ -139,7 +139,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;int i, ret; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool =rte_pktmbuf_pool_create (pool_name,MAX_EVENTS ,0 ,0 ,512 ,rte_socket_id ());
drivers/event/octeontx2/otx2_tim_evdev.c +2 -2
@@ -145,7 +145,7 @@ tim_err_desc(int rc) {switch (rc) {case TIM_AF_NO_RINGS_LEFT : -otx2_err ("Unable to allocat new TIM ring." ); +otx2_err ("Unable to allocate new TIM ring." );break ;case TIM_AF_INVALID_NPA_PF_FUNC :otx2_err ("Invalid NPA pf func." );
@@ -189,7 +189,7 @@ tim_err_desc(int rc)case TIM_AF_INVALID_ENABLE_DONTFREE :otx2_err ("Invalid Don't free value." );break ; -case TIM_AF_ENA_DONTFRE_NSET_PERIODIC : +case TIM_AF_ENA_DONTFREE_NSET_PERIODIC :otx2_err ("Don't free bit not set when periodic is enabled." );break ;case TIM_AF_RING_ALREADY_DISABLED :
drivers/event/octeontx2/otx2_worker_dual.h +1 -1
@@ -74,7 +74,7 @@ otx2_ssogws_dual_get_work(struct otx2_ssogws_state *ws, event.flow_id, flags, lookup_mem);/* Extracting tstamp, if PTP enabled. CGX will prepend * the timestamp at starting of packet data and it can -* be derieved from WQE 9 dword which corresponds to SG +* be derived from WQE 9 dword which corresponds to SG * iova. * rte_pktmbuf_mtod_offset can be used for this purpose * but it brings down the performance as it reads
drivers/event/opdl/opdl_evdev.c +1 -1
@@ -703,7 +703,7 @@ opdl_probe(struct rte_vdev_device *vdev) } PMD_DRV_LOG(INFO, "DEV_ID:[%02d] : " - "Success - creating eventdev device %s, numa_node:[%d], do_valdation:[%s]" + "Success - creating eventdev device %s, numa_node:[%d], do_validation:[%s]" " , self_test:[%s]\n", dev->data->dev_id, name,
drivers/event/opdl/opdl_test.c +1 -1
@@ -864,7 +864,7 @@ qid_basic(struct test *t) } -/* Start the devicea */ +/* Start the device */ if (!err) {if (rte_event_dev_start (evdev) <0 ) { PMD_DRV_LOG(ERR, "%s:%d: Error with start call\n",
drivers/event/sw/sw_evdev.h +1 -1
@@ -180,7 +180,7 @@ struct sw_port { uint16_t outstanding_releases __rte_cache_aligned;uint16_t inflight_max;/* app requested max inflights for this port */ uint16_t inflight_credits;/* num credits this port has right now */ -uint8_t implicit_release;/* release events before dequeueing */ +uint8_t implicit_release;/* release events before dequeuing */ uint16_t last_dequeue_burst_sz;/* how big the burst was */ uint64_t last_dequeue_ticks;/* used to track burst processing time */
drivers/event/sw/sw_evdev_selftest.c +1 -1
@@ -1109,7 +1109,7 @@ xstats_tests(struct test *t)NULL , 0); -/* Verify that the resetable stats are reset, and others are not */ +/* Verify that the resettable stats are reset, and others are not */ static const uint64_t queue_expected_zero[] = {0 /* rx */ ,0 /* tx */ ,
drivers/mempool/dpaa/dpaa_mempool.c +1 -1
@@ -258,7 +258,7 @@ dpaa_mbuf_alloc_bulk(struct rte_mempool *pool, }/* assigning mbuf from the acquired objects */ for (i =0 ; (i < ret) && bufs[i].addr; i++) { -/* TODO-errata - objerved that bufs may be null +/* TODO-errata - observed that bufs may be null * i.e. first buffer is valid, remaining 6 buffers * may be null. */
drivers/mempool/octeontx/octeontx_fpavf.c +2 -2
@@ -669,7 +669,7 @@ octeontx_fpa_bufpool_destroy(uintptr_t handle, int node_id)break ; } -/* Imsert it into an ordered linked list */ +/* Insert it into an ordered linked list */ for (curr = &head; curr[0 ] !=NULL ; curr = curr[0 ]) {if ((uintptr_t )node <= (uintptr_t )curr[0 ])break ;
@@ -705,7 +705,7 @@ octeontx_fpa_bufpool_destroy(uintptr_t handle, int node_id) ret =octeontx_fpapf_aura_detach (gpool);if (ret) { -fpavf_log_err ("Failed to dettach gaura %u. error code=%d\n" , +fpavf_log_err ("Failed to detach gaura %u. error code=%d\n" , gpool, ret); }
drivers/net/ark/ark_ethdev.c +2 -2
@@ -309,7 +309,7 @@ eth_ark_dev_init(struct rte_eth_dev *dev)return -1 ; }if (ark->sysctrl.t32[3 ] !=0 ) { -if (ark_rqp_lasped (ark->rqpacing)) { +if (ark_rqp_lapsed (ark->rqpacing)) {ARK_PMD_LOG (ERR ,"Arkville Evaluation System - " "Timer has Expired\n" );return -1 ;
@@ -565,7 +565,7 @@ eth_ark_dev_start(struct rte_eth_dev *dev)if (ark->start_pg && (dev->data->port_id ==0 )) {pthread_t thread; -/* Delay packet generatpr start allow the hardware to be ready +/* Delay packet generator start allow the hardware to be ready * This is only used for sanity checking with internal generator */ if (rte_ctrl_thread_create(&thread, "ark-delay-pg", NULL,
drivers/net/ark/ark_global.h +1 -1
@@ -67,7 +67,7 @@typedef void (*rx_user_meta_hook_fn )(struct rte_mbuf *mbuf,const uint32_t *meta,void *ext_user_data); -/* TX hook poplulate *meta, with up to 20 bytes. meta_cnt +/* TX hook populate *meta, with up to 20 bytes. meta_cnt * returns the number of uint32_t words populated, 0 to 5 */ typedef void (*tx_user_meta_hook_fn)(const struct rte_mbuf *mbuf,
drivers/net/ark/ark_rqp.c +2 -2
@@ -62,7 +62,7 @@ ark_rqp_dump(struct ark_rqpace_t *rqp) }int -ark_rqp_lasped (struct ark_rqpace_t *rqp) +ark_rqp_lapsed (struct ark_rqpace_t *rqp) { -return rqp->lasped; +return rqp->lapsed; }
drivers/net/ark/ark_rqp.h +2 -2
@@ -48,10 +48,10 @@ struct ark_rqpace_t {volatile uint32_t cpld_pending_max;volatile uint32_t err_count_other;char eval[4 ]; - volatile int lasped; + volatile int lapsed; };void ark_rqp_dump (struct ark_rqpace_t *rqp);void ark_rqp_stats_reset (struct ark_rqpace_t *rqp); -int ark_rqp_lasped (struct ark_rqpace_t *rqp); +int ark_rqp_lapsed (struct ark_rqpace_t *rqp);#endif
drivers/net/atlantic/atl_ethdev.c +1 -1
@@ -1423,7 +1423,7 @@ atl_dev_interrupt_action(struct rte_eth_dev *dev,* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
drivers/net/atlantic/atl_rxtx.c +1 -1
@@ -1094,7 +1094,7 @@ atl_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t )(nb_hold + rxq->nb_rx_hold);
drivers/net/atlantic/hw_atl/hw_atl_b0.c +1 -1
@@ -281,7 +281,7 @@ int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self)hw_atl_rpf_vlan_outer_etht_set (self,0x88A8U );hw_atl_rpf_vlan_inner_etht_set (self,0x8100U ); -/* VLAN proimisc bu defauld */ +/* VLAN promisc by default */ hw_atl_rpf_vlan_prom_mode_en_set (self,1 );/* Rx Interrupts */
drivers/net/axgbe/axgbe_dev.c +1 -1
@@ -1046,7 +1046,7 @@ static int axgbe_config_rx_threshold(struct axgbe_port *pdata,return 0 ; } -/*Distrubting fifo size */ +/*Distributing fifo size */ static void axgbe_config_rx_fifo_size (struct axgbe_port *pdata) {unsigned int fifo_size;
drivers/net/axgbe/axgbe_ethdev.c +1 -1
@@ -284,7 +284,7 @@ static int axgbe_phy_reset(struct axgbe_port *pdata)* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
drivers/net/axgbe/axgbe_ethdev.h +1 -1
@@ -641,7 +641,7 @@ struct axgbe_port {unsigned int kr_redrv; -/* Auto-negotiation atate machine support */ +/* Auto-negotiation state machine support */ unsigned int an_int;unsigned int an_status;enum axgbe_an an_result;
drivers/net/axgbe/axgbe_phy_impl.c +2 -2
@@ -347,7 +347,7 @@ static int axgbe_phy_i2c_read(struct axgbe_port *pdata, unsigned int target, retry =1 ; again2: -/* Read the specfied register */ +/* Read the specified register */ i2c_op.cmd =AXGBE_I2C_CMD_READ ; i2c_op.target = target; i2c_op.len = val_len;
@@ -1093,7 +1093,7 @@ static int axgbe_phy_an_config(struct axgbe_port *pdata __rte_unused) {return 0 ;/* Dummy API since there is no case to support -* external phy devices registred through kerenl apis +* external phy devices registred through kernel apis */ }
drivers/net/axgbe/axgbe_rxtx_vec_sse.c +1 -1
@@ -11,7 +11,7 @@#include <rte_mempool.h> #include <rte_mbuf.h> -/* Useful to avoid shifting for every descriptor prepration*/ +/* Useful to avoid shifting for every descriptor preparation*/ #define TX_DESC_CTRL_FLAGS 0xb000000000000000#define TX_DESC_CTRL_FLAG_TMST 0x40000000#define TX_FREE_BULK 8
drivers/net/bnx2x/bnx2x.c +28 -28
202 lines not on this page · raw message
drivers/net/bnx2x/bnx2x.h +8 -8
@@ -681,13 +681,13 @@ struct bnx2x_slowpath { };/* struct bnx2x_slowpath */ /* -* Port specifc data structure. +* Port specific data structure. */ struct bnx2x_port {/* * Port Management Function (for 57711E only). * When this field is set the driver instance is -* responsible for managing port specifc +* responsible for managing port specific * configurations such as handling link attentions. */ uint32_t pmf;
@@ -732,7 +732,7 @@ struct bnx2x_port {/* * MCP scratchpad address for port specific statistics. -* The device is responsible for writing statistcss +* The device is responsible for writing statisticss * back to the MCP for use with management firmware such * as UMP/NC-SI. */
@@ -937,8 +937,8 @@ struct bnx2x_devinfo {* already registered for this port (which means that the user wants storage * services). * 2. During cnic-related load, to know if offload mode is already configured -* in the HW or needs to be configrued. Since the transition from nic-mode to -* offload-mode in HW causes traffic coruption, nic-mode is configured only +* in the HW or needs to be configured. Since the transition from nic-mode to +* offload-mode in HW causes traffic corruption, nic-mode is configured only * in ports on which storage services where never requested. */ #define CONFIGURE_NIC_MODE (sc) (!CHIP_IS_E1x(sc) && !CNIC_ENABLED(sc))
@@ -1709,7 +1709,7 @@ static const uint32_t dmae_reg_go_c[] = { GENERAL_ATTEN_OFFSET(LATCHED_ATTN_RBCP) | \ GENERAL_ATTEN_OFFSET(LATCHED_ATTN_RSVD_GRC)) -#define HW_INTERRUT_ASSERT_SET_0 \ +#define HW_INTERRUPT_ASSERT_SET_0 \ (AEU_INPUTS_ATTN_BITS_TSDM_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_TCM_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_TSEMI_HW_INTERRUPT | \
@@ -1722,7 +1722,7 @@ static const uint32_t dmae_reg_go_c[] = { AEU_INPUTS_ATTN_BITS_TSEMI_PARITY_ERROR |\ AEU_INPUTS_ATTN_BITS_TCM_PARITY_ERROR |\ AEU_INPUTS_ATTN_BITS_PBCLIENT_PARITY_ERROR) -#define HW_INTERRUT_ASSERT_SET_1 \ +#define HW_INTERRUPT_ASSERT_SET_1 \ (AEU_INPUTS_ATTN_BITS_QM_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_TIMERS_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_XSDM_HW_INTERRUPT | \
@@ -1750,7 +1750,7 @@ static const uint32_t dmae_reg_go_c[] = { AEU_INPUTS_ATTN_BITS_UPB_PARITY_ERROR | \ AEU_INPUTS_ATTN_BITS_CSDM_PARITY_ERROR |\ AEU_INPUTS_ATTN_BITS_CCM_PARITY_ERROR) -#define HW_INTERRUT_ASSERT_SET_2 \ +#define HW_INTERRUPT_ASSERT_SET_2 \ (AEU_INPUTS_ATTN_BITS_CSEMI_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_CDU_HW_INTERRUPT | \ AEU_INPUTS_ATTN_BITS_DMAE_HW_INTERRUPT | \
drivers/net/bnx2x/bnx2x_stats.c +5 -5
@@ -551,7 +551,7 @@ bnx2x_bmac_stats_update(struct bnx2x_softc *sc)UPDATE_STAT64 (rx_stat_grfrg, rx_stat_etherstatsfragments);UPDATE_STAT64 (rx_stat_grjbr, rx_stat_etherstatsjabbers);UPDATE_STAT64 (rx_stat_grxcf, rx_stat_maccontrolframesreceived); -UPDATE_STAT64 (rx_stat_grxpf, rx_stat_xoffstateentered); +UPDATE_STAT64 (rx_stat_grxpf, rx_stat_xoffsetateentered);UPDATE_STAT64 (rx_stat_grxpf, rx_stat_mac_xpf);UPDATE_STAT64 (tx_stat_gtxpf, tx_stat_outxoffsent);
@@ -586,7 +586,7 @@ bnx2x_bmac_stats_update(struct bnx2x_softc *sc)UPDATE_STAT64 (rx_stat_grfrg, rx_stat_etherstatsfragments);UPDATE_STAT64 (rx_stat_grjbr, rx_stat_etherstatsjabbers);UPDATE_STAT64 (rx_stat_grxcf, rx_stat_maccontrolframesreceived); -UPDATE_STAT64 (rx_stat_grxpf, rx_stat_xoffstateentered); +UPDATE_STAT64 (rx_stat_grxpf, rx_stat_xoffsetateentered);UPDATE_STAT64 (rx_stat_grxpf, rx_stat_mac_xpf);UPDATE_STAT64 (tx_stat_gtxpf, tx_stat_outxoffsent);UPDATE_STAT64 (tx_stat_gtxpf, tx_stat_flowcontroldone);
@@ -646,7 +646,7 @@ bnx2x_mstat_stats_update(struct bnx2x_softc *sc)ADD_STAT64 (stats_rx.rx_grovr, rx_stat_dot3statsframestoolong);ADD_STAT64 (stats_rx.rx_grfrg, rx_stat_etherstatsfragments);ADD_STAT64 (stats_rx.rx_grxcf, rx_stat_maccontrolframesreceived); -ADD_STAT64 (stats_rx.rx_grxpf, rx_stat_xoffstateentered); +ADD_STAT64 (stats_rx.rx_grxpf, rx_stat_xoffsetateentered);ADD_STAT64 (stats_rx.rx_grxpf, rx_stat_mac_xpf);ADD_STAT64 (stats_tx.tx_gtxpf, tx_stat_outxoffsent);ADD_STAT64 (stats_tx.tx_gtxpf, tx_stat_flowcontroldone);
@@ -729,7 +729,7 @@ bnx2x_emac_stats_update(struct bnx2x_softc *sc)UPDATE_EXTEND_STAT (rx_stat_etherstatsfragments);UPDATE_EXTEND_STAT (rx_stat_etherstatsjabbers);UPDATE_EXTEND_STAT (rx_stat_maccontrolframesreceived); -UPDATE_EXTEND_STAT (rx_stat_xoffstateentered); +UPDATE_EXTEND_STAT (rx_stat_xoffsetateentered);UPDATE_EXTEND_STAT (rx_stat_xonpauseframesreceived);UPDATE_EXTEND_STAT (rx_stat_xoffpauseframesreceived);UPDATE_EXTEND_STAT (tx_stat_outxonsent);
@@ -1358,7 +1358,7 @@ bnx2x_prep_fw_stats_req(struct bnx2x_softc *sc)/* * Prepare the first stats ramrod (will be completed with -* the counters equal to zero) - init counters to somethig different. +* the counters equal to zero) - init counters to something different. */ memset (&sc->fw_stats_data->storm_counters,0xff ,sizeof (struct stats_counter ));
drivers/net/bnx2x/bnx2x_stats.h +4 -4
@@ -105,8 +105,8 @@ struct bnx2x_eth_stats {uint32_t rx_stat_bmac_xpf_lo;uint32_t rx_stat_bmac_xcf_hi;uint32_t rx_stat_bmac_xcf_lo; -uint32_t rx_stat_xoffstateentered_hi; -uint32_t rx_stat_xoffstateentered_lo; +uint32_t rx_stat_xoffsetateentered_hi; +uint32_t rx_stat_xoffsetateentered_lo;uint32_t rx_stat_xonpauseframesreceived_hi;uint32_t rx_stat_xonpauseframesreceived_lo;uint32_t rx_stat_xoffpauseframesreceived_hi;
@@ -314,7 +314,7 @@ struct bnx2x_eth_stats_old { };struct bnx2x_eth_q_stats_old { -/* Fields to perserve over fw reset*/ +/* Fields to preserve over fw reset*/ uint32_t total_unicast_bytes_received_hi;uint32_t total_unicast_bytes_received_lo;uint32_t total_broadcast_bytes_received_hi;
@@ -328,7 +328,7 @@ struct bnx2x_eth_q_stats_old {uint32_t total_multicast_bytes_transmitted_hi;uint32_t total_multicast_bytes_transmitted_lo; -/* Fields to perserve last of */ +/* Fields to preserve last of */ uint32_t total_bytes_received_hi;uint32_t total_bytes_received_lo;uint32_t total_bytes_transmitted_hi;
drivers/net/bnx2x/bnx2x_vfpf.c +1 -1
@@ -73,7 +73,7 @@ bnx2x_add_tlv(__rte_unused struct bnx2x_softc *sc, void *tlvs_list, tl->length = length; } -/* Initiliaze header of the first tlv and clear mailbox*/ +/* Initialize header of the first tlv and clear mailbox*/ static void bnx2x_vf_prep (struct bnx2x_softc *sc,struct vf_first_tlv *first_tlv,uint16_t type,uint16_t length)
drivers/net/bnx2x/bnx2x_vfpf.h +1 -1
@@ -241,7 +241,7 @@ struct vf_close_tlv {uint8_t pad[2 ]; }; -/* rlease the VF's acquired resources */ +/* release the VF's acquired resources */ struct vf_release_tlv {struct vf_first_tlv first_tlv;uint16_t vf_id;/* for debug */
drivers/net/bnx2x/ecore_fw_defs.h +1 -1
@@ -379,7 +379,7 @@/* temporarily used for RTT */ #define XSEMI_CLK1_RESUL_CHIP (1e-3) -/* used for Host Coallescing */ +/* used for Host Coalescing */ #define SDM_TIMER_TICK_RESUL_CHIP (4 * (1e-6))#define TSDM_TIMER_TICK_RESUL_CHIP (1 * (1e-6))
drivers/net/bnx2x/ecore_hsi.h +27 -27
163 lines not on this page · raw message
drivers/net/bnx2x/ecore_init.h +1 -1
@@ -288,7 +288,7 @@ static inline void ecore_dcb_config_qm(struct bnx2x_softc *sc, enum cos_mode mod* * IMPORTANT REMARKS: * 1. the cmng_init struct does not represent the contiguous internal ram -* structure. the driver should use the XSTORM_CMNG_PERPORT_VARS_OFFSET +* structure. the driver should use the XSTORM_CMNG_PER_PORT_VARS_OFFSET * offset in order to write the port sub struct and the * PFID_FROM_PORT_AND_VNIC offset for writing the vnic sub struct (in other * words - don't use memcpy!).
drivers/net/bnx2x/ecore_init_ops.h +3 -3
@@ -534,7 +534,7 @@ static void ecore_init_pxp_arb(struct bnx2x_softc *sc, int r_order,REG_WR (sc,PXP2_REG_WR_CDU_MPS , val); } -/* Validate number of tags suppoted by device */ +/* Validate number of tags supported by device */ #define PCIE_REG_PCIER_TL_HDR_FC_ST 0x2980 val =REG_RD (sc,PCIE_REG_PCIER_TL_HDR_FC_ST ); val &=0xFF ;
@@ -714,7 +714,7 @@ static void ecore_ilt_client_init_op_ilt(struct bnx2x_softc *sc,for (i = ilt_cli->start; i <= ilt_cli->end; i++)ecore_ilt_line_init_op (sc, ilt, i, initop); -/* init/clear the ILT boundries */ +/* init/clear the ILT boundaries */ ecore_ilt_boundary_init_op (sc, ilt_cli, ilt->start_line, initop); }
@@ -765,7 +765,7 @@ static void ecore_ilt_init_client_psz(struct bnx2x_softc *sc, int cli_num,/* * called during init common stage, ilt clients should be initialized -* prioir to calling this function +* prior to calling this function */ static void ecore_ilt_init_page_size (struct bnx2x_softc *sc,uint8_t initop) {
drivers/net/bnx2x/ecore_reg.h +20 -20
@@ -19,7 +19,7 @@#define ATC_ATC_INT_STS_REG_ATC_RCPL_TO_EMPTY_CNT (0x1 << 3)#define ATC_ATC_INT_STS_REG_ATC_TCPL_ERROR (0x1 << 4)#define ATC_ATC_INT_STS_REG_ATC_TCPL_TO_NOT_PEND (0x1 << 1) -/* [R 1] ATC initalization done */ +/* [R 1] ATC initialization done */ #define ATC_REG_ATC_INIT_DONE 0x1100bc/* [RW 6] Interrupt mask register #0 read/write */ #define ATC_REG_ATC_INT_MASK 0x1101c8
@@ -56,7 +56,7 @@#define BRB1_REG_PAUSE_HIGH_THRESHOLD_0 0x60078/* [RW 10] Write client 0: Assert pause threshold. Not Functional */ #define BRB1_REG_PAUSE_LOW_THRESHOLD_0 0x60068 -/* [R 24] The number of full blocks occpied by port. */ +/* [R 24] The number of full blocks occupied by port. */ #define BRB1_REG_PORT_NUM_OCC_BLOCKS_0 0x60094/* [R 5] Used to read the value of the XX protection CAM occupancy counter. */ #define CCM_REG_CAM_OCCUP 0xd0188
@@ -456,7 +456,7 @@#define IGU_REG_PCI_PF_MSIX_FUNC_MASK 0x130148#define IGU_REG_PCI_PF_MSI_EN 0x130140/* [WB_R 32] Each bit represent the pending bits status for that SB. 0 = no -* pending; 1 = pending. Pendings means interrupt was asserted; and write +* pending; 1 = pending. Pending means interrupt was asserted; and write * done was not received. Data valid only in addresses 0-4. all the rest are * zero. */
@@ -1059,14 +1059,14 @@/* [R 28] this field hold the last information that caused reserved * attention. bits [19:0] - address; [22:20] function; [23] reserved; * [27:24] the master that caused the attention - according to the following -* encodeing:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = +* encoding:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = * dbu; 8 = dmae */ #define MISC_REG_GRC_RSV_ATTN 0xa3c0/* [R 28] this field hold the last information that caused timeout * attention. bits [19:0] - address; [22:20] function; [23] reserved; * [27:24] the master that caused the attention - according to the following -* encodeing:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = +* encoding:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = * dbu; 8 = dmae */ #define MISC_REG_GRC_TIMEOUT_ATTN 0xa3c4
@@ -1398,11 +1398,11 @@* ~nig_registers_led_control_blink_traffic_p0.led_control_blink_traffic_p0 */ #define NIG_REG_LED_CONTROL_OVERRIDE_TRAFFIC_P0 0x102f8 -/* [RW 1] Port0: If set along with the led_control_override_trafic_p0 bit; +/* [RW 1] Port0: If set along with the led_control_override_traffic_p0 bit; * turns on the Traffic LED. If the led_control_blink_traffic_p0 bit is also * set; the LED will blink with blink rate specified in * ~nig_registers_led_control_blink_rate_p0.led_control_blink_rate_p0 and -* ~nig_regsters_led_control_blink_rate_ena_p0.led_control_blink_rate_ena_p0 +* ~nig_registers_led_control_blink_rate_ena_p0.led_control_blink_rate_ena_p0 * fields. */ #define NIG_REG_LED_CONTROL_TRAFFIC_P0 0x10300
@@ -1567,7 +1567,7 @@* MAC DA 2. The reset default is set to mask out all parameters. */ #define NIG_REG_P0_LLH_PTP_PARAM_MASK 0x187a0 -/* [RW 14] Mask regiser for the rules used in detecting PTP packets. Set +/* [RW 14] Mask register for the rules used in detecting PTP packets. Set * each bit to 1 to mask out that particular rule. 0-{IPv4 DA 0; UDP DP 0} . * 1-{IPv4 DA 0; UDP DP 1} . 2-{IPv4 DA 1; UDP DP 0} . 3-{IPv4 DA 1; UDP DP * 1} . 4-{IPv6 DA 0; UDP DP 0} . 5-{IPv6 DA 0; UDP DP 1} . 6-{IPv6 DA 1;
@@ -1672,7 +1672,7 @@* MAC DA 2. The reset default is set to mask out all parameters.
Lines of this file are not shown. View the raw message.
drivers/net/bnx2x/ecore_sp.c +21 -21
42 lines not on this page · raw message
drivers/net/bnx2x/elink.c +26 -26
52 lines not on this page · raw message
drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/bonding/eth_bond_8023ad_private.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_8023ad.c +10 -10
Lines of this file are not shown. View the raw message.
drivers/net/bonding/rte_eth_bond_8023ad.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/enic/enic_flow.c +32 -32
64 lines not on this page · raw message
drivers/net/hns3/hns3_dcb.c +43 -43
86 lines not on this page · raw message
drivers/net/i40e/i40e_rxtx_vec_altivec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ipn3ke/ipn3ke_representor.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/mlx5/mlx5_flow_dv.c +28 -28
56 lines not on this page · raw message
drivers/net/mlx5/mlx5_rxtx_vec_altivec.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/mlx5/windows/mlx5_flow_os.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/octeontx2/otx2_ethdev_irq.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/sfc/sfc_mae.c +25 -25
50 lines not on this page · raw message
drivers/net/softnic/rte_eth_softnic_flow.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/virtio/virtio_rxtx_packed_avx.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/regex/mlx5/mlx5_regex_fastpath.c +1 -1
Lines of this file are not shown. View the raw message.
examples/ipsec-secgw/test/common_defs.sh +2 -2
Lines of this file are not shown. View the raw message.
examples/l2fwd-event/l2fwd_event_generic.c +1 -1
Lines of this file are not shown. View the raw message.
examples/l2fwd-event/l2fwd_event_internal_port.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/hotplug_mp/commands.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/simple_mp/main.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/symmetric_mp/main.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread.c +3 -3
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_diag.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_int.h +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_tls.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/l3fwd-thread/main.c +6 -6
Lines of this file are not shown. View the raw message.
examples/performance-thread/pthread_shim/pthread_shim.h +1 -1
Lines of this file are not shown. View the raw message.
examples/pipeline/examples/registers.spec +1 -1
Lines of this file are not shown. View the raw message.
examples/vhost/virtio_net.c +25 -25
50 lines not on this page · raw message
examples/vm_power_manager/channel_monitor.c +1 -1
Lines of this file are not shown. View the raw message.
examples/vm_power_manager/power_manager.h +1 -1
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_rx_adapter.c +3 -3
Lines of this file are not shown. View the raw message.
lib/pipeline/rte_swx_pipeline_internal.h +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.30.1 (Apple Git-130)
Part of the diff is not shown here. View the raw message.
app/test-eventdev/test_order_common.c void · line 256
Quoted 10 lines · Josh Soref
app/test-eventdev/test_order_common.c +1
-1@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));
Hi Josh, Thanks for the patch.
The typo fixes for comments and logs are more straightforward, but I have mixed feeling about the variable / macro typo fixes, let's see what others think.
And I think we should get this patch either one of the first patch or last patch to prevent conflict with other patches.
Quoted 14 lines · Ferruh Yigit
app/test-eventdev/test_order_common.c void · line 256
Quoted 10 lines · Josh Soref
app/test-eventdev/test_order_common.c +1
-1@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));Hi Josh, Thanks for the patch.
Quoted 6 lines
The typo fixes for comments and logs are more straightforward, but I have mixed feeling about the variable / macro typo fixes, let's see what others think.
And I think we should get this patch either one of the first patch or last patch to prevent conflict with other patches.
+1 to being a first patch to start things off clean.
For the macros, since there is quick a bit of content in the patch, could we have the patch split into a separate patch for macro changes to review separately, allowing the simple doc/printf spelling changes to go in immediately?
29/11/2021 14:59, Bruce Richardson:
Quoted 22 lines · Ferruh Yigit
Quoted 14 lines · Josh Soref
app/test-eventdev/test_order_common.c void · line 256
Quoted 10 lines
app/test-eventdev/test_order_common.c +1
-1@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));Hi Josh, Thanks for the patch.
Quoted 6 lines
The typo fixes for comments and logs are more straightforward, but I have mixed feeling about the variable / macro typo fixes, let's see what others think.
And I think we should get this patch either one of the first patch or last patch to prevent conflict with other patches.
Quoted 6 lines
+1 to being a first patch to start things off clean.
For the macros, since there is quick a bit of content in the patch, could we have the patch split into a separate patch for macro changes to review separately, allowing the simple doc/printf spelling changes to go in immediately?
+1 to start with a patch on doc, comments and log messages
Quoted 24 lines · Thomas Monjalon
29/11/2021 14:59, Bruce Richardson:
Quoted 22 lines · Ferruh Yigit
Quoted 20 lines · Josh Soref
app/test-eventdev/test_order_common.c void · line 256
Quoted 10 lines
app/test-eventdev/test_order_common.c +1
-1@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));Hi Josh, Thanks for the patch.
The typo fixes for comments and logs are more straightforward, but I have mixed feeling about the variable / macro typo fixes, let's see what others think.
And I think we should get this patch either one of the first patch or last patch to prevent conflict with other patches.
Quoted 8 lines
Quoted 6 lines
+1 to being a first patch to start things off clean.
For the macros, since there is quick a bit of content in the patch, could we have the patch split into a separate patch for macro changes to review separately, allowing the simple doc/printf spelling changes to go in immediately?
+1 to start with a patch on doc, comments and log messages
+1
Quoted 2 lines
Quoted 22 lines · Bruce Richardson
Quoted 14 lines · Ferruh Yigit
app/test-eventdev/test_order_common.c void · line 256
Quoted 10 lines · Josh Soref
app/test-eventdev/test_order_common.c +1
-1@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));Hi Josh, Thanks for the patch.
Quoted 6 lines
The typo fixes for comments and logs are more straightforward, but I have mixed feeling about the variable / macro typo fixes, let's see what others think.
And I think we should get this patch either one of the first patch or last patch to prevent conflict with other patches.
Quoted 7 lines
+1 to being a first patch to start things off clean.
For the macros, since there is quick a bit of content in the patch, could we have the patch split into a separate patch for macro changes to review separately, allowing the simple doc/printf spelling changes to go in immediately?
Also as far as I can see there are multiple build errors related to the variable / macro renames, which was the concern.
Quoted 4 lines · Ferruh Yigit
Quoted 3 lines · Bruce Richardson
Quoted 2 lines · Ferruh Yigit
Hi Josh, Thanks for the patch.
Quoted 17 lines
Quoted 1 line
Quoted 1 line
The typo fixes for comments and logs are more straightforward, but I
have
Quoted 1 line
Quoted 1 line
mixed feeling about the variable / macro typo fixes, let's see what
others
Quoted 3 lines
Quoted 3 lines
think.
And I think we should get this patch either one of the first patch or
last
Quoted 8 lines
Quoted 1 line
patch to prevent conflict with other patches.
+1 to being a first patch to start things off clean.
For the macros, since there is quick a bit of content in the patch, could we have the patch split into a separate patch for macro changes to review separately, allowing the simple doc/printf spelling changes to go in immediately?
Yeah, this is doable. I'll see if I can do it now. It's a lot of files, plus I'll need to figure out the command sequence to reply to this thread. If someone is available on Slack for some handholding, that might help me get it done faster.
Also as far as I can see there are multiple build errors related to the
Quoted 2 lines
variable / macro renames, which was the concern.
I'm used to having access to GitHub based CI that let me test before making a PR. I've locally dropped the peer change, but didn't resubmit since I figured I'd wait for replies.
(Last night I installed meson and ninja, so I might be able to do a local build.)
Quoted 1 line
Quoted 27 lines · Josh Soref
On Mon, Nov 29, 2021, 9:05 AM Ferruh Yigit <[1][email protected]> wrote:
On 11/29/2021 1:59 PM, Bruce Richardson wrote:
> On Mon, Nov 29, 2021 at 12:49:56PM +0000, Ferruh Yigit wrote:
>> Hi Josh, Thanks for the patch.
>>
>> The typo fixes for comments and logs are more straightforward, but I have
>> mixed feeling about the variable / macro typo fixes, let's see what others
>> think.
>>
>> And I think we should get this patch either one of the first patch or last
>> patch to prevent conflict with other patches.
>
> +1 to being a first patch to start things off clean.
>
> For the macros, since there is quick a bit of content in the patch, could
> we have the patch split into a separate patch for macro changes to review
> separately, allowing the simple doc/printf spelling changes to go in
> immediately?
Quoted 4 lines
Yeah, this is doable. I'll see if I can do it now. It's a lot of files, plus I'll need to figure out the command sequence to reply to this thread. If someone is available on Slack for some handholding, that might help me get it done faster.
Thanks.
To reply to this thread with any new patches add "--in-reply-to [email protected]" to your git send-email command. (The long string above is the message id from the email headers of your original patch. you can get it from patchwork if you look at the headers or also the address to your patch in patchwork [1]).
[1] http://patches.dpdk.org/project/dpdk/patch/[email protected]/
Quoted 25 lines · Josh Soref
On Mon, Nov 29, 2021, 9:05 AM Ferruh Yigit <[email protected] <mailto:[email protected]>> wrote:
On 11/29/2021 1:59 PM, Bruce Richardson wrote:
> On Mon, Nov 29, 2021 at 12:49:56PM +0000, Ferruh Yigit wrote:
>> Hi Josh, Thanks for the patch.
>>
>> The typo fixes for comments and logs are more straightforward, but I have >> mixed feeling about the variable / macro typo fixes, let's see what others >> think.
>>
>> And I think we should get this patch either one of the first patch or last >> patch to prevent conflict with other patches.
>
> +1 to being a first patch to start things off clean.
>
> For the macros, since there is quick a bit of content in the patch, could > we have the patch split into a separate patch for macro changes to review > separately, allowing the simple doc/printf spelling changes to go in > immediately?Yeah, this is doable. I'll see if I can do it now. It's a lot of files, plus I'll need to figure out the command sequence to reply to this thread. If someone is available on Slack for some handholding, that might help me get it done faster.
Quoted 8 lines
Also as far as I can see there are multiple build errors related to the variable / macro renames, which was the concern.
I'm used to having access to GitHub based CI that let me test before making a PR. I've locally dropped the peer change, but didn't resubmit since I figured I'd wait for replies.
(Last night I installed meson and ninja, so I might be able to do a local build.)
Following changes fixes the build errors, I am not saying they are the best fix, that is just to give you an idea what is failing:
diff --git a/drivers/baseband/acc100/acc100_pf_enum.h b/drivers/baseband/acc100/acc100_pf_enum.h index a1ee416d26c1..cdb58dfbb92e 100644
--- a/drivers/baseband/acc100/acc100_pf_enum.h
+++ b/drivers/baseband/acc100/acc100_pf_enum.h
@@ -42,11 +42,11 @@ enum {
HWPfQmgrDebugProcessWdTimeoutMsiFifo = 0x00A001C4,
HWPfQmgrDepthLog2Grp = 0x00A00200,
HWPfQmgrTholdGrp = 0x00A00300,
- HWPfQmgrGrpTmplateReg0Indx = 0x00A00600,
- HWPfQmgrGrpTmplateReg1Indx = 0x00A00680,
- HWPfQmgrGrpTmplateReg2indx = 0x00A00700,
- HWPfQmgrGrpTmplateReg3Indx = 0x00A00780,
- HWPfQmgrGrpTmplateReg4Indx = 0x00A00800,
+ HWPfQmgrGrpTemplateReg0Indx = 0x00A00600,
+ HWPfQmgrGrpTemplateReg1Indx = 0x00A00680,
+ HWPfQmgrGrpTemplateReg2indx = 0x00A00700,
+ HWPfQmgrGrpTemplateReg3Indx = 0x00A00780,
+ HWPfQmgrGrpTemplateReg4Indx = 0x00A00800,
HWPfQmgrVfBaseAddr = 0x00A01000,
HWPfQmgrUl4GWeightRrVf = 0x00A02000,
HWPfQmgrDl4GWeightRrVf = 0x00A02100,
@@ -113,7 +113,7 @@ enum {
HWPfDmaStatusDataErrLoVf = 0x00B8085C,
HWPfDmaStatusDataErrHiVf = 0x00B80860,
HWPfDmaCfgMsiEnSoftwareErr = 0x00B80864,
- HWPfDmaDescriptorSignatuture = 0x00B80868,
+ HWPfDmaDescriptorSignature = 0x00B80868,
HWPfDmaFcwSignature = 0x00B8086C,
HWPfDmaErrorDetectionEn = 0x00B80870,
HWPfDmaErrCntrlFifoDebug = 0x00B8087C,
diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/nix.h
index dd2ebecc6a9c..ee8cb91d92a8 100644
--- a/drivers/common/cnxk/hw/nix.h
+++ b/drivers/common/cnxk/hw/nix.h
@@ -921,7 +921,7 @@ struct nix_band_prof_s {
uint64_t icolor : 2;
uint64_t tnl_ena : 1;
uint64_t rsvd_7_5 : 3;
- uint64_t peir_exponent : 5;
+ uint64_t peer_exponent : 5;
uint64_t rsvd_15_13 : 3;
uint64_t pebs_exponent : 5;
uint64_t rsvd_23_21 : 3;
@@ -929,7 +929,7 @@ struct nix_band_prof_s {
uint64_t rsvd_31_29 : 3;
uint64_t cbs_exponent : 5;
uint64_t rsvd_39_37 : 3;
- uint64_t peir_mantissa : 8;
+ uint64_t peer_mantissa : 8;
uint64_t pebs_mantissa : 8;
uint64_t cir_mantissa : 8;
uint64_t cbs_mantissa : 8; diff --git a/drivers/crypto/qat/qat_sym_session.h b/drivers/crypto/qat/qat_sym_session.h index 21afb90cad3a..6965b31efc53 100644
--- a/drivers/crypto/qat/qat_sym_session.h
+++ b/drivers/crypto/qat/qat_sym_session.h
@@ -141,10 +141,6 @@ qat_sym_session_clear(struct rte_cryptodev *dev,
unsigned int
qat_sym_session_get_private_size(struct rte_cryptodev *dev);
-void
-qat_sym_session_init_common_hdr(struct qat_sym_session *session,
- struct icp_qat_fw_comn_req_hdr *header,
- enum qat_sym_proto_flag proto_flags);
int
qat_sym_validate_aes_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
int
diff --git a/drivers/crypto/virtio/virtio_cryptodev.c b/drivers/crypto/virtio/virtio_cryptodev.c index ce23e38b791f..80db2fe21e74 100644
--- a/drivers/crypto/virtio/virtio_cryptodev.c
+++ b/drivers/crypto/virtio/virtio_cryptodev.c
@@ -862,7 +862,7 @@ virtio_crypto_dev_free_mbufs(struct rte_cryptodev *dev)
VIRTIO_CRYPTO_INIT_LOG_DBG("queue_pairs[%d]=%p",
i, dev->data->queue_pairs[i]); - virtqueue_detach_unused(dev->data->queue_pairs[i]);
+ virtqueue_detatch_unused(dev->data->queue_pairs[i]);
VIRTIO_CRYPTO_INIT_LOG_DBG("After freeing dataq[%d] used and "
"unused buf", i);
diff --git a/drivers/crypto/virtio/virtqueue.c b/drivers/crypto/virtio/virtqueue.c index 33985d1dab96..fd8be581c996 100644
--- a/drivers/crypto/virtio/virtqueue.c
+++ b/drivers/crypto/virtio/virtqueue.c
@@ -22,7 +22,7 @@ virtqueue_disable_intr(struct virtqueue *vq)
}
void
-virtqueue_detach_unused(struct virtqueue *vq)
+virtqueue_detatch_unused(struct virtqueue *vq)
{
struct rte_crypto_op *cop = NULL; diff --git a/drivers/crypto/virtio/virtqueue.h b/drivers/crypto/virtio/virtqueue.h index 1a67b408403a..c96ca629921b 100644
--- a/drivers/crypto/virtio/virtqueue.h
+++ b/drivers/crypto/virtio/virtqueue.h
@@ -99,7 +99,7 @@ void virtqueue_disable_intr(struct virtqueue *vq);
/**
* Get all mbufs to be freed.
*/
-void virtqueue_detach_unused(struct virtqueue *vq);
+void virtqueue_detatch_unused(struct virtqueue *vq);
static inline int
virtqueue_full(const struct virtqueue *vq)
diff --git a/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c b/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c index 27f42d8cb23b..b09cccedf587 100644
--- a/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c
+++ b/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c
@@ -102,9 +102,9 @@ int32_t bnxt_rss_config_action_apply(struct bnxt_ulp_mapper_parms *parms)
#define ULP_FILE_PATH_SIZE 256
-static int32_t glob_error_fn(const char *epath, int32_t errno) +static int32_t glob_error_fn(const char *epath, int32_t eerrno)
{
- BNXT_TF_DBG(ERR, "path %s error %d\n", epath, errno);
+ BNXT_TF_DBG(ERR, "path %s error %d\n", epath, eerrno);
return 0;}
diff --git a/drivers/regex/mlx5/mlx5_regex_fastpath.c b/drivers/regex/mlx5/mlx5_regex_fastpath.c index 72464cad64ea..9a2db7e43fd0 100644
--- a/drivers/regex/mlx5/mlx5_regex_fastpath.c
+++ b/drivers/regex/mlx5/mlx5_regex_fastpath.c
@@ -226,7 +226,7 @@ complete_umr_wqe(struct mlx5_regex_qp *qp, struct mlx5_regex_hw_qp *qp_obj,
rte_cpu_to_be_32(mkey_job->imkey->id));
/* Set UMR WQE control seg. */
ucseg->mkey_mask |= rte_cpu_to_be_64(MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN |
- MLX5_WQE_UMR_CTRL_FLAG_TRANSLATION_OFFSET |
+ MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET |
MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE);
ucseg->klm_octowords = rte_cpu_to_be_16(klm_align);
/* Set mkey context seg. */PATCH v2 1/1 Spelling comments/text
In reply to Josh Soref--- app/proc-info/main.c | 6 +-- app/test-acl/main.c | 6 +-- .../comp_perf_test_cyclecount.c | 2 +- .../comp_perf_test_throughput.c | 2 +- .../comp_perf_test_verify.c | 2 +- app/test-compress-perf/main.c | 2 +- .../cperf_test_pmd_cyclecount.c | 2 +- app/test-eventdev/evt_options.c | 2 +- app/test-eventdev/test_order_common.c | 2 +- app/test-fib/main.c | 4 +- app/test-flow-perf/config.h | 2 +- app/test-flow-perf/main.c | 2 +- app/test-pmd/cmdline.c | 2 +- app/test-pmd/cmdline_flow.c | 6 +-- app/test-pmd/cmdline_tm.c | 4 +- app/test-pmd/csumonly.c | 2 +- app/test-pmd/parameters.c | 2 +- app/test-pmd/testpmd.c | 2 +- app/test-pmd/txonly.c | 4 +- app/test/test_barrier.c | 2 +- app/test/test_bpf.c | 4 +- app/test/test_compressdev.c | 2 +- app/test/test_cryptodev.c | 2 +- app/test/test_fib_perf.c | 2 +- app/test/test_kni.c | 4 +- app/test/test_kvargs.c | 16 ++++---- app/test/test_lpm6_data.h | 2 +- app/test/test_member.c | 2 +- app/test/test_mempool.c | 4 +- app/test/test_memzone.c | 6 +-- app/test/test_metrics.c | 2 +- app/test/test_pcapng.c | 2 +- app/test/test_power_cpufreq.c | 2 +- app/test/test_rcu_qsbr.c | 4 +- app/test/test_red.c | 8 ++-- app/test/test_security.c | 2 +- app/test/test_table_pipeline.c | 2 +- app/test/test_thash.c | 2 +- buildtools/binutils-avx512-check.py | 2 +- devtools/check-symbol-change.sh | 6 +-- .../virtio_user_for_container_networking.svg | 2 +- doc/guides/nics/af_packet.rst | 2 +- doc/guides/nics/mlx4.rst | 2 +- doc/guides/nics/mlx5.rst | 6 +-- doc/guides/prog_guide/cryptodev_lib.rst | 2 +- .../prog_guide/env_abstraction_layer.rst | 4 +- doc/guides/prog_guide/img/turbo_tb_decode.svg | 2 +- doc/guides/prog_guide/img/turbo_tb_encode.svg | 2 +- doc/guides/prog_guide/qos_framework.rst | 6 +-- doc/guides/prog_guide/rte_flow.rst | 2 +- doc/guides/rawdevs/cnxk_bphy.rst | 2 +- doc/guides/regexdevs/features_overview.rst | 2 +- doc/guides/rel_notes/release_16_07.rst | 2 +- doc/guides/rel_notes/release_17_08.rst | 2 +- doc/guides/rel_notes/release_2_1.rst | 2 +- doc/guides/sample_app_ug/ip_reassembly.rst | 2 +- doc/guides/sample_app_ug/l2_forward_cat.rst | 2 +- doc/guides/sample_app_ug/server_node_efd.rst | 2 +- doc/guides/sample_app_ug/skeleton.rst | 2 +- .../sample_app_ug/vm_power_management.rst | 2 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- drivers/baseband/fpga_lte_fec/fpga_lte_fec.c | 8 ++-- drivers/baseband/null/bbdev_null.c | 2 +- .../baseband/turbo_sw/bbdev_turbo_software.c | 2 +- drivers/bus/dpaa/dpaa_bus.c | 2 +- drivers/bus/dpaa/include/fsl_qman.h | 6 +-- drivers/bus/dpaa/include/fsl_usd.h | 2 +- drivers/bus/dpaa/include/process.h | 2 +- drivers/bus/fslmc/fslmc_bus.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- .../fslmc/qbman/include/fsl_qbman_portal.h | 20 +++++----- drivers/bus/pci/linux/pci_vfio.c | 2 +- drivers/bus/vdev/rte_bus_vdev.h | 2 +- drivers/bus/vmbus/vmbus_common.c | 2 +- drivers/common/cnxk/roc_bphy_cgx.c | 2 +- drivers/common/cnxk/roc_nix_bpf.c | 2 +- drivers/common/cnxk/roc_nix_tm_ops.c | 2 +- drivers/common/cnxk/roc_npc_mcam.c | 2 +- drivers/common/cnxk/roc_npc_priv.h | 2 +- drivers/common/cpt/cpt_ucode.h | 4 +- drivers/common/cpt/cpt_ucode_asym.h | 2 +- drivers/common/dpaax/caamflib/desc/algo.h | 2 +- drivers/common/dpaax/caamflib/desc/sdap.h | 6 +-- drivers/common/dpaax/dpaax_iova_table.c | 2 +- drivers/common/iavf/iavf_type.h | 2 +- drivers/common/iavf/virtchnl.h | 2 +- drivers/common/mlx5/mlx5_common.c | 2 +- drivers/common/mlx5/mlx5_common_mr.c | 2 +- drivers/common/mlx5/mlx5_devx_cmds.c | 2 +- drivers/common/mlx5/mlx5_malloc.c | 4 +- drivers/common/mlx5/mlx5_malloc.h | 2 +- drivers/common/mlx5/mlx5_prm.h | 2 +- drivers/common/mlx5/windows/mlx5_common_os.c | 4 +- drivers/common/mlx5/windows/mlx5_common_os.h | 2 +- .../qat/qat_adf/adf_transport_access_macros.h | 2 +- drivers/common/sfc_efx/efsys.h | 2 +- drivers/compress/octeontx/include/zip_regs.h | 4 +- drivers/compress/octeontx/otx_zip.h | 2 +- drivers/compress/qat/qat_comp_pmd.c | 2 +- drivers/crypto/bcmfs/bcmfs_device.h | 2 +- drivers/crypto/bcmfs/bcmfs_qp.c | 2 +- drivers/crypto/bcmfs/bcmfs_sym_defs.h | 6 +-- drivers/crypto/bcmfs/bcmfs_sym_engine.h | 2 +- drivers/crypto/bcmfs/hw/bcmfs5_rm.c | 2 +- drivers/crypto/caam_jr/caam_jr_hw_specific.h | 4 +- drivers/crypto/caam_jr/caam_jr_pvt.h | 4 +- drivers/crypto/caam_jr/caam_jr_uio.c | 2 +- drivers/crypto/ccp/ccp_crypto.c | 2 +- drivers/crypto/ccp/ccp_crypto.h | 2 +- drivers/crypto/ccp/ccp_dev.h | 2 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 2 +- .../crypto/octeontx/otx_cryptodev_hw_access.c | 2 +- drivers/crypto/octeontx/otx_cryptodev_mbox.h | 2 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 2 +- drivers/crypto/qat/qat_asym.c | 2 +- drivers/crypto/qat/qat_sym.c | 2 +- drivers/crypto/virtio/virtqueue.h | 2 +- drivers/dma/skeleton/skeleton_dmadev.c | 2 +- drivers/event/cnxk/cnxk_eventdev_selftest.c | 4 +- drivers/event/dlb2/dlb2.c | 2 +- drivers/event/dlb2/dlb2_priv.h | 2 +- drivers/event/dlb2/dlb2_selftest.c | 2 +- drivers/event/dlb2/rte_pmd_dlb2.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 2 +- drivers/event/dsw/dsw_evdev.h | 4 +- drivers/event/dsw/dsw_event.c | 4 +- drivers/event/octeontx/ssovf_evdev.h | 2 +- drivers/event/octeontx/ssovf_evdev_selftest.c | 2 +- drivers/event/octeontx2/otx2_evdev_selftest.c | 2 +- drivers/event/octeontx2/otx2_worker_dual.h | 2 +- drivers/event/opdl/opdl_evdev.c | 2 +- drivers/event/opdl/opdl_test.c | 2 +- drivers/event/sw/sw_evdev.h | 2 +- drivers/event/sw/sw_evdev_selftest.c | 2 +- drivers/mempool/dpaa/dpaa_mempool.c | 2 +- drivers/mempool/octeontx/octeontx_fpavf.c | 4 +- drivers/net/ark/ark_global.h | 2 +- drivers/net/atlantic/atl_ethdev.c | 2 +- drivers/net/atlantic/atl_rxtx.c | 2 +- drivers/net/atlantic/hw_atl/hw_atl_b0.c | 2 +- drivers/net/axgbe/axgbe_dev.c | 2 +- drivers/net/axgbe/axgbe_ethdev.c | 2 +- drivers/net/axgbe/axgbe_ethdev.h | 2 +- drivers/net/axgbe/axgbe_phy_impl.c | 4 +- drivers/net/axgbe/axgbe_rxtx_vec_sse.c | 2 +- drivers/net/bnx2x/bnx2x.c | 38 +++++++++---------- drivers/net/bnx2x/bnx2x.h | 10 ++--- drivers/net/bnx2x/bnx2x_stats.c | 2 +- drivers/net/bnx2x/bnx2x_stats.h | 4 +- drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- drivers/net/bnx2x/bnx2x_vfpf.h | 2 +- drivers/net/bnx2x/ecore_fw_defs.h | 2 +- drivers/net/bnx2x/ecore_hsi.h | 26 ++++++------- drivers/net/bnx2x/ecore_init_ops.h | 6 +-- drivers/net/bnx2x/ecore_reg.h | 28 +++++++------- drivers/net/bnx2x/ecore_sp.c | 6 +-- drivers/net/bnx2x/ecore_sp.h | 6 +-- drivers/net/bnx2x/elink.c | 20 +++++----- drivers/net/bnxt/bnxt_hwrm.c | 2 +- drivers/net/bnxt/tf_core/tfp.c | 2 +- drivers/net/bnxt/tf_core/tfp.h | 2 +- drivers/net/bonding/eth_bond_8023ad_private.h | 2 +- drivers/net/bonding/eth_bond_private.h | 2 +- drivers/net/bonding/rte_eth_bond_8023ad.c | 20 +++++----- drivers/net/bonding/rte_eth_bond_8023ad.h | 4 +- drivers/net/bonding/rte_eth_bond_alb.h | 2 +- drivers/net/bonding/rte_eth_bond_api.c | 4 +- drivers/net/cnxk/cn10k_ethdev.h | 2 +- drivers/net/cnxk/cn10k_tx.h | 6 +-- drivers/net/cnxk/cn9k_tx.h | 6 +-- drivers/net/cnxk/cnxk_ptp.c | 2 +- drivers/net/cxgbe/cxgbe_flow.c | 2 +- drivers/net/cxgbe/cxgbevf_main.c | 2 +- drivers/net/cxgbe/sge.c | 8 ++-- drivers/net/dpaa/dpaa_ethdev.c | 6 +-- drivers/net/dpaa/dpaa_rxtx.c | 4 +- drivers/net/dpaa/fmlib/fm_ext.h | 2 +- drivers/net/dpaa/fmlib/fm_pcd_ext.h | 8 ++-- drivers/net/dpaa/fmlib/fm_port_ext.h | 14 +++---- drivers/net/dpaa2/dpaa2_ethdev.c | 14 +++---- drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_flow.c | 8 ++-- drivers/net/dpaa2/dpaa2_mux.c | 2 +- drivers/net/dpaa2/dpaa2_rxtx.c | 6 +-- drivers/net/dpaa2/mc/fsl_dpni.h | 10 ++--- drivers/net/e1000/e1000_ethdev.h | 4 +- drivers/net/e1000/em_ethdev.c | 10 ++--- drivers/net/e1000/em_rxtx.c | 6 +-- drivers/net/e1000/igb_ethdev.c | 18 ++++----- drivers/net/e1000/igb_flow.c | 4 +- drivers/net/e1000/igb_pf.c | 2 +- drivers/net/e1000/igb_rxtx.c | 14 +++---- drivers/net/ena/ena_ethdev.c | 2 +- drivers/net/ena/ena_ethdev.h | 2 +- drivers/net/enetfec/enet_regs.h | 2 +- drivers/net/enic/enic_flow.c | 18 ++++----- drivers/net/enic/enic_fm_flow.c | 10 ++--- drivers/net/enic/enic_main.c | 2 +- drivers/net/enic/enic_rxtx.c | 2 +- drivers/net/fm10k/fm10k.h | 2 +- drivers/net/fm10k/fm10k_ethdev.c | 12 +++--- drivers/net/fm10k/fm10k_rxtx_vec.c | 10 ++--- drivers/net/hinic/hinic_pmd_ethdev.c | 4 +- drivers/net/hinic/hinic_pmd_ethdev.h | 2 +- drivers/net/hinic/hinic_pmd_flow.c | 4 +- drivers/net/hinic/hinic_pmd_tx.c | 2 +- drivers/net/hns3/hns3_cmd.c | 4 +- drivers/net/hns3/hns3_common.c | 2 +- drivers/net/hns3/hns3_dcb.c | 10 ++--- drivers/net/hns3/hns3_ethdev.c | 14 +++---- drivers/net/hns3/hns3_ethdev.h | 8 ++-- drivers/net/hns3/hns3_ethdev_vf.c | 6 +-- drivers/net/hns3/hns3_fdir.h | 2 +- drivers/net/hns3/hns3_flow.c | 12 +++--- drivers/net/hns3/hns3_mbx.c | 4 +- drivers/net/hns3/hns3_mbx.h | 2 +- drivers/net/hns3/hns3_rss.h | 2 +- drivers/net/hns3/hns3_rxtx.c | 16 ++++---- drivers/net/hns3/hns3_rxtx.h | 2 +- drivers/net/hns3/hns3_stats.c | 4 +- drivers/net/i40e/i40e_ethdev.c | 12 +++--- drivers/net/i40e/i40e_ethdev.h | 10 ++--- drivers/net/i40e/i40e_fdir.c | 10 ++--- drivers/net/i40e/i40e_flow.c | 2 +- drivers/net/i40e/i40e_pf.c | 4 +- drivers/net/i40e/i40e_rxtx.c | 20 +++++----- drivers/net/i40e/i40e_rxtx_vec_altivec.c | 2 +- drivers/net/i40e/i40e_rxtx_vec_neon.c | 4 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 6 +-- drivers/net/i40e/rte_pmd_i40e.c | 2 +- drivers/net/iavf/iavf_ethdev.c | 6 +-- drivers/net/iavf/iavf_ipsec_crypto.c | 14 +++---- drivers/net/iavf/iavf_ipsec_crypto.h | 2 +- drivers/net/iavf/iavf_rxtx.c | 4 +- drivers/net/iavf/iavf_rxtx_vec_sse.c | 4 +- drivers/net/iavf/iavf_vchnl.c | 4 +- drivers/net/ice/ice_dcf.c | 2 +- drivers/net/ice/ice_dcf_ethdev.c | 2 +- drivers/net/ice/ice_ethdev.c | 12 +++--- drivers/net/ice/ice_rxtx.c | 10 ++--- drivers/net/ice/ice_rxtx_vec_sse.c | 4 +- drivers/net/igc/igc_filter.c | 2 +- drivers/net/igc/igc_txrx.c | 4 +- drivers/net/ionic/ionic_if.h | 6 +-- drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- drivers/net/ipn3ke/ipn3ke_ethdev.h | 4 +- drivers/net/ipn3ke/ipn3ke_flow.c | 2 +- drivers/net/ipn3ke/ipn3ke_representor.c | 12 +++--- drivers/net/ipn3ke/meson.build | 2 +- drivers/net/ixgbe/ixgbe_bypass.c | 2 +- drivers/net/ixgbe/ixgbe_bypass_api.h | 4 +- drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++++----- drivers/net/ixgbe/ixgbe_ethdev.h | 2 +- drivers/net/ixgbe/ixgbe_fdir.c | 2 +- drivers/net/ixgbe/ixgbe_flow.c | 4 +- drivers/net/ixgbe/ixgbe_ipsec.c | 2 +- drivers/net/ixgbe/ixgbe_pf.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx.c | 10 ++--- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 2 +- drivers/net/memif/memif_socket.c | 2 +- drivers/net/memif/rte_eth_memif.c | 2 +- drivers/net/mlx4/mlx4.h | 2 +- drivers/net/mlx4/mlx4_ethdev.c | 2 +- drivers/net/mlx5/linux/mlx5_os.c | 8 ++-- drivers/net/mlx5/mlx5.c | 10 ++--- drivers/net/mlx5/mlx5.h | 8 ++-- drivers/net/mlx5/mlx5_flow.c | 20 +++++----- drivers/net/mlx5/mlx5_flow.h | 6 +-- drivers/net/mlx5/mlx5_flow_dv.c | 14 +++---- drivers/net/mlx5/mlx5_flow_flex.c | 4 +- drivers/net/mlx5/mlx5_flow_meter.c | 10 ++--- drivers/net/mlx5/mlx5_rx.c | 2 +- drivers/net/mlx5/mlx5_rxq.c | 4 +- drivers/net/mlx5/mlx5_rxtx_vec_altivec.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_neon.h | 2 +- drivers/net/mlx5/mlx5_rxtx_vec_sse.h | 2 +- drivers/net/mlx5/mlx5_tx.c | 2 +- drivers/net/mlx5/mlx5_utils.h | 2 +- drivers/net/mlx5/windows/mlx5_flow_os.c | 2 +- drivers/net/mlx5/windows/mlx5_os.c | 2 +- drivers/net/mvneta/mvneta_ethdev.c | 2 +- drivers/net/mvpp2/mrvl_ethdev.c | 2 +- drivers/net/mvpp2/mrvl_qos.c | 4 +- drivers/net/netvsc/hn_nvs.c | 2 +- drivers/net/netvsc/hn_rxtx.c | 4 +- drivers/net/netvsc/hn_vf.c | 2 +- .../net/nfp/nfpcore/nfp-common/nfp_resid.h | 6 +-- drivers/net/nfp/nfpcore/nfp_cppcore.c | 2 +- drivers/net/nfp/nfpcore/nfp_nsp.h | 2 +- drivers/net/nfp/nfpcore/nfp_resource.c | 2 +- drivers/net/nfp/nfpcore/nfp_rtsym.c | 2 +- drivers/net/ngbe/ngbe_ethdev.c | 6 +-- drivers/net/ngbe/ngbe_pf.c | 2 +- drivers/net/octeontx/octeontx_ethdev.c | 2 +- drivers/net/octeontx2/otx2_ethdev_irq.c | 2 +- drivers/net/octeontx2/otx2_ptp.c | 2 +- drivers/net/octeontx2/otx2_tx.h | 4 +- drivers/net/octeontx2/otx2_vlan.c | 2 +- drivers/net/octeontx_ep/otx2_ep_vf.c | 2 +- drivers/net/octeontx_ep/otx_ep_vf.c | 2 +- drivers/net/pfe/pfe_ethdev.c | 2 +- drivers/net/pfe/pfe_hal.c | 2 +- drivers/net/pfe/pfe_hif.c | 4 +- drivers/net/pfe/pfe_hif.h | 2 +- drivers/net/pfe/pfe_hif_lib.c | 8 ++-- drivers/net/qede/qede_debug.c | 4 +- drivers/net/qede/qede_ethdev.c | 2 +- drivers/net/qede/qede_rxtx.c | 12 +++--- drivers/net/qede/qede_rxtx.h | 2 +- drivers/net/sfc/sfc.c | 2 +- drivers/net/sfc/sfc_dp.c | 2 +- drivers/net/sfc/sfc_dp_rx.h | 4 +- drivers/net/sfc/sfc_ef100.h | 2 +- drivers/net/sfc/sfc_ef100_rx.c | 2 +- drivers/net/sfc/sfc_ef10_essb_rx.c | 2 +- drivers/net/sfc/sfc_ef10_rx_ev.h | 2 +- drivers/net/sfc/sfc_intr.c | 2 +- drivers/net/sfc/sfc_rx.c | 6 +-- drivers/net/sfc/sfc_tx.c | 2 +- drivers/net/softnic/rte_eth_softnic_flow.c | 2 +- drivers/net/tap/rte_eth_tap.c | 2 +- drivers/net/tap/tap_bpf_api.c | 4 +- drivers/net/tap/tap_flow.c | 4 +- drivers/net/thunderx/nicvf_svf.c | 2 +- drivers/net/txgbe/txgbe_ethdev.c | 6 +-- drivers/net/txgbe/txgbe_ethdev_vf.c | 6 +-- drivers/net/txgbe/txgbe_ipsec.c | 2 +- drivers/net/txgbe/txgbe_pf.c | 2 +- drivers/net/virtio/virtio_ethdev.c | 4 +- drivers/net/virtio/virtio_pci.c | 2 +- drivers/net/virtio/virtio_rxtx.c | 2 +- drivers/net/virtio/virtio_rxtx_packed_avx.h | 2 +- drivers/net/virtio/virtqueue.c | 2 +- drivers/net/virtio/virtqueue.h | 4 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- drivers/raw/dpaa2_qdma/dpaa2_qdma.h | 4 +- drivers/raw/ifpga/ifpga_rawdev.c | 10 ++--- drivers/raw/ntb/ntb.h | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 2 +- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 2 +- examples/bbdev_app/main.c | 2 +- examples/bond/main.c | 4 +- examples/dma/dmafwd.c | 2 +- examples/ethtool/lib/rte_ethtool.c | 2 +- examples/ethtool/lib/rte_ethtool.h | 4 +- examples/ip_reassembly/main.c | 4 +- examples/ipsec-secgw/event_helper.c | 2 +- examples/ipsec-secgw/ipsec-secgw.c | 14 +++---- examples/ipsec-secgw/sa.c | 6 +-- examples/ipsec-secgw/sp4.c | 2 +- examples/ipsec-secgw/sp6.c | 2 +- examples/ipsec-secgw/test/common_defs.sh | 4 +- examples/kni/main.c | 2 +- examples/l2fwd-cat/l2fwd-cat.c | 2 +- examples/l2fwd-event/l2fwd_event_generic.c | 2 +- .../l2fwd-event/l2fwd_event_internal_port.c | 2 +- examples/l2fwd-jobstats/main.c | 2 +- examples/l3fwd-acl/main.c | 6 +-- examples/l3fwd-power/main.c | 4 +- examples/l3fwd/l3fwd_common.h | 4 +- examples/l3fwd/l3fwd_neon.h | 2 +- examples/l3fwd/l3fwd_sse.h | 2 +- examples/multi_process/hotplug_mp/commands.c | 2 +- examples/multi_process/simple_mp/main.c | 2 +- examples/multi_process/symmetric_mp/main.c | 2 +- examples/ntb/ntb_fwd.c | 2 +- examples/packet_ordering/main.c | 2 +- examples/performance-thread/common/lthread.c | 6 +-- .../performance-thread/common/lthread_diag.c | 2 +- .../performance-thread/common/lthread_int.h | 2 +- .../performance-thread/common/lthread_tls.c | 2 +- .../performance-thread/l3fwd-thread/main.c | 12 +++--- .../pthread_shim/pthread_shim.h | 2 +- examples/pipeline/examples/registers.spec | 2 +- examples/qos_sched/cmdline.c | 2 +- examples/server_node_efd/node/node.c | 2 +- examples/skeleton/basicfwd.c | 2 +- examples/vhost/main.c | 10 ++--- examples/vm_power_manager/channel_monitor.c | 2 +- examples/vm_power_manager/power_manager.h | 2 +- examples/vmdq/main.c | 2 +- kernel/linux/kni/kni_fifo.h | 2 +- lib/acl/acl_bld.c | 2 +- lib/acl/acl_run_altivec.h | 2 +- lib/acl/acl_run_avx512.c | 2 +- lib/acl/acl_run_avx512x16.h | 14 +++---- lib/acl/acl_run_avx512x8.h | 12 +++--- lib/bpf/bpf_convert.c | 4 +- lib/dmadev/rte_dmadev.h | 4 +- lib/eal/arm/include/rte_cycles_32.h | 2 +- lib/eal/freebsd/eal_interrupts.c | 4 +- lib/eal/include/generic/rte_pflock.h | 2 +- lib/eal/include/rte_malloc.h | 4 +- lib/eal/linux/eal_interrupts.c | 4 +- lib/eal/linux/eal_vfio.h | 2 +- lib/eal/windows/eal_windows.h | 2 +- lib/eal/windows/include/dirent.h | 4 +- lib/eal/windows/include/fnmatch.h | 4 +- lib/eal/x86/include/rte_atomic.h | 2 +- lib/eventdev/rte_event_eth_rx_adapter.c | 6 +-- lib/fib/rte_fib.c | 4 +- lib/fib/rte_fib.h | 4 +- lib/fib/rte_fib6.c | 4 +- lib/fib/rte_fib6.h | 4 +- lib/ipsec/ipsec_telemetry.c | 2 +- lib/ipsec/rte_ipsec_sad.h | 2 +- lib/ipsec/sa.c | 2 +- lib/mbuf/rte_mbuf_core.h | 2 +- lib/meson.build | 2 +- lib/net/rte_l2tpv2.h | 4 +- lib/pipeline/rte_swx_ctl.h | 4 +- lib/pipeline/rte_swx_pipeline_internal.h | 4 +- lib/pipeline/rte_swx_pipeline_spec.c | 2 +- lib/power/power_cppc_cpufreq.c | 2 +- lib/regexdev/rte_regexdev.h | 6 +-- lib/ring/rte_ring_core.h | 2 +- lib/sched/rte_pie.h | 6 +-- lib/sched/rte_red.h | 4 +- lib/sched/rte_sched.c | 2 +- lib/sched/rte_sched.h | 2 +- lib/table/rte_swx_table.h | 2 +- lib/table/rte_swx_table_selector.h | 2 +- lib/telemetry/telemetry.c | 2 +- lib/telemetry/telemetry_json.h | 2 +- lib/vhost/vhost_user.c | 4 +- 426 files changed, 866 insertions(+), 866 deletions(-)
app/proc-info/main.c +3 -3
@@ -630,7 +630,7 @@ metrics_display(int port_id) names =rte_malloc (NULL ,sizeof (struct rte_metric_name ) * len,0 );if (names ==NULL ) { -printf ("Cannot allocate memory for metrcis names\n" ); +printf ("Cannot allocate memory for metrics names\n" );rte_free (metrics);return ; }
@@ -1109,7 +1109,7 @@ show_tm(void) caplevel.n_nodes_max, caplevel.n_nodes_nonleaf_max, caplevel.n_nodes_leaf_max); -printf ("\t -- indetical: non leaf %u leaf %u\n" , +printf ("\t -- identical: non leaf %u leaf %u\n" , caplevel.non_leaf_nodes_identical, caplevel.leaf_nodes_identical);
@@ -1263,7 +1263,7 @@ show_ring(char *name) printf(" - Name (%s) on socket (%d)\n" " - flags:\n" "\t -- Single Producer Enqueue (%u)\n" - "\t -- Single Consmer Dequeue (%u)\n", + "\t -- Single Consumer Dequeue (%u)\n", ptr->name, ptr->memzone->socket_id, ptr->flags & RING_F_SP_ENQ,
app/test-acl/main.c +3 -3
@@ -386,8 +386,8 @@ parse_cb_ipv4_trace(char *str, struct ipv4_5tuple *v) }/* -* Parses IPV6 address, exepcts the following format: -* XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX (where X - is a hexedecimal digit). +* Parses IPV6 address, expects the following format: +* XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX (where X - is a hexadecimal digit). */ static int parse_ipv6_addr(const char *in, const char **end, uint32_t v[IPV6_ADDR_U32],
@@ -994,7 +994,7 @@ print_usage(const char *prgname)"should be either 1 or multiple of %zu, " "but not greater then %u]\n" "[--" OPT_MAX_SIZE -"=<size limit (in bytes) for runtime ACL strucutures> " +"=<size limit (in bytes) for runtime ACL structures> " "leave 0 for default behaviour]\n" "[--" OPT_ITER_NUM "=<number of iterations to perform>]\n" "[--" OPT_VERBOSE "=<verbose level>]\n"
app/test-compress-perf/comp_perf_test_cyclecount.c +1 -1
@@ -180,7 +180,7 @@ main_loop(struct cperf_cyclecount_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/comp_perf_test_throughput.c +1 -1
@@ -72,7 +72,7 @@ main_loop(struct cperf_benchmark_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/comp_perf_test_verify.c +1 -1
@@ -75,7 +75,7 @@ main_loop(struct cperf_verify_ctx *ctx, enum rte_comp_xform_type type)if (ops ==NULL ) {RTE_LOG (ERR ,USER1 , -"Can't allocate memory for ops strucures\n" ); +"Can't allocate memory for ops structures\n" );return -1 ; }
app/test-compress-perf/main.c +1 -1
@@ -67,7 +67,7 @@ comp_perf_check_capabilities(struct comp_test_data *test_data, uint8_t cdev_id)uint64_t comp_flags = cap->comp_feature_flags; -/* Huffman enconding */ +/* Huffman encoding */ if (test_data->huffman_enc ==RTE_COMP_HUFFMAN_FIXED && (comp_flags &RTE_COMP_FF_HUFFMAN_FIXED ) ==0 ) { RTE_LOG(ERR, USER1,
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1 -1
@@ -334,7 +334,7 @@ pmd_cyclecount_bench_burst_sz(* queue, so we never get any failed enqs unless the driver won't accept * the exact number of descriptors we requested, or the driver won't * wrap around the end of the TX ring. However, since we're only -* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it * piecemeal and then average out the results. */ cur_op =0 ;
app/test-eventdev/evt_options.c +1 -1
@@ -336,7 +336,7 @@ usage(char *program)"\t--deq_tmo_nsec : global dequeue timeout\n" "\t--prod_type_ethdev : use ethernet device as producer.\n" "\t--prod_type_timerdev : use event timer device as producer.\n" -"\t expity_nsec would be the timeout\n" +"\t expiry_nsec would be the timeout\n" "\t in ns.\n" "\t--prod_type_timerdev_burst : use timer device as producer\n" "\t burst mode.\n"
app/test-eventdev/test_order_common.c +1 -1
@@ -253,7 +253,7 @@ void order_opt_dump(struct evt_options *opt) {evt_dump_producer_lcores (opt); -evt_dump ("nb_wrker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores)); +evt_dump ("nb_worker_lcores" ,"%d" ,evt_nr_active_lcores (opt->wlcores));evt_dump_worker_lcores (opt);evt_dump ("nb_evdev_ports" ,"%d" ,order_nb_event_ports (opt)); }
app/test-fib/main.c +2 -2
@@ -624,7 +624,7 @@ print_usage(void)"(if -f is not specified)>]\n" "[-r <percentage ratio of random ip's to lookup" "(if -t is not specified)>]\n" -"[-c <do comarison with LPM library>]\n" +"[-c <do comparison with LPM library>]\n" "[-6 <do tests with ipv6 (default ipv4)>]\n" "[-s <shuffle randomly generated routes>]\n" "[-a <check nexthops for all ipv4 address space"
@@ -641,7 +641,7 @@ print_usage(void)"[-g <number of tbl8's for dir24_8 or trie FIBs>]\n" "[-w <path to the file to dump routing table>]\n" "[-u <path to the file to dump ip's for lookup>]\n" -"[-v <type of loookup function:" +"[-v <type of lookup function:" "\ts1, s2, s3 (3 types of scalar), v (vector) -" " for DIR24_8 based FIB\n" "\ts, v - for TRIE based ipv6 FIB>]\n",
app/test-flow-perf/config.h +1 -1
@@ -28,7 +28,7 @@#define PORT_ID_DST 1#define TEID_VALUE 1 -/* Flow items/acctions max size */ +/* Flow items/actions max size */ #define MAX_ITEMS_NUM 32#define MAX_ACTIONS_NUM 32#define MAX_ATTRS_NUM 16
app/test-flow-perf/main.c +1 -1
@@ -1519,7 +1519,7 @@ dump_used_cpu_time(const char *item,* threads time. * * Throughput: total count of rte rules divided -* over the average of the time cosumed by all +* over the average of the time consumed by all * threads time. */ double insertion_latency_time;
app/test-pmd/cmdline.c +1 -1
@@ -561,7 +561,7 @@ static void cmd_help_long_parsed(void *parsed_result," Set the option to enable display of RX and TX bursts.\n" "set port (port_id) vf (vf_id) rx|tx on|off\n" -" Enable/Disable a VF receive/tranmit from a port\n\n" +" Enable/Disable a VF receive/transmit from a port\n\n" "set port (port_id) vf (vf_id) rxmode (AUPE|ROPE|BAM" "|MPE) (on|off)\n"
app/test-pmd/cmdline_flow.c +3 -3
@@ -2162,7 +2162,7 @@ static const struct token token_list[] = { }, [COMMON_POLICY_ID] = { .name = "{policy_id}", - .type = "POLCIY_ID", + .type = "POLICY_ID", .help = "policy id", .call = parse_int, .comp = comp_none,
@@ -2370,7 +2370,7 @@ static const struct token token_list[] = { }, [TUNNEL_DESTROY] = { .name = "destroy", - .help = "destroy tunel", + .help = "destroy tunnel", .next =NEXT (NEXT_ENTRY (TUNNEL_DESTROY_ID ), NEXT_ENTRY(COMMON_PORT_ID)), .args = ARGS(ARGS_ENTRY(struct buffer, port)),
@@ -2378,7 +2378,7 @@ static const struct token token_list[] = { }, [TUNNEL_DESTROY_ID] = { .name = "id", - .help = "tunnel identifier to testroy", + .help = "tunnel identifier to destroy", .next = NEXT(NEXT_ENTRY(COMMON_UNSIGNED)), .args = ARGS(ARGS_ENTRY(struct tunnel_ops, id)), .call = parse_tunnel,
app/test-pmd/cmdline_tm.c +2 -2
@@ -69,7 +69,7 @@ print_err_msg(struct rte_tm_error *error) [RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SHARED_SHAPERS ] = "num shared shapers field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_WFQ_WEIGHT_MODE ] - = "wfq weght mode field (node params)", + = "wfq weight mode field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_N_SP_PRIORITIES ] = "num strict priorities field (node params)", [RTE_TM_ERROR_TYPE_NODE_PARAMS_CMAN ]
@@ -479,7 +479,7 @@ static void cmd_show_port_tm_level_cap_parsed(void *parsed_result,cmdline_parse_inst_t cmd_show_port_tm_level_cap = { .f = cmd_show_port_tm_level_cap_parsed, .data =NULL , - .help_str ="Show Port TM Hierarhical level Capabilities" , + .help_str ="Show Port TM Hierarchical level Capabilities" , .tokens = { (void *)&cmd_show_port_tm_level_cap_show, (void *)&cmd_show_port_tm_level_cap_port,
app/test-pmd/csumonly.c +1 -1
@@ -796,7 +796,7 @@ pkt_copy_split(const struct rte_mbuf *pkt)* * The testpmd command line for this forward engine sets the flags * TESTPMD_TX_OFFLOAD_* in ports[tx_port].tx_ol_flags. They control -* wether a checksum must be calculated in software or in hardware. The +* whether a checksum must be calculated in software or in hardware. The * IP, UDP, TCP and SCTP flags always concern the inner layer. The * OUTER_IP is only useful for tunnel packets. */
app/test-pmd/parameters.c +1 -1
@@ -110,7 +110,7 @@ usage(char* progname)"If the drop-queue doesn't exist, the packet is dropped. " "By default drop-queue=127.\n");#ifdef RTE_LIB_LATENCYSTATS -printf (" --latencystats=N: enable latency and jitter statistcs " +printf (" --latencystats=N: enable latency and jitter statistics " "monitoring on forwarding lcore id N.\n" );#endif printf (" --disable-crc-strip: disable CRC stripping by hardware.\n" );
app/test-pmd/testpmd.c +1 -1
@@ -449,7 +449,7 @@ uint32_t bypass_timeout = RTE_PMD_IXGBE_BYPASS_TMT_OFF;uint8_t latencystats_enabled;/* -* Lcore ID to serive latency statistics. +* Lcore ID to service latency statistics. */ lcoreid_t latencystats_lcore_id =-1 ;
app/test-pmd/txonly.c +2 -2
@@ -174,14 +174,14 @@ update_pkt_header(struct rte_mbuf *pkt, uint32_t total_pkt_len)sizeof (struct rte_ether_hdr ) +sizeof (struct rte_ipv4_hdr ) + sizeof(struct rte_udp_hdr))); -/* updata udp pkt length */ +/* update udp pkt length */ udp_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_udp_hdr *,sizeof (struct rte_ether_hdr ) +sizeof (struct rte_ipv4_hdr )); pkt_len = (uint16_t ) (pkt_data_len +sizeof (struct rte_udp_hdr )); udp_hdr->dgram_len =RTE_CPU_TO_BE_16 (pkt_len); -/* updata ip pkt length and csum */ +/* update ip pkt length and csum */ ip_hdr = rte_pktmbuf_mtod_offset(pkt, struct rte_ipv4_hdr *,sizeof (struct rte_ether_hdr )); ip_hdr->hdr_checksum =0 ;
app/test/test_barrier.c +1 -1
@@ -11,7 +11,7 @@* (https://en.wikipedia.org/wiki/Peterson%27s_algorithm) * for two execution units to make sure that rte_smp_mb() prevents * store-load reordering to happen. -* Also when executed on a single lcore could be used as a approxiamate +* Also when executed on a single lcore could be used as a approximate * estimation of number of cycles particular implementation of rte_smp_mb() * will take. */
app/test/test_bpf.c +2 -2
@@ -23,7 +23,7 @@/* * Basic functional tests for librte_bpf. * The main procedure - load eBPF program, execute it and -* compare restuls with expected values. +* compare results with expected values. */ struct dummy_offset {
@@ -2707,7 +2707,7 @@ test_ld_mbuf1_check(uint64_t rc, const void *arg) }/* -* same as ld_mbuf1, but then trancate the mbuf by 1B, +* same as ld_mbuf1, but then truncate the mbuf by 1B, * so load of last 4B fail. */ static void
app/test/test_compressdev.c +1 -1
@@ -1256,7 +1256,7 @@ test_deflate_comp_run(const struct interim_data_params *int_data,/* * Store original operation index in private data, * since ordering does not have to be maintained, -* when dequeueing from compressdev, so a comparison +* when dequeuing from compressdev, so a comparison * at the end of the test can be done. */ priv_data = (struct priv_op_data *) (ops[i] +1 );
app/test/test_cryptodev.c +1 -1
@@ -6870,7 +6870,7 @@ test_snow3g_decryption_with_digest_test_case_1(void) }/* -* Function prepare data for hash veryfication test case. +* Function prepare data for hash verification test case. * Digest is allocated in 4 last bytes in plaintext, pattern. */ snow3g_hash_test_vector_setup (&snow3g_test_case_7, &snow3g_hash_data);
app/test/test_fib_perf.c +1 -1
@@ -346,7 +346,7 @@ test_fib_perf(void) fib =rte_fib_create (__func__,SOCKET_ID_ANY , &config);TEST_FIB_ASSERT (fib !=NULL ); -/* Measue add. */ +/* Measure add. */ begin =rte_rdtsc ();for (i =0 ; i <NUM_ROUTE_ENTRIES ; i++) {
app/test/test_kni.c +2 -2
@@ -326,7 +326,7 @@ test_kni_register_handler_mp(void)/* Check with the invalid parameters */ if (rte_kni_register_handlers (kni,NULL ) ==0 ) { -printf ("Unexpectedly register successuflly " +printf ("Unexpectedly register successfully " "with NULL ops pointer\n" );exit (-1 ); }
@@ -475,7 +475,7 @@ test_kni_processing(uint16_t port_id, struct rte_mempool *mp)/** * Check multiple processes support on -* registerring/unregisterring handlers. +* registering/unregistering handlers. */ if (test_kni_register_handler_mp () <0 ) {printf ("fail to check multiple process support\n" );
app/test/test_kvargs.c +8 -8
@@ -11,7 +11,7 @@#include "test.h" -/* incrementd in handler, to check it is properly called once per +/* incremented in handler, to check it is properly called once per * key/value association */ static unsigned count;
@@ -107,14 +107,14 @@ static int test_valid_kvargs(void) goto fail; } count =0 ; -/* call check_handler() for all entries with key="unexistant_key" */ -if (rte_kvargs_process (kvlist,"unexistant_key" , check_handler,NULL ) <0 ) { +/* call check_handler() for all entries with key="nonexistent_key" */ +if (rte_kvargs_process (kvlist,"nonexistent_key" , check_handler,NULL ) <0 ) {printf ("rte_kvargs_process() error\n" );rte_kvargs_free (kvlist); goto fail; }if (count !=0 ) { -printf ("invalid count value %d after rte_kvargs_process(unexistant_key)\n" , +printf ("invalid count value %d after rte_kvargs_process(nonexistent_key)\n" , count);rte_kvargs_free (kvlist); goto fail;
@@ -135,10 +135,10 @@ static int test_valid_kvargs(void)rte_kvargs_free (kvlist); goto fail; } -/* count all entries with key="unexistant_key" */ - count =rte_kvargs_count (kvlist,"unexistant_key" ); +/* count all entries with key="nonexistent_key" */ + count =rte_kvargs_count (kvlist,"nonexistent_key" );if (count !=0 ) { -printf ("invalid count value %d after rte_kvargs_count(unexistant_key)\n" , +printf ("invalid count value %d after rte_kvargs_count(nonexistent_key)\n" , count);rte_kvargs_free (kvlist); goto fail;
@@ -156,7 +156,7 @@ static int test_valid_kvargs(void)/* call check_handler() on all entries with key="check", it * should fail as the value is not recognized by the handler */ if (rte_kvargs_process (kvlist,"check" , check_handler,NULL ) ==0 ) { -printf ("rte_kvargs_process() is success bu should not\n" ); +printf ("rte_kvargs_process() is success but should not\n" );rte_kvargs_free (kvlist); goto fail; }
app/test/test_lpm6_data.h +1 -1
@@ -22,7 +22,7 @@ struct ips_tbl_entry {* in previous test_lpm6_routes.h . Because this table has only 1000 * lines, keeping it doesn't make LPM6 test case so large and also * make the algorithm to generate rule table unnecessary and the -* algorithm to genertate test input IPv6 and associated expected +* algorithm to generate test input IPv6 and associated expected * next_hop much simple. */
app/test/test_member.c +1 -1
@@ -459,7 +459,7 @@ static int test_member_multimatch(void) MAX_MATCH, set_ids_cache);/* * For cache mode, keys overwrite when signature same. -* the mutimatch should work like single match. +* the multimatch should work like single match. */ TEST_ASSERT(ret_ht == M_MATCH_CNT && ret_vbf == M_MATCH_CNT && ret_cache == 1,
app/test/test_mempool.c +2 -2
@@ -304,7 +304,7 @@ static int test_mempool_single_consumer(void) }/* -* test function for mempool test based on singple consumer and single producer, +* test function for mempool test based on single consumer and single producer, * can run on one lcore only */ static int
@@ -322,7 +322,7 @@ my_mp_init(struct rte_mempool *mp, __rte_unused void *arg) }/* -* it tests the mempool operations based on singple producer and single consumer +* it tests the mempool operations based on single producer and single consumer */ static int test_mempool_sp_sc (void )
app/test/test_memzone.c +3 -3
@@ -543,7 +543,7 @@ test_memzone_reserve_max(void) }if (mz->len != maxlen) { -printf ("Memzone reserve with 0 size did not return bigest block\n" ); +printf ("Memzone reserve with 0 size did not return biggest block\n" );printf ("Expected size = %zu, actual size = %zu\n" , maxlen, mz->len);rte_dump_physmem_layout (stdout);
@@ -606,7 +606,7 @@ test_memzone_reserve_max_aligned(void)if (mz->len < minlen || mz->len > maxlen) {printf ("Memzone reserve with 0 size and alignment %u did not return" -" bigest block\n" , align); +" biggest block\n" , align);printf ("Expected size = %zu-%zu, actual size = %zu\n" , minlen, maxlen, mz->len);rte_dump_physmem_layout (stdout);
@@ -1054,7 +1054,7 @@ test_memzone_basic(void)if (mz != memzone1)return -1 ; -printf ("test duplcate zone name\n" ); +printf ("test duplicate zone name\n" ); mz =rte_memzone_reserve (TEST_MEMZONE_NAME ("testzone1" ),100 ,SOCKET_ID_ANY ,0 );if (mz !=NULL )
app/test/test_metrics.c +1 -1
@@ -121,7 +121,7 @@ test_metrics_update_value(void) err =rte_metrics_update_value (RTE_METRICS_GLOBAL ,KEY ,VALUE );TEST_ASSERT (err >=0 ,"%s, %d" , __func__, __LINE__); -/* Successful Test: Valid port_id otherthan RTE_METRICS_GLOBAL, key +/* Successful Test: Valid port_id other than RTE_METRICS_GLOBAL, key * and value */ err =rte_metrics_update_value (9 ,KEY ,VALUE );
app/test/test_pcapng.c +1 -1
@@ -109,7 +109,7 @@ test_setup(void)return -1 ; } -/* Make a pool for cloned packeets */ +/* Make a pool for cloned packets */ mp = rte_pktmbuf_pool_create_by_ops("pcapng_test_pool", NUM_PACKETS, 0, 0, rte_pcapng_mbuf_size(pkt_len),
app/test/test_power_cpufreq.c +1 -1
@@ -659,7 +659,7 @@ test_power_cpufreq(void)/* test of exit power management for an invalid lcore */ ret =rte_power_exit (TEST_POWER_LCORE_INVALID );if (ret ==0 ) { -printf ("Unpectedly exit power management successfully for " +printf ("Unexpectedly exit power management successfully for " "lcore %u\n" ,TEST_POWER_LCORE_INVALID );rte_power_unset_env ();return -1 ;
app/test/test_rcu_qsbr.c +2 -2
@@ -408,7 +408,7 @@ test_rcu_qsbr_synchronize_reader(void *arg)/* * rte_rcu_qsbr_synchronize: Wait till all the reader threads have entered -* the queiscent state. +* the quiescent state. */ static int test_rcu_qsbr_synchronize (void )
@@ -443,7 +443,7 @@ test_rcu_qsbr_synchronize(void)rte_rcu_qsbr_synchronize (t[0 ],RTE_MAX_LCORE -1 );rte_rcu_qsbr_thread_offline (t[0 ],RTE_MAX_LCORE -1 ); -/* Test if the API returns after unregisterng all the threads */ +/* Test if the API returns after unregistering all the threads */ for (i =0 ; i <RTE_MAX_LCORE ; i++)rte_rcu_qsbr_thread_unregister (t[0 ], i);rte_rcu_qsbr_synchronize (t[0 ],RTE_QSBR_THRID_INVALID );
app/test/test_red.c +4 -4
@@ -1566,10 +1566,10 @@ static void ovfl_check_avg(uint32_t avg) }static struct test_config ovfl_test1_config = { - .ifname ="queue avergage overflow test interface" , + .ifname ="queue average overflow test interface" , .msg ="overflow test 1 : use one RED configuration,\n" " increase average queue size to target level,\n" -" check maximum number of bits requirte_red to represent avg_s\n\n" , +" check maximum number of bits required to represent avg_s\n\n" , .htxt ="avg queue size " "wq_log2 " "fraction bits "
@@ -1757,12 +1757,12 @@ test_invalid_parameters(void)printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ; } -/* min_treshold == max_treshold */ +/* min_threshold == max_threshold */ if (rte_red_config_init (&config,0 ,1 ,1 ,0 ) ==0 ) {printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ; } -/* min_treshold > max_treshold */ +/* min_threshold > max_threshold */ if (rte_red_config_init (&config,0 ,2 ,1 ,0 ) ==0 ) {printf ("%i: rte_red_config_init should have failed!\n" , __LINE__);return -1 ;
app/test/test_security.c +1 -1
@@ -237,7 +237,7 @@* increases .called counter. Function returns value stored in .ret field * of the structure. * In case of some parameters in some functions the expected value is unknown -* and cannot be detrmined prior to call. Such parameters are stored +* and cannot be determined prior to call. Such parameters are stored * in structure and can be compared or analyzed later in test case code. * * Below structures and functions follow the rules just described.
app/test/test_table_pipeline.c +1 -1
@@ -364,7 +364,7 @@ setup_pipeline(int test_type) .action = RTE_PIPELINE_ACTION_PORT, {.port_id = port_out_id[i^1]}, }; -printf ("Setting secont table to output to port\n" ); +printf ("Setting second table to output to port\n" );/* Add the default action for the table. */ ret = rte_pipeline_table_default_entry_add(p,
app/test/test_thash.c +1 -1
@@ -684,7 +684,7 @@ test_predictable_rss_multirange(void)/* * calculate hashes, complements, then adjust keys with -* complements and recalsulate hashes +* complements and recalculate hashes */ for (i =0 ; i <RTE_DIM (rng_arr); i++) {for (k =0 ; k <100 ; k++) {
buildtools/binutils-avx512-check.py +1 -1
@@ -1,5 +1,5 @@ #! /usr/bin/env python3 -# SPDX-License-Identitifer: BSD-3-Clause +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2020 Intel Corporation import subprocess
devtools/check-symbol-change.sh +3 -3
@@ -25,7 +25,7 @@ build_map_changes() # Triggering this rule, which starts a line and ends it # with a { identifies a versioned section. The section name is - # the rest of the line with the + and { symbols remvoed. + # the rest of the line with the + and { symbols removed. # Triggering this rule sets in_sec to 1, which actives the # symbol rule below /^.*{/ {
@@ -35,7 +35,7 @@ build_map_changes() } } - # This rule idenfies the end of a section, and disables the + # This rule identifies the end of a section, and disables the # symbol rule /.*}/ {in_sec=0}
@@ -100,7 +100,7 @@ check_for_rule_violations() # Just inform the user of this occurrence, but # don't flag it as an error echo -n "INFO: symbol $symname is added but " - echo -n "patch has insuficient context " + echo -n "patch has insufficient context " echo -n "to determine the section name " echo -n "please ensure the version is " echo "EXPERIMENTAL"
doc/guides/howto/img/virtio_user_for_container_networking.svg +1 -1
@@ -465,7 +465,7 @@ v:mID="63" id="shape63-63"><title id="title149">Sheet.63</title><desc - id="desc151">Contanier/App</desc><v:textBlock + id="desc151">Container/App</desc><v:textBlock v:margins="rect(4,4,4,4)" /><v:textRect height="22.5" width="90"
doc/guides/nics/af_packet.rst +1 -1
@@ -9,7 +9,7 @@ packets. This Linux-specific PMD binds to an AF_PACKET socket and allows a DPDK application to send and receive raw packets through the Kernel. In order to improve Rx and Tx performance this implementation makes use of -PACKET_MMAP, which provides a mmap'ed ring buffer, shared between user space +PACKET_MMAP, which provides a mmapped ring buffer, shared between user space and kernel, that's used to send and receive packets. This helps reducing system calls and the copies needed between user space and Kernel.
doc/guides/nics/mlx4.rst +1 -1
@@ -178,7 +178,7 @@ DPDK and must be installed separately: - mlx4_core: hardware driver managing Mellanox ConnectX-3 devices. - mlx4_en: Ethernet device driver that provides kernel network interfaces. - - mlx4_ib: InifiniBand device driver. + - mlx4_ib: InfiniBand device driver. - ib_uverbs: user space driver for verbs (entry point for libibverbs). - **Firmware update**
doc/guides/nics/mlx5.rst +3 -3
@@ -649,7 +649,7 @@ Driver options A timeout value is set in the driver to control the waiting time before dropping a packet. Once the timer is expired, the delay drop will be - deactivated for all the Rx queues with this feature enable. To re-activeate + deactivated for all the Rx queues with this feature enable. To re-activate it, a rearming is needed and it is part of the kernel driver starting from OFED 5.5.
@@ -1033,7 +1033,7 @@ Driver options For the MARK action the last 16 values in the full range are reserved for internal PMD purposes (to emulate FLAG action). The valid range for the - MARK action values is 0-0xFFEF for the 16-bit mode and 0-xFFFFEF + MARK action values is 0-0xFFEF for the 16-bit mode and 0-0xFFFFEF for the 24-bit mode, the flows with the MARK action value outside the specified range will be rejected.
@@ -1317,7 +1317,7 @@ DPDK and must be installed separately: - mlx5_core: hardware driver managing Mellanox ConnectX-4/ConnectX-5/ConnectX-6/BlueField devices and related Ethernet kernel network devices. - - mlx5_ib: InifiniBand device driver. + - mlx5_ib: InfiniBand device driver. - ib_uverbs: user space driver for Verbs (entry point for libibverbs). - **Firmware update**
doc/guides/prog_guide/cryptodev_lib.rst +1 -1
@@ -751,7 +751,7 @@ feature is useful when the user wants to abandon partially enqueued operations for a failed enqueue burst operation and try enqueuing in a whole later. Similar as enqueue, there are two dequeue functions: -``rte_cryptodev_raw_dequeue`` for dequeing single operation, and +``rte_cryptodev_raw_dequeue`` for dequeuing single operation, and ``rte_cryptodev_raw_dequeue_burst`` for dequeuing a burst of operations (e.g. all operations in a ``struct rte_crypto_sym_vec`` descriptor). The ``rte_cryptodev_raw_dequeue_burst`` function allows the user to provide callback
doc/guides/prog_guide/env_abstraction_layer.rst +2 -2
@@ -433,7 +433,7 @@ and decides on a preferred IOVA mode. - if all buses report RTE_IOVA_PA, then the preferred IOVA mode is RTE_IOVA_PA, - if all buses report RTE_IOVA_VA, then the preferred IOVA mode is RTE_IOVA_VA, -- if all buses report RTE_IOVA_DC, no bus expressed a preferrence, then the +- if all buses report RTE_IOVA_DC, no bus expressed a preference, then the preferred mode is RTE_IOVA_DC, - if the buses disagree (at least one wants RTE_IOVA_PA and at least one wants RTE_IOVA_VA), then the preferred IOVA mode is RTE_IOVA_DC (see below with the
@@ -658,7 +658,7 @@ Known Issues + rte_ring rte_ring supports multi-producer enqueue and multi-consumer dequeue. - However, it is non-preemptive, this has a knock on effect of making rte_mempool non-preemptable. + However, it is non-preemptive, this has a knock on effect of making rte_mempool non-preemptible. .. note::
doc/guides/prog_guide/img/turbo_tb_decode.svg +1 -1
@@ -460,7 +460,7 @@ height="14.642858" x="39.285713" y="287.16254" /></flowRegion><flowPara - id="flowPara4817">offse</flowPara></flowRoot> <text + id="flowPara4817">offset</flowPara></flowRoot> <text xml:space="preserve" style="font-style:normal;font-weight:normal;font-size:3.14881921px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#9cc3e5;fill-opacity:1;stroke:none;stroke-width:0.23616144" x="74.16684"
doc/guides/prog_guide/img/turbo_tb_encode.svg +1 -1
@@ -649,7 +649,7 @@ height="14.642858" x="39.285713" y="287.16254" /></flowRegion><flowPara - id="flowPara4817">offse</flowPara></flowRoot> <text + id="flowPara4817">offset</flowPara></flowRoot> <text xml:space="preserve" style="font-style:normal;font-weight:normal;font-size:3.14881921px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#a8d08d;fill-opacity:1;stroke:none;stroke-width:0.23616144" x="16.351753"
doc/guides/prog_guide/qos_framework.rst +3 -3
@@ -1196,12 +1196,12 @@ In the case of severe congestion, the dropper resorts to tail drop. This occurs when a packet queue has reached maximum capacity and cannot store any more packets. In this situation, all arriving packets are dropped. -The flow through the dropper is illustrated in :numref:`figure_flow_tru_droppper`. +The flow through the dropper is illustrated in :numref:`figure_flow_tru_dropper`. The RED/WRED/PIE algorithm is exercised first and tail drop second. -.. _figure_flow_tru_droppper: +.. _figure_flow_tru_dropper: -.. figure:: img/flow_tru_droppper.* +.. figure:: img/flow_tru_dropper.* Flow Through the Dropper
doc/guides/prog_guide/rte_flow.rst +1 -1
@@ -1379,7 +1379,7 @@ Matches a network service header (RFC 8300). - ``ttl``: maximum SFF hopes (6 bits). - ``length``: total length in 4 bytes words (6 bits). - ``reserved1``: reserved1 bits (4 bits). -- ``mdtype``: ndicates format of NSH header (4 bits). +- ``mdtype``: indicates format of NSH header (4 bits). - ``next_proto``: indicates protocol type of encap data (8 bits). - ``spi``: service path identifier (3 bytes). - ``sindex``: service index (1 byte).
doc/guides/rawdevs/cnxk_bphy.rst +1 -1
@@ -37,7 +37,7 @@ using ``rte_rawdev_queue_conf_get()``. To perform data transfer use standard ``rte_rawdev_enqueue_buffers()`` and ``rte_rawdev_dequeue_buffers()`` APIs. Not all messages produce sensible -responses hence dequeueing is not always necessary. +responses hence dequeuing is not always necessary. BPHY CGX/RPM PMD ----------------
doc/guides/regexdevs/features_overview.rst +1 -1
@@ -22,7 +22,7 @@ PCRE back tracking ctrl Support PCRE back tracking ctrl. PCRE call outs - Support PCRE call outes. + Support PCRE call routes. PCRE forward reference Support Forward reference.
doc/guides/rel_notes/release_16_07.rst +1 -1
@@ -192,7 +192,7 @@ EAL * **igb_uio: Fixed possible mmap failure for Linux >= 4.5.** - The mmaping of the iomem range of the PCI device fails for kernels that + The mmapping of the iomem range of the PCI device fails for kernels that enabled the ``CONFIG_IO_STRICT_DEVMEM`` option. The error seen by the user is as similar to the following::
doc/guides/rel_notes/release_17_08.rst +1 -1
@@ -232,7 +232,7 @@ API Changes * The ``rte_cryptodev_configure()`` function does not create the session mempool for the device anymore. * The ``rte_cryptodev_queue_pair_attach_sym_session()`` and - ``rte_cryptodev_queue_pair_dettach_sym_session()`` functions require + ``rte_cryptodev_queue_pair_detach_sym_session()`` functions require the new parameter ``device id``. * Parameters of ``rte_cryptodev_sym_session_create()`` were modified to accept ``mempool``, instead of ``device id`` and ``rte_crypto_sym_xform``.
doc/guides/rel_notes/release_2_1.rst +1 -1
@@ -671,7 +671,7 @@ Resolved Issues value 0. - Fixes: 40b966a211ab ("ivshmem: library changes for mmaping using ivshmem") + Fixes: 40b966a211ab ("ivshmem: library changes for mmapping using ivshmem") * **ixgbe/base: Fix SFP probing.**
doc/guides/sample_app_ug/ip_reassembly.rst +1 -1
@@ -154,7 +154,7 @@ each RX queue uses its own mempool. .. literalinclude:: ../../../examples/ip_reassembly/main.c :language: c - :start-after: mbufs stored int the gragment table. 8< + :start-after: mbufs stored int the fragment table. 8< :end-before: >8 End of mbufs stored int the fragmentation table. :dedent: 1
doc/guides/sample_app_ug/l2_forward_cat.rst +1 -1
@@ -176,7 +176,7 @@ function. The value returned is the number of parsed arguments: .. literalinclude:: ../../../examples/l2fwd-cat/l2fwd-cat.c :language: c :start-after: Initialize the Environment Abstraction Layer (EAL). 8< - :end-before: >8 End of initializion the Environment Abstraction Layer (EAL). + :end-before: >8 End of initialization the Environment Abstraction Layer (EAL). :dedent: 1 The next task is to initialize the PQoS library and configure CAT. The
doc/guides/sample_app_ug/server_node_efd.rst +1 -1
@@ -191,7 +191,7 @@ flow is not handled by the node. .. literalinclude:: ../../../examples/server_node_efd/node/node.c :language: c :start-after: Packets dequeued from the shared ring. 8< - :end-before: >8 End of packets dequeueing. + :end-before: >8 End of packets dequeuing. Finally, note that both processes updates statistics, such as transmitted, received and dropped packets, which are shown and refreshed by the server app.
doc/guides/sample_app_ug/skeleton.rst +1 -1
@@ -54,7 +54,7 @@ function. The value returned is the number of parsed arguments: .. literalinclude:: ../../../examples/skeleton/basicfwd.c :language: c :start-after: Initializion the Environment Abstraction Layer (EAL). 8< - :end-before: >8 End of initializion the Environment Abstraction Layer (EAL). + :end-before: >8 End of initialization the Environment Abstraction Layer (EAL). :dedent: 1
doc/guides/sample_app_ug/vm_power_management.rst +1 -1
@@ -681,7 +681,7 @@ The following is an example JSON string for a power management request. "resource_id": 10 }} -To query the available frequences of an lcore, use the query_cpu_freq command. +To query the available frequencies of an lcore, use the query_cpu_freq command. Where {core_num} is the lcore to query. Before using this command, please enable responses via the set_query command on the host.
doc/guides/testpmd_app_ug/testpmd_funcs.rst +1 -1
@@ -3510,7 +3510,7 @@ Tunnel offload Indicate tunnel offload rule type - ``tunnel_set {tunnel_id}``: mark rule as tunnel offload decap_set type. -- ``tunnel_match {tunnel_id}``: mark rule as tunel offload match type. +- ``tunnel_match {tunnel_id}``: mark rule as tunnel offload match type. Matching pattern ^^^^^^^^^^^^^^^^
drivers/baseband/fpga_lte_fec/fpga_lte_fec.c +4 -4
@@ -2097,7 +2097,7 @@ dequeue_enc_one_op_cb(struct fpga_queue *q, struct rte_bbdev_enc_op **op,rte_bbdev_log_debug ("DMA response desc %p" , desc); *op = desc->enc_req.op_addr; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); (*op)->status = desc_error <<RTE_BBDEV_DATA_ERROR ;
@@ -2139,7 +2139,7 @@ dequeue_enc_one_op_tb(struct fpga_queue *q, struct rte_bbdev_enc_op **op,for (cb_idx =0 ; cb_idx < cbs_in_op; ++cb_idx) { desc = q->ring_addr + ((q->head_free_desc + desc_offset + cb_idx) & q->sw_ring_wrap_mask); -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); status |= desc_error <<RTE_BBDEV_DATA_ERROR ;rte_bbdev_log_debug ("DMA response desc %p" , desc);
@@ -2177,7 +2177,7 @@ dequeue_dec_one_op_cb(struct fpga_queue *q, struct rte_bbdev_dec_op **op, (*op)->turbo_dec.iter_count = (desc->dec_req.iter +2 ) >>1 ;/* crc_pass = 0 when decoder fails */ (*op)->status = !(desc->dec_req.crc_pass) <<RTE_BBDEV_CRC_ERROR ; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); (*op)->status |= desc_error <<RTE_BBDEV_DATA_ERROR ;return 1 ;
@@ -2221,7 +2221,7 @@ dequeue_dec_one_op_tb(struct fpga_queue *q, struct rte_bbdev_dec_op **op, iter_count =RTE_MAX (iter_count, (uint8_t ) desc->dec_req.iter);/* crc_pass = 0 when decoder fails, one fails all */ status |= !(desc->dec_req.crc_pass) <<RTE_BBDEV_CRC_ERROR ; -/* Check the decriptor error field, return 1 on error */ +/* Check the descriptor error field, return 1 on error */ desc_error =check_desc_error (desc->enc_req.error); status |= desc_error <<RTE_BBDEV_DATA_ERROR ;rte_bbdev_log_debug ("DMA response desc %p" , desc);
drivers/baseband/null/bbdev_null.c +1 -1
@@ -31,7 +31,7 @@ struct bbdev_null_params {uint16_t queues_num;/*< Null BBDEV queues number */ }; -/* Accecptable params for null BBDEV devices */ +/* Acceptable params for null BBDEV devices */ #define BBDEV_NULL_MAX_NB_QUEUES_ARG "max_nb_queues"#define BBDEV_NULL_SOCKET_ID_ARG "socket_id"
drivers/baseband/turbo_sw/bbdev_turbo_software.c +1 -1
@@ -61,7 +61,7 @@ struct turbo_sw_params {uint16_t queues_num;/*< Turbo SW device queues number */ }; -/* Accecptable params for Turbo SW devices */ +/* Acceptable params for Turbo SW devices */ #define TURBO_SW_MAX_NB_QUEUES_ARG "max_nb_queues"#define TURBO_SW_SOCKET_ID_ARG "socket_id"
drivers/bus/dpaa/dpaa_bus.c +1 -1
@@ -70,7 +70,7 @@ compare_dpaa_devices(struct rte_dpaa_device *dev1, {int comp =0 ; -/* Segragating ETH from SEC devices */ +/* Segregating ETH from SEC devices */ if (dev1->device_type > dev2->device_type) comp =1 ;else if (dev1->device_type < dev2->device_type)
drivers/bus/dpaa/include/fsl_qman.h +3 -3
@@ -1353,7 +1353,7 @@ __rte_internalint qman_irqsource_add (u32 bits);/** -* qman_fq_portal_irqsource_add - samilar to qman_irqsource_add, but it +* qman_fq_portal_irqsource_add - similar to qman_irqsource_add, but it * takes portal (fq specific) as input rather than using the thread affined * portal. */
@@ -1416,7 +1416,7 @@ __rte_internalstruct qm_dqrr_entry *qman_dequeue (struct qman_fq *fq);/** -* qman_dqrr_consume - Consume the DQRR entriy after volatile dequeue +* qman_dqrr_consume - Consume the DQRR entry after volatile dequeue * @fq: Frame Queue on which the volatile dequeue command is issued * @dq: DQRR entry to consume. This is the one which is provided by the * 'qbman_dequeue' command.
@@ -2017,7 +2017,7 @@ int qman_create_cgr_to_dcp(struct qman_cgr *cgr, u32 flags, u16 dcp_portal,* @cgr: the 'cgr' object to deregister * * "Unplugs" this CGR object from the portal affine to the cpu on which this API -* is executed. This must be excuted on the same affine portal on which it was +* is executed. This must be executed on the same affine portal on which it was * created. */ __rte_internal
drivers/bus/dpaa/include/fsl_usd.h +1 -1
@@ -40,7 +40,7 @@ struct dpaa_raw_portal {/* Specifies the stash request queue this portal should use */ uint8_t sdest; -/* Specifes a specific portal index to map or QBMAN_ANY_PORTAL_IDX +/* Specifies a specific portal index to map or QBMAN_ANY_PORTAL_IDX * for don't care. The portal index will be populated by the * driver when the ioctl() successfully completes. */
drivers/bus/dpaa/include/process.h +1 -1
@@ -49,7 +49,7 @@ struct dpaa_portal_map {struct dpaa_ioctl_portal_map {/* Input parameter, is a qman or bman portal required. */ enum dpaa_portal_type type; -/* Specifes a specific portal index to map or 0xffffffff +/* Specifies a specific portal index to map or 0xffffffff * for don't care. */ uint32_t index;
drivers/bus/fslmc/fslmc_bus.c +1 -1
@@ -539,7 +539,7 @@ rte_fslmc_driver_unregister(struct rte_dpaa2_driver *driver) fslmc_bus = driver->fslmc_bus; -/* Cleanup the PA->VA Translation table; From whereever this function +/* Cleanup the PA->VA Translation table; From wherever this function * is called from. */ if (rte_eal_iova_mode () ==RTE_IOVA_PA )
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +1 -1
@@ -178,7 +178,7 @@ static int dpaa2_dpio_intr_init(struct dpaa2_dpio_dev *dpio_dev) dpio_epoll_fd =epoll_create (1 ); ret =rte_dpaa2_intr_enable (dpio_dev->intr_handle,0 );if (ret) { -DPAA2_BUS_ERR ("Interrupt registeration failed" ); +DPAA2_BUS_ERR ("Interrupt registration failed" );return -1 ; }
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +1 -1
@@ -156,7 +156,7 @@ struct dpaa2_queue {struct rte_cryptodev_data *crypto_data; };uint32_t fqid;/*!< Unique ID of this queue */ -uint16_t flow_id;/*!< To be used by DPAA2 frmework */ +uint16_t flow_id;/*!< To be used by DPAA2 framework */ uint8_t tc_index;/*!< traffic class identifier */ uint8_t cgid;/*! < Congestion Group id for this queue */ uint64_t rx_pkts;
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h +10 -10
@@ -510,7 +510,7 @@ int qbman_result_has_new_result(struct qbman_swp *s, struct qbman_result *dq);/** -* qbman_check_command_complete() - Check if the previous issued dq commnd +* qbman_check_command_complete() - Check if the previous issued dq command * is completed and results are available in memory. * @s: the software portal object. * @dq: the dequeue result read from the memory.
@@ -687,7 +687,7 @@ uint16_t qbman_result_DQ_seqnum(const struct qbman_result *dq);/** * qbman_result_DQ_odpid() - Get the seqnum field in dequeue response -* odpid is valid only if ODPVAILD flag is TRUE. +* odpid is valid only if ODPVALID flag is TRUE. * @dq: the dequeue result. * * Return odpid.
@@ -743,7 +743,7 @@ const struct qbman_fd *qbman_result_DQ_fd(const struct qbman_result *dq);* qbman_result_SCN_state() - Get the state field in State-change notification * @scn: the state change notification. * -* Return the state in the notifiation. +* Return the state in the notification. */ __rte_internal uint8_t qbman_result_SCN_state(const struct qbman_result *scn);
@@ -825,7 +825,7 @@ uint64_t qbman_result_bpscn_ctx(const struct qbman_result *scn);/* Parsing CGCU */ /** -* qbman_result_cgcu_cgid() - Check CGCU resouce id, i.e. cgid +* qbman_result_cgcu_cgid() - Check CGCU resource id, i.e. cgid * @scn: the state change notification. * * Return the CGCU resource id.
@@ -903,14 +903,14 @@ void qbman_eq_desc_clear(struct qbman_eq_desc *d);__rte_internal void qbman_eq_desc_set_no_orp(struct qbman_eq_desc *d, int respond_success);/** -* qbman_eq_desc_set_orp() - Set order-resotration in the enqueue descriptor +* qbman_eq_desc_set_orp() - Set order-restoration in the enqueue descriptor * @d: the enqueue descriptor. * @response_success: 1 = enqueue with response always; 0 = enqueue with * rejections returned on a FQ. * @opr_id: the order point record id. * @seqnum: the order restoration sequence number. -* @incomplete: indiates whether this is the last fragments using the same -* sequeue number. +* @incomplete: indicates whether this is the last fragments using the same +* sequence number. */ __rte_internal void qbman_eq_desc_set_orp(struct qbman_eq_desc *d, int respond_success,
@@ -1052,10 +1052,10 @@ __rte_internaluint8_t qbman_result_eqresp_rspid (struct qbman_result *eqresp);/** -* qbman_result_eqresp_rc() - determines if enqueue command is sucessful. +* qbman_result_eqresp_rc() - determines if enqueue command is successful. * @eqresp: enqueue response. * -* Return 0 when command is sucessful. +* Return 0 when command is successful. */ __rte_internal uint8_t qbman_result_eqresp_rc(struct qbman_result *eqresp);
@@ -1250,7 +1250,7 @@ int qbman_swp_fq_force(struct qbman_swp *s, uint32_t fqid);/** * These functions change the FQ flow-control stuff between XON/XOFF. (The * default is XON.) This setting doesn't affect enqueues to the FQ, just -* dequeues. XOFF FQs will remain in the tenatively-scheduled state, even when +* dequeues. XOFF FQs will remain in the tentatively-scheduled state, even when * non-empty, meaning they won't be selected for scheduled dequeuing. If a FQ is * changed to XOFF after it had already become truly-scheduled to a channel, and * a pull dequeue of that channel occurs that selects that FQ for dequeuing,
drivers/bus/pci/linux/pci_vfio.c +1 -1
@@ -815,7 +815,7 @@ pci_vfio_map_resource_primary(struct rte_pci_device *dev)continue ; } -/* skip non-mmapable BARs */ +/* skip non-mmappable BARs */ if ((reg->flags &VFIO_REGION_INFO_FLAG_MMAP ) ==0 ) {free (reg);continue ;
drivers/bus/vdev/rte_bus_vdev.h +1 -1
@@ -197,7 +197,7 @@ rte_vdev_remove_custom_scan(rte_vdev_scan_callback callback, void *user_arg);int rte_vdev_init (const char *name,const char *args);/** -* Uninitalize a driver specified by name. +* Uninitialize a driver specified by name. * * @param name * The pointer to a driver name to be uninitialized.
drivers/bus/vmbus/vmbus_common.c +1 -1
@@ -134,7 +134,7 @@ vmbus_probe_one_driver(struct rte_vmbus_driver *dr,/* * If device class GUID matches, call the probe function of -* registere drivers for the vmbus device. +* register drivers for the vmbus device. * Return -1 if initialization failed, * and 1 if no driver found for this device. */
drivers/common/cnxk/roc_bphy_cgx.c +1 -1
@@ -14,7 +14,7 @@#define CGX_CMRX_INT_OVERFLW BIT_ULL(1)/* * CN10K stores number of lmacs in 4 bit filed -* in contraty to CN9K which uses only 3 bits. +* in contrary to CN9K which uses only 3 bits. * * In theory masks should differ yet on CN9K * bits beyond specified range contain zeros.
drivers/common/cnxk/roc_nix_bpf.c +1 -1
@@ -138,7 +138,7 @@ nix_lf_bpf_dump(__io struct nix_band_prof_s *bpf) {plt_dump ("W0: cir_mantissa \t\t\t%d\nW0: pebs_mantissa \t\t\t0x%03x" , bpf->cir_mantissa, bpf->pebs_mantissa); -plt_dump ("W0: peir_matissa \t\t\t\t%d\nW0: cbs_exponent \t\t\t%d" , +plt_dump ("W0: peir_mantissa \t\t\t\t%d\nW0: cbs_exponent \t\t\t%d" , bpf->peir_mantissa, bpf->cbs_exponent);plt_dump ("W0: cir_exponent \t\t\t%d\nW0: pebs_exponent \t\t\t%d" , bpf->cir_exponent, bpf->pebs_exponent);
drivers/common/cnxk/roc_nix_tm_ops.c +1 -1
@@ -107,7 +107,7 @@ nix_tm_adjust_shaper_pps_rate(struct nix_tm_shaper_profile *profile)if (profile->peak.rate && min_rate > profile->peak.rate) min_rate = profile->peak.rate; -/* Each packet accomulate single count, whereas HW +/* Each packet accumulate single count, whereas HW * considers each unit as Byte, so we need convert * user pps to bps */
drivers/common/cnxk/roc_npc_mcam.c +1 -1
@@ -234,7 +234,7 @@ npc_get_kex_capability(struct npc *npc)/* Ethtype: Offset 12B, len 2B */ kex_cap.bit.ethtype_0 =npc_is_kex_enabled ( npc,NPC_LID_LA ,NPC_LT_LA_ETHER ,12 *8 ,2 *8 ); -/* QINQ VLAN Ethtype: ofset 8B, len 2B */ +/* QINQ VLAN Ethtype: offset 8B, len 2B */ kex_cap.bit.ethtype_x =npc_is_kex_enabled ( npc,NPC_LID_LB ,NPC_LT_LB_STAG_QINQ ,8 *8 ,2 *8 );/* VLAN ID0 : Outer VLAN: Offset 2B, len 2B */
drivers/common/cnxk/roc_npc_priv.h +1 -1
@@ -363,7 +363,7 @@ struct npc {uint32_t rss_grps;/* rss groups supported */ uint16_t flow_prealloc_size;/* Pre allocated mcam size */ uint16_t flow_max_priority;/* Max priority for flow */ -uint16_t switch_header_type;/* Suppprted switch header type */ +uint16_t switch_header_type;/* Supported switch header type */ uint32_t mark_actions;/* Number of mark actions */ uint32_t vtag_strip_actions;/* vtag insert/strip actions */ uint16_t pf_func;/* pf_func of device */
drivers/common/cpt/cpt_ucode.h +2 -2
@@ -246,7 +246,7 @@ cpt_fc_ciph_set_key(struct cpt_ctx *cpt_ctx, cipher_type_t type,if (cpt_ctx->fc_type ==FC_GEN ) {/* * We need to always say IV is from DPTR as user can -* sometimes iverride IV per operation. +* sometimes override IV per operation. */ fctx->enc.iv_source =CPT_FROM_DPTR ;
@@ -3035,7 +3035,7 @@ prepare_iov_from_pkt_inplace(struct rte_mbuf *pkt, tailroom =rte_pktmbuf_tailroom (pkt);if (likely ((headroom >=24 ) && (tailroom >=8 ))) { -/* In 83XX this is prerequivisit for Direct mode */ +/* In 83XX this is prerequisite for Direct mode */ *flags |=SINGLE_BUF_HEADTAILROOM ; } param->bufs[0 ].vaddr = seg_data;
drivers/common/cpt/cpt_ucode_asym.h +1 -1
@@ -779,7 +779,7 @@ cpt_ecdsa_verify_prep(struct rte_crypto_ecdsa_op_param *ecdsa,* Set dlen = sum(sizeof(fpm address), ROUNDUP8(message len), * ROUNDUP8(sign len(r and s), public key len(x and y coordinates), * prime len, order len)). -* Please note sign, public key and order can not excede prime length +* Please note sign, public key and order can not exede prime length * i.e. 6 * p_align */ dlen =sizeof (fpm_table_iova) + m_align + (8 * p_align);
drivers/common/dpaax/caamflib/desc/algo.h +1 -1
@@ -67,7 +67,7 @@ cnstr_shdsc_zuce(uint32_t *descbuf, bool ps, bool swap,* @authlen: size of digest * * The IV prepended before hmac payload must be 8 bytes consisting -* of COUNT||BEAERER||DIR. The COUNT is of 32-bits, bearer is of 5 bits and +* of COUNT||BEARER||DIR. The COUNT is of 32-bits, bearer is of 5 bits and * direction is of 1 bit - totalling to 38 bits. * * Return: size of descriptor written in words or negative number on error
drivers/common/dpaax/caamflib/desc/sdap.h +3 -3
@@ -492,10 +492,10 @@ pdcp_sdap_insert_snoop_op(struct program *p, bool swap __maybe_unused,/* Set the variable size of data the register will write */ if (dir ==OP_TYPE_ENCAP_PROTOCOL ) { -/* We will add the interity data so add its length */ +/* We will add the integrity data so add its length */ MATHI (p,SEQINSZ ,ADD ,PDCP_MAC_I_LEN ,VSEQOUTSZ ,4 ,IMMED2 ); }else { -/* We will check the interity data so remove its length */ +/* We will check the integrity data so remove its length */ MATHI (p,SEQINSZ ,SUB ,PDCP_MAC_I_LEN ,VSEQOUTSZ ,4 ,IMMED2 );/* Do not take the ICV in the out-snooping configuration */ MATHI (p,SEQINSZ ,SUB ,PDCP_MAC_I_LEN ,VSEQINSZ ,4 ,IMMED2 );
@@ -803,7 +803,7 @@ static inline int pdcp_sdap_insert_no_snoop_op(CLRW_CLR_C1MODE , CLRW, 0, 4, IMMED); -/* Load the key for authentcation */ +/* Load the key for authentication */ KEY (p,KEY1 , authdata->key_enc_flags, authdata->key, authdata->keylen,INLINE_KEY (authdata));
drivers/common/dpaax/dpaax_iova_table.c +1 -1
@@ -261,7 +261,7 @@ dpaax_iova_table_depopulate(void)rte_free (dpaax_iova_table_p->entries); dpaax_iova_table_p =NULL ; -DPAAX_DEBUG ("IOVA Table cleanedup" ); +DPAAX_DEBUG ("IOVA Table cleaned" ); }int
drivers/common/iavf/iavf_type.h +1 -1
@@ -1006,7 +1006,7 @@ struct iavf_profile_tlv_section_record {u8 data[12 ]; }; -/* Generic AQ section in proflie */ +/* Generic AQ section in profile */ struct iavf_profile_aq_section {u16 opcode;u16 flags;
drivers/common/iavf/virtchnl.h +1 -1
@@ -233,7 +233,7 @@ static inline const char *virtchnl_op_str(enum virtchnl_ops v_opcode)case VIRTCHNL_OP_DCF_CMD_DESC :return "VIRTCHNL_OP_DCF_CMD_DESC" ;case VIRTCHNL_OP_DCF_CMD_BUFF : -return "VIRTCHHNL_OP_DCF_CMD_BUFF" ; +return "VIRTCHNL_OP_DCF_CMD_BUFF" ;case VIRTCHNL_OP_DCF_DISABLE :return "VIRTCHNL_OP_DCF_DISABLE" ;case VIRTCHNL_OP_DCF_GET_VSI_MAP :
drivers/common/mlx5/mlx5_common.c +1 -1
@@ -854,7 +854,7 @@ static void mlx5_common_driver_init(void)static bool mlx5_common_initialized;/** -* One time innitialization routine for run-time dependency on glue library +* One time initialization routine for run-time dependency on glue library * for multiple PMDs. Each mlx5 PMD that depends on mlx5_common module, * must invoke in its constructor. */
drivers/common/mlx5/mlx5_common_mr.c +1 -1
@@ -1541,7 +1541,7 @@ mlx5_mempool_reg_create(struct rte_mempool *mp, unsigned int mrs_n,* Destroy a mempool registration object. * * @param standalone -* Whether @p mpr owns its MRs excludively, i.e. they are not shared. +* Whether @p mpr owns its MRs exclusively, i.e. they are not shared. */ static void mlx5_mempool_reg_destroy(struct mlx5_mr_share_cache *share_cache,
drivers/common/mlx5/mlx5_devx_cmds.c +1 -1
@@ -1822,7 +1822,7 @@ mlx5_devx_cmd_create_td(void *ctx)* Pointer to file stream. * * @return -* 0 on success, a nagative value otherwise. +* 0 on success, a negative value otherwise. */ int mlx5_devx_cmd_flow_dump(void *fdb_domain __rte_unused,
drivers/common/mlx5/mlx5_malloc.c +2 -2
@@ -58,7 +58,7 @@ static struct mlx5_sys_mem mlx5_sys_mem = {* Check if the address belongs to memory seg list. * * @param addr -* Memory address to be ckeced. +* Memory address to be checked. * @param msl * Memory seg list. *
@@ -109,7 +109,7 @@ mlx5_mem_update_msl(void *addr)* Check if the address belongs to rte memory. * * @param addr -* Memory address to be ckeced. +* Memory address to be checked. * * @return * True if it belongs, false otherwise.
drivers/common/mlx5/mlx5_malloc.h +1 -1
@@ -19,7 +19,7 @@ extern "C" {enum mlx5_mem_flags {MLX5_MEM_ANY =0 , -/* Memory will be allocated dpends on sys_mem_en. */ +/* Memory will be allocated depends on sys_mem_en. */ MLX5_MEM_SYS =1 <<0 ,/* Memory should be allocated from system. */ MLX5_MEM_RTE =1 <<1 ,
drivers/common/mlx5/mlx5_prm.h +1 -1
@@ -4172,7 +4172,7 @@ mlx5_flow_mark_get(uint32_t val)* timestamp format supported by the queue. * * @return -* Converted timstamp format settings. +* Converted timestamp format settings. */ static inline uint32_t mlx5_ts_format_conv (uint32_t ts_format)
drivers/common/mlx5/windows/mlx5_common_os.c +2 -2
@@ -302,7 +302,7 @@ mlx5_os_umem_dereg(void *pumem) }/** -* Register mr. Given protection doamin pointer, pointer to addr and length +* Register mr. Given protection domain pointer, pointer to addr and length * register the memory region. * * @param[in] pd
@@ -310,7 +310,7 @@ mlx5_os_umem_dereg(void *pumem)* @param[in] addr * Pointer to memory start address (type devx_device_ctx). * @param[in] length -* Lengtoh of the memory to register. +* Length of the memory to register. * @param[out] pmd_mr * pmd_mr struct set with lkey, address, length, pointer to mr object, mkey *
drivers/common/mlx5/windows/mlx5_common_os.h +1 -1
@@ -21,7 +21,7 @@/** * This API allocates aligned or non-aligned memory. The free can be on either * aligned or nonaligned memory. To be protected - even though there may be no -* alignment - in Windows this API will unconditioanlly call _aligned_malloc() +* alignment - in Windows this API will unconditionally call _aligned_malloc() * with at least a minimal alignment size. * * @param[in] align
drivers/common/qat/qat_adf/adf_transport_access_macros.h +1 -1
@@ -72,7 +72,7 @@#define ADF_SIZE_TO_RING_SIZE_IN_BYTES (SIZE ) ((1 << (SIZE - 1)) << 7)#define ADF_RING_SIZE_IN_BYTES_TO_SIZE (SIZE ) ((1 << (SIZE - 1)) >> 7) -/* Minimum ring bufer size for memory allocation */ +/* Minimum ring buffer size for memory allocation */ #define ADF_RING_SIZE_BYTES_MIN (SIZE ) ((SIZE < ADF_RING_SIZE_4K) ? \ ADF_RING_SIZE_4K : SIZE)#define ADF_RING_SIZE_MODULO (SIZE ) (SIZE + 0x6)
drivers/common/sfc_efx/efsys.h +1 -1
@@ -616,7 +616,7 @@ typedef struct efsys_bar_s {#define EFSYS_DMA_SYNC_FOR_KERNEL (_esmp, _offset, _size) ((void)0) -/* Just avoid store and compiler (impliciltly) reordering */ +/* Just avoid store and compiler (implicitly) reordering */ #define EFSYS_DMA_SYNC_FOR_DEVICE (_esmp, _offset, _size) rte_wmb()/* TIMESTAMP */
drivers/compress/octeontx/include/zip_regs.h +2 -2
@@ -195,7 +195,7 @@ union zip_inst_s { uint64_t bf : 1;/** Comp/decomp operation */ uint64_t op : 2; -/** Data sactter */ +/** Data scatter */ uint64_t ds : 1;/** Data gather */ uint64_t dg : 1;
@@ -376,7 +376,7 @@ union zip_inst_s { uint64_t bf : 1;/** Comp/decomp operation */ uint64_t op : 2; -/** Data sactter */ +/** Data scatter */ uint64_t ds : 1;/** Data gather */ uint64_t dg : 1;
drivers/compress/octeontx/otx_zip.h +1 -1
@@ -31,7 +31,7 @@ extern int octtx_zip_logtype_driver;/**< PCI device id of ZIP VF */ #define PCI_DEVICE_ID_OCTEONTX_ZIPVF 0xA037 -/* maxmum number of zip vf devices */ +/* maximum number of zip vf devices */ #define ZIP_MAX_VFS 8/* max size of one chunk */
drivers/compress/qat/qat_comp_pmd.c +1 -1
@@ -463,7 +463,7 @@ qat_comp_create_stream_pool(struct qat_comp_dev_private *comp_dev, }else if (info.error) {rte_mempool_obj_iter (mp, qat_comp_stream_destroy,NULL );QAT_LOG (ERR , -"Destoying mempool %s as at least one element failed initialisation" , +"Destroying mempool %s as at least one element failed initialisation" , stream_pool_name);rte_mempool_free (mp); mp =NULL ;
drivers/crypto/bcmfs/bcmfs_device.h +1 -1
@@ -32,7 +32,7 @@ enum bcmfs_device_type {BCMFS_UNKNOWN }; -/* A table to store registered queue pair opertations */ +/* A table to store registered queue pair operations */ struct bcmfs_hw_queue_pair_ops_table {rte_spinlock_t tl;/* Number of used ops structs in the table. */
drivers/crypto/bcmfs/bcmfs_qp.c +1 -1
@@ -212,7 +212,7 @@ bcmfs_qp_setup(struct bcmfs_qp **qp_addr, nb_descriptors =FS_RM_MAX_REQS ;if (qp_conf->iobase ==NULL ) { -BCMFS_LOG (ERR ,"IO onfig space null" ); +BCMFS_LOG (ERR ,"IO config space null" );return -EINVAL ; }
drivers/crypto/bcmfs/bcmfs_sym_defs.h +3 -3
@@ -20,11 +20,11 @@ struct bcmfs_sym_request;/** Crypto Request processing successful. */ #define BCMFS_SYM_RESPONSE_SUCCESS (0) -/** Crypot Request processing protocol failure. */ +/** Crypto Request processing protocol failure. */ #define BCMFS_SYM_RESPONSE_PROTO_FAILURE (1) -/** Crypot Request processing completion failure. */ +/** Crypto Request processing completion failure. */ #define BCMFS_SYM_RESPONSE_COMPL_ERROR (2) -/** Crypot Request processing hash tag check error. */ +/** Crypto Request processing hash tag check error. */ #define BCMFS_SYM_RESPONSE_HASH_TAG_ERROR (3)/** Maximum threshold length to adjust AAD in continuation
drivers/crypto/bcmfs/bcmfs_sym_engine.h +1 -1
@@ -12,7 +12,7 @@#include "bcmfs_sym_defs.h" #include "bcmfs_sym_req.h" -/* structure to hold element's arrtibutes */ +/* structure to hold element's attributes */ struct fsattr {void *va;uint64_t pa;
drivers/crypto/bcmfs/hw/bcmfs5_rm.c +1 -1
@@ -441,7 +441,7 @@ static void bcmfs5_write_doorbell(struct bcmfs_qp *qp) {struct bcmfs_queue *txq = &qp->tx_q; -/* sync in bfeore ringing the door-bell */ +/* sync in before ringing the door-bell */ rte_wmb (); FS_MMIO_WRITE32(txq->descs_inflight,
drivers/crypto/caam_jr/caam_jr_hw_specific.h +2 -2
@@ -376,7 +376,7 @@ struct sec_job_ring_t {void *register_base_addr;/* Base address for SEC's * register memory for this job ring. */ -uint8_t coalescing_en;/* notifies if coelescing is +uint8_t coalescing_en;/* notifies if coalescing is * enabled for the job ring */ sec_job_ring_state_t jr_state;/* The state of this job ring */
@@ -479,7 +479,7 @@ void hw_job_ring_error_print(struct sec_job_ring_t *job_ring, int code);/* @brief Set interrupt coalescing parameters on the Job Ring. * @param [in] job_ring The job ring -* @param [in] irq_coalesing_timer Interrupt coalescing timer threshold. +* @param [in] irq_coalescing_timer Interrupt coalescing timer threshold. * This value determines the maximum * amount of time after processing a * descriptor before raising an interrupt.
drivers/crypto/caam_jr/caam_jr_pvt.h +2 -2
@@ -169,7 +169,7 @@ struct sec4_sg_entry {/* Structure encompassing a job descriptor which is to be processed * by SEC. User should also initialise this structure with the callback -* function pointer which will be called by driver after recieving proccessed +* function pointer which will be called by driver after receiving processed * descriptor from SEC. User data is also passed in this data structure which * will be sent as an argument to the user callback function. */
@@ -288,7 +288,7 @@ int caam_jr_enable_irqs(int uio_fd);* value that indicates an IRQ disable action into UIO file descriptor * of this job ring. * -* @param [in] uio_fd UIO File descripto +* @param [in] uio_fd UIO File descriptor * @retval 0 for success * @retval -1 value for error *
drivers/crypto/caam_jr/caam_jr_uio.c +1 -1
@@ -227,7 +227,7 @@ caam_jr_enable_irqs(int uio_fd)* value that indicates an IRQ disable action into UIO file descriptor * of this job ring. * -* @param [in] uio_fd UIO File descripto +* @param [in] uio_fd UIO File descriptor * @retval 0 for success * @retval -1 value for error *
drivers/crypto/ccp/ccp_crypto.c +1 -1
@@ -1299,7 +1299,7 @@ ccp_auth_slot(struct ccp_session *session)case CCP_AUTH_ALGO_SHA512_HMAC :/** * 1. Load PHash1 = H(k ^ ipad); to LSB -* 2. generate IHash = H(hash on meassage with PHash1 +* 2. generate IHash = H(hash on message with PHash1 * as init values); * 3. Retrieve IHash 2 slots for 384/512 * 4. Load Phash2 = H(k ^ opad); to LSB
drivers/crypto/ccp/ccp_crypto.h +1 -1
@@ -70,7 +70,7 @@/* Maximum length for digest */ #define DIGEST_LENGTH_MAX 64 -/* SHA LSB intialiazation values */ +/* SHA LSB initialization values */ #define SHA1_H0 0x67452301UL#define SHA1_H1 0xefcdab89UL
drivers/crypto/ccp/ccp_dev.h +1 -1
@@ -19,7 +19,7 @@#include <rte_crypto_sym.h> #include <cryptodev_pmd.h> -/**< CCP sspecific */ +/**< CCP specific */ #define MAX_HW_QUEUES 5#define CCP_MAX_TRNG_RETRIES 10#define CCP_ALIGN (x, y) ((((x) + (y - 1)) / y) * y)
drivers/crypto/dpaa_sec/dpaa_sec.c +1 -1
@@ -723,7 +723,7 @@ dpaa_sec_deq(struct dpaa_sec_qp *qp, struct rte_crypto_op **ops, int nb_ops) } ops[pkts++] = op; -/* report op status to sym->op and then free the ctx memeory */ +/* report op status to sym->op and then free the ctx memory */ rte_mempool_put (ctx->ctx_pool, (void *)ctx);qman_dqrr_consume (fq, dq);
drivers/crypto/octeontx/otx_cryptodev_hw_access.c +1 -1
@@ -296,7 +296,7 @@ cpt_vq_init(struct cpt_vf *cptvf, uint8_t group)/* CPT VF device initialization */ otx_cpt_vfvq_init (cptvf); -/* Send msg to PF to assign currnet Q to required group */ +/* Send msg to PF to assign current Q to required group */ cptvf->vfgrp = group; err =otx_cpt_send_vf_grp_msg (cptvf, group);if (err) {
drivers/crypto/octeontx/otx_cryptodev_mbox.h +1 -1
@@ -70,7 +70,7 @@ void otx_cpt_handle_mbox_intr(struct cpt_vf *cptvf);/* -* Checks if VF is able to comminicate with PF +* Checks if VF is able to communicate with PF * and also gets the CPT number this VF is associated to. */ int
drivers/crypto/octeontx/otx_cryptodev_ops.c +1 -1
@@ -558,7 +558,7 @@ otx_cpt_enq_single_sym(struct cpt_instance *instance, &mdata, (void **)&prep_req);if (unlikely (ret)) { -CPT_LOG_DP_ERR ("prep cryto req : op %p, cpt_op 0x%x " +CPT_LOG_DP_ERR ("prep crypto req : op %p, cpt_op 0x%x " "ret 0x%x" , op, (unsigned int )cpt_op, ret);return NULL ; }
drivers/crypto/qat/qat_asym.c +1 -1
@@ -109,7 +109,7 @@ static void qat_clear_arrays_by_alg(struct qat_asym_op_cookie *cookie,static int qat_asym_check_nonzero (rte_crypto_param n) {if (n.length <8 ) { -/* Not a case for any cryptograpic function except for DH +/* Not a case for any cryptographic function except for DH * generator which very often can be of one byte length */ size_t i;
drivers/crypto/qat/qat_sym.c +1 -1
@@ -419,7 +419,7 @@ qat_sym_build_request(void *in_op, uint8_t *out_msg, ICP_QAT_HW_AUTH_ALGO_AES_CBC_MAC) {/* In case of AES-CCM this may point to user selected -* memory or iv offset in cypto_op +* memory or iv offset in crypto_op */ uint8_t *aad_data = op->sym->aead.aad.data;/* This is true AAD length, it not includes 18 bytes of
drivers/crypto/virtio/virtqueue.h +1 -1
@@ -145,7 +145,7 @@ virtqueue_notify(struct virtqueue *vq) {/* * Ensure updated avail->idx is visible to host. -* For virtio on IA, the notificaiton is through io port operation +* For virtio on IA, the notification is through io port operation * which is a serialization instruction itself. */ VTPCI_OPS (vq->hw)->notify_queue (vq->hw, vq);
drivers/dma/skeleton/skeleton_dmadev.c +1 -1
@@ -169,7 +169,7 @@ vchan_setup(struct skeldma_hw *hw, uint16_t nb_desc)struct rte_ring *completed;uint16_t i; - desc =rte_zmalloc_socket ("dma_skelteon_desc" , + desc =rte_zmalloc_socket ("dma_skeleton_desc" , nb_desc *sizeof (struct skeldma_desc ),RTE_CACHE_LINE_SIZE , hw->socket_id);if (desc ==NULL ) {
drivers/event/cnxk/cnxk_eventdev_selftest.c +2 -2
@@ -140,7 +140,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;int i, ret; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool =rte_pktmbuf_pool_create ( pool_name,MAX_EVENTS ,0 ,0 ,512 ,rte_socket_id ());if (!eventdev_test_mempool) {
@@ -1543,7 +1543,7 @@ cnxk_sso_selftest(const char *dev_name)cn9k_sso_set_rsrc (dev);if (cnxk_sso_testsuite_run (dev_name))return rc; -/* Verift dual ws mode. */ +/* Verify dual ws mode. */ printf ("Verifying CN9K Dual workslot mode\n" ); dev->dual_ws =1 ;cn9k_sso_set_rsrc (dev);
drivers/event/dlb2/dlb2.c +1 -1
@@ -2145,7 +2145,7 @@ dlb2_event_queue_detach_ldb(struct dlb2_eventdev *dlb2, }/* This is expected with eventdev API! -* It blindly attemmpts to unmap all queues. +* It blindly attempts to unmap all queues. */ if (i ==DLB2_MAX_NUM_QIDS_PER_LDB_CQ ) { DLB2_LOG_DBG("dlb2: ignoring LB QID %d not mapped for qm_port %d.\n",
drivers/event/dlb2/dlb2_priv.h +1 -1
@@ -519,7 +519,7 @@ struct dlb2_eventdev_port {bool setup_done;/* enq_configured is set when the qm port is created */ bool enq_configured; -uint8_t implicit_release;/* release events before dequeueing */ +uint8_t implicit_release;/* release events before dequeuing */ } __rte_cache_aligned;struct dlb2_queue {
drivers/event/dlb2/dlb2_selftest.c +1 -1
@@ -223,7 +223,7 @@ test_stop_flush(struct test *t) /* test to check we can properly flush events */ 0, RTE_EVENT_PORT_ATTR_DEQ_DEPTH, &dequeue_depth)) { -printf ("%d: Error retrieveing dequeue depth\n" , __LINE__); +printf ("%d: Error retrieving dequeue depth\n" , __LINE__); goto err; }
drivers/event/dlb2/rte_pmd_dlb2.h +1 -1
@@ -24,7 +24,7 @@ extern "C" {* Selects the token pop mode for a DLB2 port. */ enum dlb2_token_pop_mode { -/* Pop the CQ tokens immediately after dequeueing. */ +/* Pop the CQ tokens immediately after dequeuing. */ AUTO_POP ,/* Pop CQ tokens after (dequeue_depth - 1) events are released. * Supported on load-balanced ports only.
drivers/event/dpaa2/dpaa2_eventdev_selftest.c +1 -1
@@ -118,7 +118,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;const char *pool_name ="evdev_dpaa2_test_pool" ; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool = rte_pktmbuf_pool_create(pool_name, MAX_EVENTS, 0 /*MBUF_CACHE_SIZE*/,
drivers/event/dsw/dsw_evdev.h +2 -2
@@ -24,7 +24,7 @@/* Multiple 24-bit flow ids will map to the same DSW-level flow. The * number of DSW flows should be high enough make it unlikely that * flow ids of several large flows hash to the same DSW-level flow. -* Such collisions will limit parallism and thus the number of cores +* Such collisions will limit parallelism and thus the number of cores * that may be utilized. However, configuring a large number of DSW * flows might potentially, depending on traffic and actual * application flow id value range, result in each such DSW-level flow
@@ -104,7 +104,7 @@/* Only one outstanding migration per port is allowed */ #define DSW_MAX_PAUSED_FLOWS (DSW_MAX_PORTS*DSW_MAX_FLOWS_PER_MIGRATION) -/* Enough room for paus request/confirm and unpaus request/confirm for +/* Enough room for pause request/confirm and unpaus request/confirm for * all possible senders. */ #define DSW_CTL_IN_RING_SIZE ((DSW_MAX_PORTS-1)*4)
drivers/event/dsw/dsw_event.c +2 -2
@@ -1096,7 +1096,7 @@ dsw_port_ctl_process(struct dsw_evdev *dsw, struct dsw_port *port)static void dsw_port_note_op (struct dsw_port *port,uint16_t num_events) { -/* To pull the control ring reasonbly often on busy ports, +/* To pull the control ring reasonably often on busy ports, * each dequeued/enqueued event is considered an 'op' too. */ port->ops_since_bg_task += (num_events+1 );
@@ -1180,7 +1180,7 @@ dsw_event_enqueue_burst_generic(struct dsw_port *source_port,* addition, a port cannot be left "unattended" (e.g. unused) * for long periods of time, since that would stall * migration. Eventdev API extensions to provide a cleaner way -* to archieve both of these functions should be +* to archive both of these functions should be * considered. */ if (unlikely (events_len ==0 )) {
drivers/event/octeontx/ssovf_evdev.h +1 -1
@@ -88,7 +88,7 @@/* * In Cavium OCTEON TX SoC, all accesses to the device registers are -* implictly strongly ordered. So, The relaxed version of IO operation is +* implicitly strongly ordered. So, The relaxed version of IO operation is * safe to use with out any IO memory barriers. */ #define ssovf_read64 rte_read64_relaxed
drivers/event/octeontx/ssovf_evdev_selftest.c +1 -1
@@ -151,7 +151,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;const char *pool_name ="evdev_octeontx_test_pool" ; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool = rte_pktmbuf_pool_create(pool_name, MAX_EVENTS, 0 /*MBUF_CACHE_SIZE*/,
drivers/event/octeontx2/otx2_evdev_selftest.c +1 -1
@@ -139,7 +139,7 @@ _eventdev_setup(int mode)struct rte_event_dev_info info;int i, ret; -/* Create and destrory pool for each test case to make it standalone */ +/* Create and destroy pool for each test case to make it standalone */ eventdev_test_mempool =rte_pktmbuf_pool_create (pool_name,MAX_EVENTS ,0 ,0 ,512 ,rte_socket_id ());
drivers/event/octeontx2/otx2_worker_dual.h +1 -1
@@ -74,7 +74,7 @@ otx2_ssogws_dual_get_work(struct otx2_ssogws_state *ws, event.flow_id, flags, lookup_mem);/* Extracting tstamp, if PTP enabled. CGX will prepend * the timestamp at starting of packet data and it can -* be derieved from WQE 9 dword which corresponds to SG +* be derived from WQE 9 dword which corresponds to SG * iova. * rte_pktmbuf_mtod_offset can be used for this purpose * but it brings down the performance as it reads
drivers/event/opdl/opdl_evdev.c +1 -1
@@ -703,7 +703,7 @@ opdl_probe(struct rte_vdev_device *vdev) } PMD_DRV_LOG(INFO, "DEV_ID:[%02d] : " - "Success - creating eventdev device %s, numa_node:[%d], do_valdation:[%s]" + "Success - creating eventdev device %s, numa_node:[%d], do_validation:[%s]" " , self_test:[%s]\n", dev->data->dev_id, name,
drivers/event/opdl/opdl_test.c +1 -1
@@ -864,7 +864,7 @@ qid_basic(struct test *t) } -/* Start the devicea */ +/* Start the device */ if (!err) {if (rte_event_dev_start (evdev) <0 ) { PMD_DRV_LOG(ERR, "%s:%d: Error with start call\n",
drivers/event/sw/sw_evdev.h +1 -1
@@ -180,7 +180,7 @@ struct sw_port { uint16_t outstanding_releases __rte_cache_aligned;uint16_t inflight_max;/* app requested max inflights for this port */ uint16_t inflight_credits;/* num credits this port has right now */ -uint8_t implicit_release;/* release events before dequeueing */ +uint8_t implicit_release;/* release events before dequeuing */ uint16_t last_dequeue_burst_sz;/* how big the burst was */ uint64_t last_dequeue_ticks;/* used to track burst processing time */
drivers/event/sw/sw_evdev_selftest.c +1 -1
@@ -1109,7 +1109,7 @@ xstats_tests(struct test *t)NULL , 0); -/* Verify that the resetable stats are reset, and others are not */ +/* Verify that the resettable stats are reset, and others are not */ static const uint64_t queue_expected_zero[] = {0 /* rx */ ,0 /* tx */ ,
drivers/mempool/dpaa/dpaa_mempool.c +1 -1
@@ -258,7 +258,7 @@ dpaa_mbuf_alloc_bulk(struct rte_mempool *pool, }/* assigning mbuf from the acquired objects */ for (i =0 ; (i < ret) && bufs[i].addr; i++) { -/* TODO-errata - objerved that bufs may be null +/* TODO-errata - observed that bufs may be null * i.e. first buffer is valid, remaining 6 buffers * may be null. */
drivers/mempool/octeontx/octeontx_fpavf.c +2 -2
@@ -669,7 +669,7 @@ octeontx_fpa_bufpool_destroy(uintptr_t handle, int node_id)break ; } -/* Imsert it into an ordered linked list */ +/* Insert it into an ordered linked list */ for (curr = &head; curr[0 ] !=NULL ; curr = curr[0 ]) {if ((uintptr_t )node <= (uintptr_t )curr[0 ])break ;
@@ -705,7 +705,7 @@ octeontx_fpa_bufpool_destroy(uintptr_t handle, int node_id) ret =octeontx_fpapf_aura_detach (gpool);if (ret) { -fpavf_log_err ("Failed to dettach gaura %u. error code=%d\n" , +fpavf_log_err ("Failed to detach gaura %u. error code=%d\n" , gpool, ret); }
drivers/net/ark/ark_global.h +1 -1
@@ -67,7 +67,7 @@typedef void (*rx_user_meta_hook_fn )(struct rte_mbuf *mbuf,const uint32_t *meta,void *ext_user_data); -/* TX hook poplulate *meta, with up to 20 bytes. meta_cnt +/* TX hook populate *meta, with up to 20 bytes. meta_cnt * returns the number of uint32_t words populated, 0 to 5 */ typedef void (*tx_user_meta_hook_fn)(const struct rte_mbuf *mbuf,
drivers/net/atlantic/atl_ethdev.c +1 -1
@@ -1423,7 +1423,7 @@ atl_dev_interrupt_action(struct rte_eth_dev *dev,* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
drivers/net/atlantic/atl_rxtx.c +1 -1
@@ -1094,7 +1094,7 @@ atl_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t )(nb_hold + rxq->nb_rx_hold);
drivers/net/atlantic/hw_atl/hw_atl_b0.c +1 -1
@@ -281,7 +281,7 @@ int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self)hw_atl_rpf_vlan_outer_etht_set (self,0x88A8U );hw_atl_rpf_vlan_inner_etht_set (self,0x8100U ); -/* VLAN proimisc bu defauld */ +/* VLAN promisc by default */ hw_atl_rpf_vlan_prom_mode_en_set (self,1 );/* Rx Interrupts */
drivers/net/axgbe/axgbe_dev.c +1 -1
@@ -1046,7 +1046,7 @@ static int axgbe_config_rx_threshold(struct axgbe_port *pdata,return 0 ; } -/*Distrubting fifo size */ +/*Distributing fifo size */ static void axgbe_config_rx_fifo_size (struct axgbe_port *pdata) {unsigned int fifo_size;
drivers/net/axgbe/axgbe_ethdev.c +1 -1
@@ -284,7 +284,7 @@ static int axgbe_phy_reset(struct axgbe_port *pdata)* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
drivers/net/axgbe/axgbe_ethdev.h +1 -1
@@ -641,7 +641,7 @@ struct axgbe_port {unsigned int kr_redrv; -/* Auto-negotiation atate machine support */ +/* Auto-negotiation state machine support */ unsigned int an_int;unsigned int an_status;enum axgbe_an an_result;
drivers/net/axgbe/axgbe_phy_impl.c +2 -2
@@ -347,7 +347,7 @@ static int axgbe_phy_i2c_read(struct axgbe_port *pdata, unsigned int target, retry =1 ; again2: -/* Read the specfied register */ +/* Read the specified register */ i2c_op.cmd =AXGBE_I2C_CMD_READ ; i2c_op.target = target; i2c_op.len = val_len;
@@ -1093,7 +1093,7 @@ static int axgbe_phy_an_config(struct axgbe_port *pdata __rte_unused) {return 0 ;/* Dummy API since there is no case to support -* external phy devices registred through kerenl apis +* external phy devices registred through kernel apis */ }
drivers/net/axgbe/axgbe_rxtx_vec_sse.c +1 -1
@@ -11,7 +11,7 @@#include <rte_mempool.h> #include <rte_mbuf.h> -/* Useful to avoid shifting for every descriptor prepration*/ +/* Useful to avoid shifting for every descriptor preparation*/ #define TX_DESC_CTRL_FLAGS 0xb000000000000000#define TX_DESC_CTRL_FLAG_TMST 0x40000000#define TX_FREE_BULK 8
drivers/net/bnx2x/bnx2x.c +19 -19
@@ -926,7 +926,7 @@ storm_memset_eq_prod(struct bnx2x_softc *sc, uint16_t eq_prod, uint16_t pfid)* block. * * RAMROD_CMD_ID_ETH_UPDATE -* Used to update the state of the leading connection, usually to udpate +* Used to update the state of the leading connection, usually to update * the RSS indirection table. Completes on the RCQ of the leading * connection. (Not currently used under FreeBSD until OS support becomes * available.)
@@ -941,7 +941,7 @@ storm_memset_eq_prod(struct bnx2x_softc *sc, uint16_t eq_prod, uint16_t pfid)* the RCQ of the leading connection. * * RAMROD_CMD_ID_ETH_CFC_DEL -* Used when tearing down a conneciton prior to driver unload. Completes +* Used when tearing down a connection prior to driver unload. Completes * on the RCQ of the leading connection (since the current connection * has been completely removed from controller memory). *
@@ -1072,7 +1072,7 @@ bnx2x_sp_post(struct bnx2x_softc *sc, int command, int cid, uint32_t data_hi,/* * It's ok if the actual decrement is issued towards the memory -* somewhere between the lock and unlock. Thus no more explict +* somewhere between the lock and unlock. Thus no more explicit * memory barrier is needed. */ if (common) {
@@ -1190,7 +1190,7 @@ bnx2x_sp_event(struct bnx2x_softc *sc, struct bnx2x_fastpath *fp,break ;case (RAMROD_CMD_ID_ETH_TERMINATE ): -PMD_DRV_LOG (DEBUG , sc,"got MULTI[%d] teminate ramrod" , cid); +PMD_DRV_LOG (DEBUG , sc,"got MULTI[%d] terminate ramrod" , cid); drv_cmd =ECORE_Q_CMD_TERMINATE ;break ;
@@ -1476,7 +1476,7 @@ bnx2x_fill_accept_flags(struct bnx2x_softc *sc, uint32_t rx_mode,case BNX2X_RX_MODE_ALLMULTI_PROMISC :case BNX2X_RX_MODE_PROMISC :/* -* According to deffinition of SI mode, iface in promisc mode +* According to definition of SI mode, iface in promisc mode * should receive matched and unmatched (in resolution of port) * unicast packets. */
@@ -1944,7 +1944,7 @@ static void bnx2x_disable_close_the_gate(struct bnx2x_softc *sc)/* * Cleans the object that have internal lists without sending -* ramrods. Should be run when interrutps are disabled. +* ramrods. Should be run when interrupts are disabled. */ static void bnx2x_squeeze_objects (struct bnx2x_softc *sc) {
@@ -2043,7 +2043,7 @@ bnx2x_nic_unload(struct bnx2x_softc *sc, uint32_t unload_mode, uint8_t keep_link/* * Nothing to do during unload if previous bnx2x_nic_load() -* did not completed successfully - all resourses are released. +* did not completed successfully - all resources are released. */ if ((sc->state ==BNX2X_STATE_CLOSED ) || (sc->state ==BNX2X_STATE_ERROR )) {return 0 ;
@@ -2084,7 +2084,7 @@ bnx2x_nic_unload(struct bnx2x_softc *sc, uint32_t unload_mode, uint8_t keep_link/* * Prevent transactions to host from the functions on the * engine that doesn't reset global blocks in case of global -* attention once gloabl blocks are reset and gates are opened +* attention once global blocks are reset and gates are opened * (the engine which leader will perform the recovery * last). */
@@ -2101,7 +2101,7 @@ bnx2x_nic_unload(struct bnx2x_softc *sc, uint32_t unload_mode, uint8_t keep_link/* * At this stage no more interrupts will arrive so we may safely clean -* the queue'able objects here in case they failed to get cleaned so far. +* the queueable objects here in case they failed to get cleaned so far. */ if (IS_PF (sc)) {bnx2x_squeeze_objects (sc);
@@ -2151,7 +2151,7 @@ bnx2x_nic_unload(struct bnx2x_softc *sc, uint32_t unload_mode, uint8_t keep_link }/* -* Encapsulte an mbuf cluster into the tx bd chain and makes the memory +* Encapsulate an mbuf cluster into the tx bd chain and makes the memory * visible to the controller. * * If an mbuf is submitted to this routine and cannot be given to the
@@ -2719,7 +2719,7 @@ static uint8_t bnx2x_clear_pf_load(struct bnx2x_softc *sc)return val1 !=0 ; } -/* send load requrest to mcp and analyze response */ +/* send load request to mcp and analyze response */ static int bnx2x_nic_load_request (struct bnx2x_softc *sc,uint32_t * load_code) {PMD_INIT_FUNC_TRACE (sc);
@@ -5325,7 +5325,7 @@ static void bnx2x_func_init(struct bnx2x_softc *sc, struct bnx2x_func_init_param* sum of vn_min_rates. * or * 0 - if all the min_rates are 0. -* In the later case fainess algorithm should be deactivated. +* In the later case fairness algorithm should be deactivated. * If all min rates are not zero then those that are zeroes will be set to 1. */ static void bnx2x_calc_vn_min (struct bnx2x_softc *sc,struct cmng_init_input *input)
@@ -6564,7 +6564,7 @@ bnx2x_pf_tx_q_prep(struct bnx2x_softc *sc, struct bnx2x_fastpath *fp, txq_init->fw_sb_id = fp->fw_sb_id;/* -* set the TSS leading client id for TX classfication to the +* set the TSS leading client id for TX classification to the * leading RSS client id */ txq_init->tss_leading_cl_id =BNX2X_FP (sc,0 , cl_id);
@@ -7634,8 +7634,8 @@ static uint8_t bnx2x_is_pcie_pending(struct bnx2x_softc *sc) }/* -* Walk the PCI capabiites list for the device to find what features are -* supported. These capabilites may be enabled/disabled by firmware so it's +* Walk the PCI capabilities list for the device to find what features are +* supported. These capabilities may be enabled/disabled by firmware so it's * best to walk the list rather than make assumptions. */ static void bnx2x_probe_pci_caps (struct bnx2x_softc *sc)
@@ -8425,7 +8425,7 @@ static int bnx2x_get_device_info(struct bnx2x_softc *sc) }else { sc->devinfo.int_block =INT_BLOCK_IGU ; -/* do not allow device reset during IGU info preocessing */ +/* do not allow device reset during IGU info processing */ bnx2x_acquire_hw_lock (sc,HW_LOCK_RESOURCE_RESET ); val =REG_RD (sc,IGU_REG_BLOCK_CONFIGURATION );
@@ -9765,7 +9765,7 @@ int bnx2x_attach(struct bnx2x_softc *sc) sc->igu_base_addr =IS_VF (sc) ?PXP_VF_ADDR_IGU_START :BAR_IGU_INTMEM ; -/* get PCI capabilites */ +/* get PCI capabilities */ bnx2x_probe_pci_caps (sc);if (sc->devinfo.pcie_msix_cap_reg !=0 ) {
@@ -10284,7 +10284,7 @@ static int bnx2x_init_hw_common(struct bnx2x_softc *sc)* stay set) * f. If this is VNIC 3 of a port then also init * first_timers_ilt_entry to zero and last_timers_ilt_entry -* to the last enrty in the ILT. +* to the last entry in the ILT. * * Notes: * Currently the PF error in the PGLC is non recoverable.
@@ -11090,7 +11090,7 @@ static void bnx2x_hw_enable_status(struct bnx2x_softc *sc)/** * bnx2x_pf_flr_clnup * a. re-enable target read on the PF -* b. poll cfc per function usgae counter +* b. poll cfc per function usage counter * c. poll the qm perfunction usage counter * d. poll the tm per function usage counter * e. poll the tm per function scan-done indication
drivers/net/bnx2x/bnx2x.h +5 -5
@@ -681,13 +681,13 @@ struct bnx2x_slowpath { };/* struct bnx2x_slowpath */ /* -* Port specifc data structure. +* Port specific data structure. */ struct bnx2x_port {/* * Port Management Function (for 57711E only). * When this field is set the driver instance is -* responsible for managing port specifc +* responsible for managing port specific * configurations such as handling link attentions. */ uint32_t pmf;
@@ -732,7 +732,7 @@ struct bnx2x_port {/* * MCP scratchpad address for port specific statistics. -* The device is responsible for writing statistcss +* The device is responsible for writing statisticss * back to the MCP for use with management firmware such * as UMP/NC-SI. */
@@ -937,8 +937,8 @@ struct bnx2x_devinfo {* already registered for this port (which means that the user wants storage * services). * 2. During cnic-related load, to know if offload mode is already configured -* in the HW or needs to be configrued. Since the transition from nic-mode to -* offload-mode in HW causes traffic coruption, nic-mode is configured only +* in the HW or needs to be configured. Since the transition from nic-mode to +* offload-mode in HW causes traffic corruption, nic-mode is configured only * in ports on which storage services where never requested. */ #define CONFIGURE_NIC_MODE (sc) (!CHIP_IS_E1x(sc) && !CNIC_ENABLED(sc))
drivers/net/bnx2x/bnx2x_stats.c +1 -1
@@ -1358,7 +1358,7 @@ bnx2x_prep_fw_stats_req(struct bnx2x_softc *sc)/* * Prepare the first stats ramrod (will be completed with -* the counters equal to zero) - init counters to somethig different. +* the counters equal to zero) - init counters to something different. */ memset (&sc->fw_stats_data->storm_counters,0xff ,sizeof (struct stats_counter ));
drivers/net/bnx2x/bnx2x_stats.h +2 -2
@@ -314,7 +314,7 @@ struct bnx2x_eth_stats_old { };struct bnx2x_eth_q_stats_old { -/* Fields to perserve over fw reset*/ +/* Fields to preserve over fw reset*/ uint32_t total_unicast_bytes_received_hi;uint32_t total_unicast_bytes_received_lo;uint32_t total_broadcast_bytes_received_hi;
@@ -328,7 +328,7 @@ struct bnx2x_eth_q_stats_old {uint32_t total_multicast_bytes_transmitted_hi;uint32_t total_multicast_bytes_transmitted_lo; -/* Fields to perserve last of */ +/* Fields to preserve last of */ uint32_t total_bytes_received_hi;uint32_t total_bytes_received_lo;uint32_t total_bytes_transmitted_hi;
drivers/net/bnx2x/bnx2x_vfpf.c +1 -1
@@ -73,7 +73,7 @@ bnx2x_add_tlv(__rte_unused struct bnx2x_softc *sc, void *tlvs_list, tl->length = length; } -/* Initiliaze header of the first tlv and clear mailbox*/ +/* Initialize header of the first tlv and clear mailbox*/ static void bnx2x_vf_prep (struct bnx2x_softc *sc,struct vf_first_tlv *first_tlv,uint16_t type,uint16_t length)
drivers/net/bnx2x/bnx2x_vfpf.h +1 -1
@@ -241,7 +241,7 @@ struct vf_close_tlv {uint8_t pad[2 ]; }; -/* rlease the VF's acquired resources */ +/* release the VF's acquired resources */ struct vf_release_tlv {struct vf_first_tlv first_tlv;uint16_t vf_id;/* for debug */
drivers/net/bnx2x/ecore_fw_defs.h +1 -1
@@ -379,7 +379,7 @@/* temporarily used for RTT */ #define XSEMI_CLK1_RESUL_CHIP (1e-3) -/* used for Host Coallescing */ +/* used for Host Coalescing */ #define SDM_TIMER_TICK_RESUL_CHIP (4 * (1e-6))#define TSDM_TIMER_TICK_RESUL_CHIP (1 * (1e-6))
drivers/net/bnx2x/ecore_hsi.h +13 -13
@@ -1062,7 +1062,7 @@ struct port_feat_cfg { /* port 0: 0x454 port 1: 0x4c8 */#define PORT_FEATURE_MBA_LINK_SPEED_20G 0x20000000/* Secondary MBA configuration, -* see mba_config for the fileds defination. +* see mba_config for the fields definition. */ uint32_t mba_config2;
@@ -1075,7 +1075,7 @@ struct port_feat_cfg { /* port 0: 0x454 port 1: 0x4c8 */#define PORT_FEATURE_BOFM_CFGD_VEN 0x00080000/* Secondary MBA configuration, -* see mba_vlan_cfg for the fileds defination. +* see mba_vlan_cfg for the fields definition. */ uint32_t mba_vlan_cfg2;
@@ -1429,7 +1429,7 @@ struct extended_dev_info_shared_cfg { /* NVRAM OFFSET */#define EXTENDED_DEV_INFO_SHARED_CFG_DBG_GEN3_COMPLI_ENA 0x00080000/* Override Rx signal detect threshold when enabled the threshold -* will be set staticaly +* will be set statically */ #define EXTENDED_DEV_INFO_SHARED_CFG_OVERRIDE_RX_SIG_MASK 0x00100000#define EXTENDED_DEV_INFO_SHARED_CFG_OVERRIDE_RX_SIG_SHIFT 20
@@ -2189,9 +2189,9 @@ struct eee_remote_vals {* elements on a per byte or word boundary. * * example: an array with 8 entries each 4 bit wide. This array will fit into -* a single dword. The diagrmas below show the array order of the nibbles. +* a single dword. The diagrams below show the array order of the nibbles. * -* SHMEM_ARRAY_BITPOS(i, 4, 4) defines the stadard ordering: +* SHMEM_ARRAY_BITPOS(i, 4, 4) defines the standard ordering: * * | | | | * 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
@@ -2519,17 +2519,17 @@ struct shmem_lfa { };/* -* Used to suppoert NSCI get OS driver version +* Used to support NSCI get OS driver version * On driver load the version value will be set * On driver unload driver value of 0x0 will be set */ struct os_drv_ver {#define DRV_VER_NOT_LOADED 0 -/*personalites orrder is importent */ +/*personalities order is important */ #define DRV_PERS_ETHERNET 0#define DRV_PERS_ISCSI 1#define DRV_PERS_FCOE 2 -/*shmem2 struct is constatnt can't add more personalites here*/ +/*shmem2 struct is constant can't add more personalities here*/ #define MAX_DRV_PERS 3uint32_t versions[MAX_DRV_PERS ]; };
@@ -2821,7 +2821,7 @@ struct shmem2_region {/* Flag to the driver that PF's drv_info_host_addr buffer was read */ uint32_t mfw_drv_indication;/* Offset 0x19c */ -/* We use inidcation for each PF (0..3) */ +/* We use indication for each PF (0..3) */ #define MFW_DRV_IND_READ_DONE_OFFSET (_pf_) (1 << (_pf_))union {/* For various OEMs */ /* Offset 0x1a0 */
@@ -6195,7 +6195,7 @@ struct hc_sb_data {/* -* Segment types for host coaslescing +* Segment types for host coalescing */ enum hc_segment {HC_REGULAR_SEGMENT ,
@@ -6242,7 +6242,7 @@ struct hc_status_block_data_e2 {/* -* IGU block operartion modes (in Everest2) +* IGU block operation modes (in Everest2) */ enum igu_mode {HC_IGU_BC_MODE ,
@@ -6508,7 +6508,7 @@ struct stats_query_header {/* -* Types of statistcis query entry +* Types of statistics query entry */ enum stats_query_type {STATS_TYPE_QUEUE ,
@@ -6542,7 +6542,7 @@ enum storm_id {/* -* Taffic types used in ETS and flow control algorithms +* Traffic types used in ETS and flow control algorithms */ enum traffic_type {LLFC_TRAFFIC_TYPE_NW ,
drivers/net/bnx2x/ecore_init_ops.h +3 -3
@@ -534,7 +534,7 @@ static void ecore_init_pxp_arb(struct bnx2x_softc *sc, int r_order,REG_WR (sc,PXP2_REG_WR_CDU_MPS , val); } -/* Validate number of tags suppoted by device */ +/* Validate number of tags supported by device */ #define PCIE_REG_PCIER_TL_HDR_FC_ST 0x2980 val =REG_RD (sc,PCIE_REG_PCIER_TL_HDR_FC_ST ); val &=0xFF ;
@@ -714,7 +714,7 @@ static void ecore_ilt_client_init_op_ilt(struct bnx2x_softc *sc,for (i = ilt_cli->start; i <= ilt_cli->end; i++)ecore_ilt_line_init_op (sc, ilt, i, initop); -/* init/clear the ILT boundries */ +/* init/clear the ILT boundaries */ ecore_ilt_boundary_init_op (sc, ilt_cli, ilt->start_line, initop); }
@@ -765,7 +765,7 @@ static void ecore_ilt_init_client_psz(struct bnx2x_softc *sc, int cli_num,/* * called during init common stage, ilt clients should be initialized -* prioir to calling this function +* prior to calling this function */ static void ecore_ilt_init_page_size (struct bnx2x_softc *sc,uint8_t initop) {
drivers/net/bnx2x/ecore_reg.h +14 -14
@@ -19,7 +19,7 @@#define ATC_ATC_INT_STS_REG_ATC_RCPL_TO_EMPTY_CNT (0x1 << 3)#define ATC_ATC_INT_STS_REG_ATC_TCPL_ERROR (0x1 << 4)#define ATC_ATC_INT_STS_REG_ATC_TCPL_TO_NOT_PEND (0x1 << 1) -/* [R 1] ATC initalization done */ +/* [R 1] ATC initialization done */ #define ATC_REG_ATC_INIT_DONE 0x1100bc/* [RW 6] Interrupt mask register #0 read/write */ #define ATC_REG_ATC_INT_MASK 0x1101c8
@@ -56,7 +56,7 @@#define BRB1_REG_PAUSE_HIGH_THRESHOLD_0 0x60078/* [RW 10] Write client 0: Assert pause threshold. Not Functional */ #define BRB1_REG_PAUSE_LOW_THRESHOLD_0 0x60068 -/* [R 24] The number of full blocks occpied by port. */ +/* [R 24] The number of full blocks occupied by port. */ #define BRB1_REG_PORT_NUM_OCC_BLOCKS_0 0x60094/* [R 5] Used to read the value of the XX protection CAM occupancy counter. */ #define CCM_REG_CAM_OCCUP 0xd0188
@@ -456,7 +456,7 @@#define IGU_REG_PCI_PF_MSIX_FUNC_MASK 0x130148#define IGU_REG_PCI_PF_MSI_EN 0x130140/* [WB_R 32] Each bit represent the pending bits status for that SB. 0 = no -* pending; 1 = pending. Pendings means interrupt was asserted; and write +* pending; 1 = pending. Pending means interrupt was asserted; and write * done was not received. Data valid only in addresses 0-4. all the rest are * zero. */
@@ -1059,14 +1059,14 @@/* [R 28] this field hold the last information that caused reserved * attention. bits [19:0] - address; [22:20] function; [23] reserved; * [27:24] the master that caused the attention - according to the following -* encodeing:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = +* encoding:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = * dbu; 8 = dmae */ #define MISC_REG_GRC_RSV_ATTN 0xa3c0/* [R 28] this field hold the last information that caused timeout * attention. bits [19:0] - address; [22:20] function; [23] reserved; * [27:24] the master that caused the attention - according to the following -* encodeing:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = +* encoding:1 = pxp; 2 = mcp; 3 = usdm; 4 = tsdm; 5 = xsdm; 6 = csdm; 7 = * dbu; 8 = dmae */ #define MISC_REG_GRC_TIMEOUT_ATTN 0xa3c4
@@ -1567,7 +1567,7 @@* MAC DA 2. The reset default is set to mask out all parameters. */ #define NIG_REG_P0_LLH_PTP_PARAM_MASK 0x187a0 -/* [RW 14] Mask regiser for the rules used in detecting PTP packets. Set +/* [RW 14] Mask register for the rules used in detecting PTP packets. Set * each bit to 1 to mask out that particular rule. 0-{IPv4 DA 0; UDP DP 0} . * 1-{IPv4 DA 0; UDP DP 1} . 2-{IPv4 DA 1; UDP DP 0} . 3-{IPv4 DA 1; UDP DP * 1} . 4-{IPv6 DA 0; UDP DP 0} . 5-{IPv6 DA 0; UDP DP 1} . 6-{IPv6 DA 1;
@@ -1672,7 +1672,7 @@* MAC DA 2. The reset default is set to mask out all parameters. */ #define NIG_REG_P0_TLLH_PTP_PARAM_MASK 0x187f0 -/* [RW 14] Mask regiser for the rules used in detecting PTP packets. Set +/* [RW 14] Mask register for the rules used in detecting PTP packets. Set * each bit to 1 to mask out that particular rule. 0-{IPv4 DA 0; UDP DP 0} . * 1-{IPv4 DA 0; UDP DP 1} . 2-{IPv4 DA 1; UDP DP 0} . 3-{IPv4 DA 1; UDP DP * 1} . 4-{IPv6 DA 0; UDP DP 0} . 5-{IPv6 DA 0; UDP DP 1} . 6-{IPv6 DA 1;
@@ -1839,7 +1839,7 @@* MAC DA 2. The reset default is set to mask out all parameters. */ #define NIG_REG_P1_LLH_PTP_PARAM_MASK 0x187c8 -/* [RW 14] Mask regiser for the rules used in detecting PTP packets. Set +/* [RW 14] Mask register for the rules used in detecting PTP packets. Set * each bit to 1 to mask out that particular rule. 0-{IPv4 DA 0; UDP DP 0} . * 1-{IPv4 DA 0; UDP DP 1} . 2-{IPv4 DA 1; UDP DP 0} . 3-{IPv4 DA 1; UDP DP * 1} . 4-{IPv6 DA 0; UDP DP 0} . 5-{IPv6 DA 0; UDP DP 1} . 6-{IPv6 DA 1;
@@ -1926,7 +1926,7 @@* MAC DA 2. The reset default is set to mask out all parameters. */ #define NIG_REG_P1_TLLH_PTP_PARAM_MASK 0x187f8 -/* [RW 14] Mask regiser for the rules used in detecting PTP packets. Set +/* [RW 14] Mask register for the rules used in detecting PTP packets. Set * each bit to 1 to mask out that particular rule. 0-{IPv4 DA 0; UDP DP 0} . * 1-{IPv4 DA 0; UDP DP 1} . 2-{IPv4 DA 1; UDP DP 0} . 3-{IPv4 DA 1; UDP DP * 1} . 4-{IPv6 DA 0; UDP DP 0} . 5-{IPv6 DA 0; UDP DP 1} . 6-{IPv6 DA 1;
@@ -2306,7 +2306,7 @@#define PBF_REG_HDRS_AFTER_BASIC 0x15c0a8/* [RW 6] Bit-map indicating which L2 hdrs may appear after L2 tag 0 */ #define PBF_REG_HDRS_AFTER_TAG_0 0x15c0b8 -/* [R 1] Removed for E3 B0 - Indicates which COS is conncted to the highest +/* [R 1] Removed for E3 B0 - Indicates which COS is connected to the highest * priority in the command arbiter. */ #define PBF_REG_HIGH_PRIORITY_COS_NUM 0x15c04c
@@ -2366,7 +2366,7 @@*/ #define PBF_REG_NUM_STRICT_ARB_SLOTS 0x15c064/* [R 11] Removed for E3 B0 - Port 0 threshold used by arbiter in 16 byte -* lines used when pause not suppoterd. +* lines used when pause not supported. */ #define PBF_REG_P0_ARB_THRSH 0x1400e4/* [R 11] Removed for E3 B0 - Current credit for port 0 in the tx port
@@ -3503,7 +3503,7 @@* queues. */ #define QM_REG_OVFERROR 0x16805c -/* [RC 6] the Q were the qverflow occurs */ +/* [RC 6] the Q were the overflow occurs */ #define QM_REG_OVFQNUM 0x168058/* [R 16] Pause state for physical queues 15-0 */ #define QM_REG_PAUSESTATE0 0x168410
@@ -4890,7 +4890,7 @@if set, generate pcie_err_attn output when this error is seen. WC \ */ #define PXPCS_TL_FUNC345_STAT_ERR_MASTER_ABRT2 \ - (1 << 3)/* Receive UR Statusfor Function 2. If set, generate \ + (1 << 3)/* Receive UR Status for Function 2. If set, generate \ pcie_err_attn output when this error is seen. WC */ #define PXPCS_TL_FUNC345_STAT_ERR_CPL_TIMEOUT2 \ (1 << 2)/* Completer Timeout Status Status for Function 2, if \
@@ -4986,7 +4986,7 @@if set, generate pcie_err_attn output when this error is seen. WC \ */ #define PXPCS_TL_FUNC678_STAT_ERR_MASTER_ABRT5 \ - (1 << 3)/* Receive UR Statusfor Function 5. If set, generate \ + (1 << 3)/* Receive UR Status for Function 5. If set, generate \ pcie_err_attn output when this error is seen. WC */ #define PXPCS_TL_FUNC678_STAT_ERR_CPL_TIMEOUT5 \ (1 << 2)/* Completer Timeout Status Status for Function 5, if \
drivers/net/bnx2x/ecore_sp.c +3 -3
@@ -1338,7 +1338,7 @@ static int __ecore_vlan_mac_execute_step(struct bnx2x_softc *sc,if (rc !=ECORE_SUCCESS ) {__ecore_vlan_mac_h_pend (sc, o, *ramrod_flags); -/** Calling function should not diffrentiate between this case +/** Calling function should not differentiate between this case * and the case in which there is already a pending ramrod */ rc =ECORE_PENDING ;
@@ -2246,7 +2246,7 @@ struct ecore_pending_mcast_cmd {union {ecore_list_t macs_head;uint32_t macs_num;/* Needed for DEL command */ -int next_bin;/* Needed for RESTORE flow with aprox match */ +int next_bin;/* Needed for RESTORE flow with approx match */ } data;int done;/* set to TRUE, when the command has been handled,
@@ -3424,7 +3424,7 @@ void ecore_init_mac_credit_pool(struct bnx2x_softc *sc, }else {/* -* CAM credit is equaly divided between all active functions +* CAM credit is equally divided between all active functions * on the PATH. */ if (func_num >0 ) {
drivers/net/bnx2x/ecore_sp.h +3 -3
@@ -430,7 +430,7 @@ enum {RAMROD_RESTORE ,/* Execute the next command now */ RAMROD_EXEC, -/* Don't add a new command and continue execution of posponed +/* Don't add a new command and continue execution of postponed * commands. If not set a new command will be added to the * pending commands list. */
@@ -1173,7 +1173,7 @@ struct ecore_rss_config_obj {/* Last configured indirection table */ uint8_t ind_table[T_ETH_INDIRECTION_TABLE_SIZE ]; -/* flags for enabling 4-tupple hash on UDP */ +/* flags for enabling 4-tuple hash on UDP */ uint8_t udp_rss_v4;uint8_t udp_rss_v6;
@@ -1285,7 +1285,7 @@ enum ecore_q_type {#define ECORE_MULTI_TX_COS_E3B0 3#define ECORE_MULTI_TX_COS 3/* Maximum possible */ #define MAC_PAD (ECORE_ALIGN(ETH_ALEN, sizeof(uint32_t)) - ETH_ALEN) -/* DMAE channel to be used by FW for timesync workaroun. A driver that sends +/* DMAE channel to be used by FW for timesync workaround. A driver that sends * timesync-related ramrods must not use this DMAE command ID. */ #define FW_DMAE_CMD_ID 6
drivers/net/bnx2x/elink.c +10 -10
@@ -1460,7 +1460,7 @@ static void elink_ets_e3b0_pbf_disabled(const struct elink_params *params) }/****************************************************************************** * Description: -* E3B0 disable will return basicly the values to init values. +* E3B0 disable will return basically the values to init values. *. ******************************************************************************/ static elink_status_t elink_ets_e3b0_disabled(const struct elink_params *params,
@@ -1483,7 +1483,7 @@ static elink_status_t elink_ets_e3b0_disabled(const struct elink_params *params,/****************************************************************************** * Description: -* Disable will return basicly the values to init values. +* Disable will return basically the values to init values. * ******************************************************************************/ elink_status_t elink_ets_disabled(struct elink_params *params,
@@ -1506,7 +1506,7 @@ elink_status_t elink_ets_disabled(struct elink_params *params,/****************************************************************************** * Description -* Set the COS mappimg to SP and BW until this point all the COS are not +* Set the COS mapping to SP and BW until this point all the COS are not * set as SP or BW. ******************************************************************************/ static elink_status_t elink_ets_e3b0_cli_map(const struct elink_params *params,
@@ -1652,7 +1652,7 @@ static elink_status_t elink_ets_e3b0_get_total_bw( }ELINK_DEBUG_P0 (sc,"elink_ets_E3B0_config total BW should be 100" ); -/* We can handle a case whre the BW isn't 100 this can happen +/* We can handle a case where the BW isn't 100 this can happen * if the TC are joined. */ }
@@ -2608,7 +2608,7 @@ static elink_status_t elink_emac_enable(struct elink_params *params,REG_WR (sc,NIG_REG_EGRESS_EMAC0_PORT + port *4 ,1 );#ifdef ELINK_INCLUDE_EMUL -/* for paladium */ +/* for palladium */ if (CHIP_REV_IS_EMUL (sc)) {/* Use lane 1 (of lanes 0-3) */ REG_WR (sc,NIG_REG_XGXS_LANE_SEL_P0 + port *4 ,1 );
@@ -2850,7 +2850,7 @@ static void elink_update_pfc_bmac2(struct elink_params *params,/* Set Time (based unit is 512 bit time) between automatic * re-sending of PP packets amd enable automatic re-send of -* Per-Priroity Packet as long as pp_gen is asserted and +* Per-Priority Packet as long as pp_gen is asserted and * pp_disable is low. */ val =0x8000 ;
@@ -3369,7 +3369,7 @@ static elink_status_t elink_pbf_update(struct elink_params *params, }/** -* elink_get_emac_base - retrive emac base address +* elink_get_emac_base - retrieve emac base address * * @bp: driver handle * @mdc_mdio_access: access type
@@ -4518,7 +4518,7 @@ static void elink_warpcore_enable_AN_KR2(struct elink_phy *phy,elink_cl45_write (sc, phy, reg_set[i].devad, reg_set[i].reg, reg_set[i].val); -/* Start KR2 work-around timer which handles BNX2X8073 link-parner */ +/* Start KR2 work-around timer which handles BNX2X8073 link-partner */ params->link_attr_sync |=LINK_ATTR_SYNC_KR2_ENABLE ;elink_update_link_attr (params, params->link_attr_sync); }
@@ -7824,7 +7824,7 @@ elink_status_t elink_link_update(struct elink_params *params,* hence its link is expected to be down * - SECOND_PHY means that first phy should not be able * to link up by itself (using configuration) -* - DEFAULT should be overridden during initialiazation +* - DEFAULT should be overridden during initialization */ ELINK_DEBUG_P1(sc, "Invalid link indication" " mpc=0x%x. DISABLING LINK !!!",
@@ -10991,7 +10991,7 @@ static elink_status_t elink_84858_cmd_hdlr(struct elink_phy *phy,ELINK_DEBUG_P0 (sc,"FW cmd failed." );return ELINK_STATUS_ERROR ; } -/* Step5: Once the command has completed, read the specficied DATA +/* Step5: Once the command has completed, read the specified DATA * registers for any saved results for the command, if applicable */
drivers/net/bnxt/bnxt_hwrm.c +1 -1
@@ -3727,7 +3727,7 @@ int bnxt_hwrm_allocate_pf_only(struct bnxt *bp)int rc;if (!BNXT_PF (bp)) { -PMD_DRV_LOG (ERR ,"Attempt to allcoate VFs on a VF!\n" ); +PMD_DRV_LOG (ERR ,"Attempt to allocate VFs on a VF!\n" );return -EINVAL ; }
drivers/net/bnxt/tf_core/tfp.c +1 -1
@@ -52,7 +52,7 @@ tfp_send_msg_direct(struct bnxt *bp, }/** -* Allocates zero'ed memory from the heap. +* Allocates zeroed memory from the heap. * * Returns success or failure code. */
drivers/net/bnxt/tf_core/tfp.h +1 -1
@@ -150,7 +150,7 @@ tfp_msg_hwrm_oem_cmd(struct tf *tfp, uint32_t max_flows);/** -* Allocates zero'ed memory from the heap. +* Allocates zeroed memory from the heap. * * NOTE: Also performs virt2phy address conversion by default thus is * can be expensive to invoke.
drivers/net/bonding/eth_bond_8023ad_private.h +1 -1
@@ -20,7 +20,7 @@/** Maximum number of LACP packets from one slave queued in TX ring. */ #define BOND_MODE_8023AX_SLAVE_TX_PKTS 1/** -* Timeouts deffinitions (5.4.4 in 802.1AX documentation). +* Timeouts definitions (5.4.4 in 802.1AX documentation). */ #define BOND_8023AD_FAST_PERIODIC_MS 900#define BOND_8023AD_SLOW_PERIODIC_MS 29000
drivers/net/bonding/eth_bond_private.h +1 -1
@@ -139,7 +139,7 @@ struct bond_dev_private {uint16_t slave_count;/**< Number of bonded slaves */ struct bond_slave_details slaves[RTE_MAX_ETHPORTS ]; -/**< Arary of bonded slaves details */ +/**< Array of bonded slaves details */ struct mode8023ad_private mode4;uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS ];
drivers/net/bonding/rte_eth_bond_8023ad.c +10 -10
@@ -243,7 +243,7 @@ record_default(struct port *port) {/* Record default parameters for partner. Partner admin parameters * are not implemented so set them to arbitrary default (last known) and -* mark actor that parner is in defaulted state. */ +* mark actor that partner is in defaulted state. */ port->partner_state =STATE_LACP_ACTIVE ;ACTOR_STATE_SET (port,DEFAULTED ); }
@@ -300,7 +300,7 @@ rx_machine(struct bond_dev_private *internals, uint16_t slave_id,MODE4_DEBUG ("LACP -> CURRENT\n" );BOND_PRINT_LACP (lacp);/* Update selected flag. If partner parameters are defaulted assume they -* are match. If not defaulted compare LACP actor with ports parner +* are match. If not defaulted compare LACP actor with ports partner * params. */ if (!ACTOR_STATE(port, DEFAULTED) && (ACTOR_STATE(port, AGGREGATION) != PARTNER_STATE(port, AGGREGATION)
@@ -399,16 +399,16 @@ periodic_machine(struct bond_dev_private *internals, uint16_t slave_id)PARTNER_STATE (port,LACP_ACTIVE );uint8_t is_partner_fast, was_partner_fast; -/* No periodic is on BEGIN, LACP DISABLE or when both sides are pasive */ +/* No periodic is on BEGIN, LACP DISABLE or when both sides are passive */ if (SM_FLAG (port,BEGIN ) || !SM_FLAG (port,LACP_ENABLED ) || !active) {timer_cancel (&port->periodic_timer);timer_force_expired (&port->tx_machine_timer);SM_FLAG_CLR (port,PARTNER_SHORT_TIMEOUT );MODE4_DEBUG ("-> NO_PERIODIC ( %s%s%s)\n" , -SM_FLAG (port,BEGIN ) ?"begind " :"" , +SM_FLAG (port,BEGIN ) ?"begin " :"" ,SM_FLAG (port,LACP_ENABLED ) ?"" :"LACP disabled " , - active ?"LACP active " :"LACP pasive " ); + active ?"LACP active " :"LACP passive " );return ; }
@@ -495,10 +495,10 @@ mux_machine(struct bond_dev_private *internals, uint16_t slave_id)if ((ACTOR_STATE (port,DISTRIBUTING ) ||ACTOR_STATE (port,COLLECTING )) && !PARTNER_STATE (port,SYNCHRONIZATION )) {/* If in COLLECTING or DISTRIBUTING state and partner becomes out of -* sync transit to ATACHED state. */ +* sync transit to ATTACHED state. */ ACTOR_STATE_CLR (port,DISTRIBUTING );ACTOR_STATE_CLR (port,COLLECTING ); -/* Clear actor sync to activate transit ATACHED in condition bellow */ +/* Clear actor sync to activate transit ATTACHED in condition bellow */ ACTOR_STATE_CLR (port,SYNCHRONIZATION );MODE4_DEBUG ("Out of sync -> ATTACHED\n" ); }
@@ -696,7 +696,7 @@ selection_logic(struct bond_dev_private *internals, uint16_t slave_id)/* Search for aggregator suitable for this port */ for (i =0 ; i < slaves_count; ++i) { agg = &bond_mode_8023ad_ports[slaves[i]]; -/* Skip ports that are not aggreagators */ +/* Skip ports that are not aggregators */ if (agg->aggregator_port_id != slaves[i])continue ;
@@ -921,7 +921,7 @@ bond_mode_8023ad_periodic_cb(void *arg)SM_FLAG_SET (port,BEGIN ); -/* LACP is disabled on half duples or link is down */ +/* LACP is disabled on half duplex or link is down */ if (SM_FLAG (port,LACP_ENABLED )) {/* If port was enabled set it to BEGIN state */ SM_FLAG_CLR (port,LACP_ENABLED );
@@ -1069,7 +1069,7 @@ bond_mode_8023ad_activate_slave(struct rte_eth_dev *bond_dev, port->partner_state =STATE_LACP_ACTIVE |STATE_AGGREGATION ; port->sm_flags =SM_FLAGS_BEGIN ; -/* use this port as agregator */ +/* use this port as aggregator */ port->aggregator_port_id = slave_id;if (bond_mode_8023ad_register_lacp_mac (slave_id) <0 ) {
drivers/net/bonding/rte_eth_bond_8023ad.h +2 -2
@@ -68,7 +68,7 @@ struct port_params {struct rte_ether_addr system;/**< System ID - Slave MAC address, same as bonding MAC address */ uint16_t key; -/**< Speed information (implementation dependednt) and duplex. */ +/**< Speed information (implementation dependent) and duplex. */ uint16_t port_priority;/**< Priority of this (unused in current implementation) */ uint16_t port_number;
@@ -317,7 +317,7 @@ rte_eth_bond_8023ad_dedicated_queues_disable(uint16_t port_id);* @param port_id Bonding device id * * @return -* agregator mode on success, negative value otherwise +* aggregator mode on success, negative value otherwise */ int rte_eth_bond_8023ad_agg_selection_get (uint16_t port_id);
drivers/net/bonding/rte_eth_bond_alb.h +1 -1
@@ -96,7 +96,7 @@ bond_mode_alb_arp_xmit(struct rte_ether_hdr *eth_h, uint16_t offset,* @param internals Bonding data. * * @return -* Index of slawe on which packet should be sent. +* Index of slave on which packet should be sent. */ uint16_t bond_mode_alb_arp_upd(struct client_data *client_info,
drivers/net/bonding/rte_eth_bond_api.c +2 -2
@@ -375,7 +375,7 @@ eth_bond_slave_inherit_dev_info_rx_next(struct bond_dev_private *internals,* value. Thus, the new internal value of default Rx queue offloads * has to be masked by rx_queue_offload_capa to make sure that only * commonly supported offloads are preserved from both the previous -* value and the value being inhereted from the new slave device. +* value and the value being inherited from the new slave device. */ rxconf_i->offloads = (rxconf_i->offloads | rxconf->offloads) & internals->rx_queue_offload_capa;
@@ -413,7 +413,7 @@ eth_bond_slave_inherit_dev_info_tx_next(struct bond_dev_private *internals,* value. Thus, the new internal value of default Tx queue offloads * has to be masked by tx_queue_offload_capa to make sure that only * commonly supported offloads are preserved from both the previous -* value and the value being inhereted from the new slave device. +* value and the value being inherited from the new slave device. */ txconf_i->offloads = (txconf_i->offloads | txconf->offloads) & internals->tx_queue_offload_capa;
drivers/net/cnxk/cn10k_ethdev.h +1 -1
@@ -53,7 +53,7 @@ struct cn10k_outb_priv_data {void *userdata;/* Rlen computation data */ struct cnxk_ipsec_outb_rlens rlens; -/* Back pinter to eth sec session */ +/* Back pointer to eth sec session */ struct cnxk_eth_sec_sess *eth_sec;/* SA index */ uint32_t sa_idx;
drivers/net/cnxk/cn10k_tx.h +3 -3
@@ -736,7 +736,7 @@ cn10k_nix_xmit_prepare_tstamp(uintptr_t lmt_addr, const uint64_t *cmd,/* Retrieving the default desc values */ lmt[off] = cmd[2 ]; -/* Using compiler barier to avoid voilation of C +/* Using compiler barrier to avoid violation of C * aliasing rules. */ rte_compiler_barrier ();
@@ -745,7 +745,7 @@ cn10k_nix_xmit_prepare_tstamp(uintptr_t lmt_addr, const uint64_t *cmd,/* Packets for which RTE_MBUF_F_TX_IEEE1588_TMST is not set, tx tstamp * should not be recorded, hence changing the alg type to * NIX_SENDMEMALG_SET and also changing send mem addr field to -* next 8 bytes as it corrpt the actual tx tstamp registered +* next 8 bytes as it corrupts the actual tx tstamp registered * address. */ send_mem->w0.subdc =NIX_SUBDC_MEM ;
@@ -2254,7 +2254,7 @@ cn10k_nix_xmit_pkts_vector(void *tx_queue, struct rte_mbuf **tx_pkts, }if (flags &NIX_TX_OFFLOAD_TSTAMP_F ) { -/* Tx ol_flag for timestam. */ +/* Tx ol_flag for timestamp. */ const uint64x2_t olf = {RTE_MBUF_F_TX_IEEE1588_TMST ,RTE_MBUF_F_TX_IEEE1588_TMST };/* Set send mem alg to SUB. */
drivers/net/cnxk/cn9k_tx.h +3 -3
@@ -304,7 +304,7 @@ cn9k_nix_xmit_prepare_tstamp(uint64_t *cmd, const uint64_t *send_mem_desc,/* Retrieving the default desc values */ cmd[off] = send_mem_desc[6 ]; -/* Using compiler barier to avoid voilation of C +/* Using compiler barrier to avoid violation of C * aliasing rules. */ rte_compiler_barrier ();
@@ -313,7 +313,7 @@ cn9k_nix_xmit_prepare_tstamp(uint64_t *cmd, const uint64_t *send_mem_desc,/* Packets for which RTE_MBUF_F_TX_IEEE1588_TMST is not set, tx tstamp * should not be recorded, hence changing the alg type to * NIX_SENDMEMALG_SET and also changing send mem addr field to -* next 8 bytes as it corrpt the actual tx tstamp registered +* next 8 bytes as it corrupts the actual tx tstamp registered * address. */ send_mem->w0.cn9k.alg =
@@ -1531,7 +1531,7 @@ cn9k_nix_xmit_pkts_vector(void *tx_queue, struct rte_mbuf **tx_pkts, }if (flags &NIX_TX_OFFLOAD_TSTAMP_F ) { -/* Tx ol_flag for timestam. */ +/* Tx ol_flag for timestamp. */ const uint64x2_t olf = {RTE_MBUF_F_TX_IEEE1588_TMST ,RTE_MBUF_F_TX_IEEE1588_TMST };/* Set send mem alg to SUB. */
drivers/net/cnxk/cnxk_ptp.c +1 -1
@@ -12,7 +12,7 @@ cnxk_nix_read_clock(struct rte_eth_dev *eth_dev, uint64_t *clock)/* This API returns the raw PTP HI clock value. Since LFs do not * have direct access to PTP registers and it requires mbox msg * to AF for this value. In fastpath reading this value for every -* packet (which involes mbox call) becomes very expensive, hence +* packet (which involves mbox call) becomes very expensive, hence * we should be able to derive PTP HI clock value from tsc by * using freq_mult and clk_delta calculated during configure stage. */
drivers/net/cxgbe/cxgbe_flow.c +1 -1
@@ -1378,7 +1378,7 @@ cxgbe_flow_validate(struct rte_eth_dev *dev, }/* -* @ret : > 0 filter destroyed succsesfully +* @ret : > 0 filter destroyed successfully * < 0 error destroying filter * == 1 filter not active / not found */
drivers/net/cxgbe/cxgbevf_main.c +1 -1
@@ -44,7 +44,7 @@ static void size_nports_qsets(struct adapter *adapter)*/ pmask_nports =hweight32 (adapter->params.vfres.pmask);if (pmask_nports < adapter->params.nports) { -dev_warn (adapter->pdev_dev,"only using %d of %d provissioned" +dev_warn (adapter->pdev_dev,"only using %d of %d provisioned" " virtual interfaces; limited by Port Access Rights" " mask %#x\n" , pmask_nports, adapter->params.nports, adapter->params.vfres.pmask);
drivers/net/cxgbe/sge.c +4 -4
@@ -211,7 +211,7 @@ static inline unsigned int fl_cap(const struct sge_fl *fl)* @fl: the Free List * * Tests specified Free List to see whether the number of buffers -* available to the hardware has falled below our "starvation" +* available to the hardware has fallen below our "starvation" * threshold. */ static inline bool fl_starving(const struct adapter *adapter,
@@ -678,7 +678,7 @@ static void write_sgl(struct rte_mbuf *mbuf, struct sge_txq *q,* @q: the Tx queue * @n: number of new descriptors to give to HW * -* Ring the doorbel for a Tx queue. +* Ring the doorbell for a Tx queue. */ static inline void ring_tx_db (struct adapter *adap,struct sge_txq *q) {
@@ -877,7 +877,7 @@ static inline void ship_tx_pkt_coalesce_wr(struct adapter *adap, }/** -* should_tx_packet_coalesce - decides wether to coalesce an mbuf or not +* should_tx_packet_coalesce - decides whether to coalesce an mbuf or not * @txq: tx queue where the mbuf is sent * @mbuf: mbuf to be sent * @nflits: return value for number of flits needed
@@ -1846,7 +1846,7 @@ int t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq,* for its status page) along with the associated software * descriptor ring. The free list size needs to be a multiple * of the Egress Queue Unit and at least 2 Egress Units larger -* than the SGE's Egress Congrestion Threshold +* than the SGE's Egress Congestion Threshold * (fl_starve_thres - 1). */ if (fl->size < s->fl_starve_thres -1 +2 *8 )
drivers/net/dpaa/dpaa_ethdev.c +3 -3
@@ -1030,7 +1030,7 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,QM_FQCTRL_CTXASTASHING |QM_FQCTRL_PREFERINCACHE ; opts.fqd.context_a.stashing.exclusive =0 ; -/* In muticore scenario stashing becomes a bottleneck on LS1046. +/* In multicore scenario stashing becomes a bottleneck on LS1046. * So do not enable stashing in this case */ if (dpaa_svr_family !=SVR_LS1046A_FAMILY )
@@ -1866,7 +1866,7 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev) dpaa_intf->name = dpaa_device->name; -/* save fman_if & cfg in the interface struture */ +/* save fman_if & cfg in the interface structure */ eth_dev->process_private = fman_intf; dpaa_intf->ifid = dev_id; dpaa_intf->cfg = cfg;
@@ -2169,7 +2169,7 @@ rte_dpaa_probe(struct rte_dpaa_driver *dpaa_drv,if (dpaa_svr_family ==SVR_LS1043A_FAMILY ) dpaa_push_mode_max_queue =0 ; -/* if push mode queues to be enabled. Currenly we are allowing +/* if push mode queues to be enabled. Currently we are allowing * only one queue per thread. */ if (getenv ("DPAA_PUSH_QUEUES_NUMBER" )) {
drivers/net/dpaa/dpaa_rxtx.c +2 -2
@@ -600,8 +600,8 @@ void dpaa_rx_cb_prepare(struct qm_dqrr_entry *dq, void **bufs)void *ptr =rte_dpaa_mem_ptov (qm_fd_addr (&dq->fd));/* In case of LS1046, annotation stashing is disabled due to L2 cache -* being bottleneck in case of multicore scanario for this platform. -* So we prefetch the annoation beforehand, so that it is available +* being bottleneck in case of multicore scenario for this platform. +* So we prefetch the annotation beforehand, so that it is available * in cache when accessed. */ rte_prefetch0 ((void *)((uint8_t *)ptr +DEFAULT_RX_ICEOF ));
drivers/net/dpaa/fmlib/fm_ext.h +1 -1
@@ -176,7 +176,7 @@ typedef struct t_fm_prs_result {#define FM_FD_ERR_PRS_HDR_ERR 0x00000020/**< Header error was identified during parsing */ #define FM_FD_ERR_BLOCK_LIMIT_EXCEEDED 0x00000008 -/**< Frame parsed beyind 256 first bytes */ +/**< Frame parsed beyond 256 first bytes */ #define FM_FD_TX_STATUS_ERR_MASK (FM_FD_ERR_UNSUPPORTED_FORMAT | \ FM_FD_ERR_LENGTH | \
drivers/net/dpaa/fmlib/fm_pcd_ext.h +4 -4
@@ -276,7 +276,7 @@ typedef struct ioc_fm_pcd_counters_params_t { } ioc_fm_pcd_counters_params_t;/* -* @Description structure for FM exception definitios +* @Description structure for FM exception definitions */ typedef struct ioc_fm_pcd_exception_params_t { ioc_fm_pcd_exceptions exception; /**< The requested exception */
@@ -883,7 +883,7 @@ typedef enum ioc_fm_pcd_manip_hdr_rmv_specific_l2 { e_IOC_FM_PCD_MANIP_HDR_RMV_ETHERNET,/**< Ethernet/802.3 MAC */ e_IOC_FM_PCD_MANIP_HDR_RMV_STACKED_QTAGS,/**< stacked QTags */ e_IOC_FM_PCD_MANIP_HDR_RMV_ETHERNET_AND_MPLS, -/**< MPLS and Ethernet/802.3 MAC header unitl the header +/**< MPLS and Ethernet/802.3 MAC header until the header * which follows the MPLS header */ e_IOC_FM_PCD_MANIP_HDR_RMV_MPLS
@@ -3293,7 +3293,7 @@ typedef struct ioc_fm_pcd_cc_tbl_get_stats_t {/* * @Function fm_pcd_net_env_characteristics_delete * -* @Description Deletes a set of Network Environment Charecteristics. +* @Description Deletes a set of Network Environment Characteristics. * * @Param[in] ioc_fm_obj_t The id of a Network Environment object. *
@@ -3493,7 +3493,7 @@ typedef struct ioc_fm_pcd_cc_tbl_get_stats_t {* @Return 0 on success; Error code otherwise. * * @Cautions Allowed only following fm_pcd_match_table_set() not only of -* the relevnt node but also the node that points to this node. +* the relevant node but also the node that points to this node. */ #define FM_PCD_IOC_MATCH_TABLE_MODIFY_KEY_AND_NEXT_ENGINE \ _IOW(FM_IOC_TYPE_BASE, FM_PCD_IOC_NUM(35), \
drivers/net/dpaa/fmlib/fm_port_ext.h +7 -7
@@ -498,7 +498,7 @@ typedef struct ioc_fm_port_pcd_prs_params_t {/**< Number of bytes from beginning of packet to start parsing */ ioc_net_header_type first_prs_hdr; -/**< The type of the first header axpected at 'parsing_offset' +/**< The type of the first header expected at 'parsing_offset' */ bool include_in_prs_statistics;/**< TRUE to include this port in the parser statistics */
@@ -524,7 +524,7 @@ typedef struct ioc_fm_port_pcd_prs_params_t { } ioc_fm_port_pcd_prs_params_t;/* -* @Description A structure for defining coarse alassification parameters +* @Description A structure for defining coarse classification parameters * (Must match t_fm_portPcdCcParams defined in fm_port_ext.h) */ typedef struct ioc_fm_port_pcd_cc_params_t {
@@ -602,7 +602,7 @@ typedef struct ioc_fm_pcd_prs_start_t {/**< Number of bytes from beginning of packet to start parsing */ ioc_net_header_type first_prs_hdr; -/**< The type of the first header axpected at 'parsing_offset' +/**< The type of the first header expected at 'parsing_offset' */ } ioc_fm_pcd_prs_start_t;
@@ -1356,7 +1356,7 @@ typedef uint32_t fm_port_frame_err_select_t;#define FM_PORT_FRM_ERR_PRS_HDR_ERR FM_FD_ERR_PRS_HDR_ERR/**< Header error was identified during parsing */ #define FM_PORT_FRM_ERR_BLOCK_LIMIT_EXCEEDED FM_FD_ERR_BLOCK_LIMIT_EXCEEDED -/**< Frame parsed beyind 256 first bytes */ +/**< Frame parsed beyond 256 first bytes */ #define FM_PORT_FRM_ERR_PROCESS_TIMEOUT 0x00000001/**< FPM Frame Processing Timeout Exceeded */ /* @} */
@@ -1390,7 +1390,7 @@ typedef void (t_fm_port_exception_callback) (t_handle h_app,* @Param[in] length length of received data * @Param[in] status receive status and errors * @Param[in] position position of buffer in frame -* @Param[in] h_buf_context A handle of the user acossiated with this buffer +* @Param[in] h_buf_context A handle of the user associated with this buffer * * @Retval e_RX_STORE_RESPONSE_CONTINUE * order the driver to continue Rx operation for all ready data.
@@ -1414,7 +1414,7 @@ typedef e_rx_store_response(t_fm_port_im_rx_store_callback) (t_handle h_app,* @Param[in] p_data A pointer to data received * @Param[in] status transmit status and errors * @Param[in] last_buffer is last buffer in frame -* @Param[in] h_buf_context A handle of the user acossiated with this buffer +* @Param[in] h_buf_context A handle of the user associated with this buffer */ typedef void (t_fm_port_im_tx_conf_callback) (t_handle h_app, uint8_t *p_data,
@@ -2585,7 +2585,7 @@ typedef struct t_fm_port_congestion_grps {bool pfc_prio_enable[FM_NUM_CONG_GRPS ][FM_MAX_PFC_PRIO ];/**< a matrix that represents the map between the CG ids * defined in 'congestion_grps_to_consider' to the -* priorties mapping array. +* priorities mapping array. */ } t_fm_port_congestion_grps;
drivers/net/dpaa2/dpaa2_ethdev.c +7 -7
@@ -143,7 +143,7 @@ dpaa2_vlan_offload_set(struct rte_eth_dev *dev, int mask)PMD_INIT_FUNC_TRACE ();if (mask &RTE_ETH_VLAN_FILTER_MASK ) { -/* VLAN Filter not avaialble */ +/* VLAN Filter not available */ if (!priv->max_vlan_filters) {DPAA2_PMD_INFO ("VLAN filter not available" );return -ENOTSUP ;
@@ -916,7 +916,7 @@ dpaa2_dev_tx_queue_setup(struct rte_eth_dev *dev, cong_notif_cfg.units =DPNI_CONGESTION_UNIT_FRAMES ; cong_notif_cfg.threshold_entry = nb_tx_desc;/* Notify that the queue is not congested when the data in -* the queue is below this thershold.(90% of value) +* the queue is below this threshold.(90% of value) */ cong_notif_cfg.threshold_exit = (nb_tx_desc *9 ) /10 ; cong_notif_cfg.message_ctx =0 ;
@@ -1058,7 +1058,7 @@ dpaa2_supported_ptypes_get(struct rte_eth_dev *dev)* Dpaa2 link Interrupt handler * * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
@@ -2236,7 +2236,7 @@ int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev, ocfg.oa =1 ;/* Late arrival window size disabled */ ocfg.olws =0 ; -/* ORL resource exhaustaion advance NESN disabled */ +/* ORL resource exhaustion advance NESN disabled */ ocfg.oeane =0 ;/* Loose ordering enabled */ ocfg.oloe =1 ;
@@ -2720,13 +2720,13 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) } eth_dev->tx_pkt_burst = dpaa2_dev_tx; -/*Init fields w.r.t. classficaition*/ +/*Init fields w.r.t. classification*/ memset (&priv->extract.qos_key_extract,0 ,sizeof (struct dpaa2_key_extract )); priv->extract.qos_extract_param = (size_t )rte_malloc (NULL ,256 ,64 );if (!priv->extract.qos_extract_param) {DPAA2_PMD_ERR (" Error(%d) in allocation resources for flow " -" classificaiton " , ret); +" classification " , ret); goto init_err; } priv->extract.qos_key_extract.key_info.ipv4_src_offset =
@@ -2744,7 +2744,7 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev) priv->extract.tc_extract_param[i] = (size_t )rte_malloc (NULL ,256 ,64 );if (!priv->extract.tc_extract_param[i]) { -DPAA2_PMD_ERR (" Error(%d) in allocation resources for flow classificaiton" , +DPAA2_PMD_ERR (" Error(%d) in allocation resources for flow classification" , ret); goto init_err; }
drivers/net/dpaa2/dpaa2_ethdev.h +1 -1
@@ -117,7 +117,7 @@ extern int dpaa2_timestamp_dynfield_offset;#define DPAA2_FLOW_MAX_KEY_SIZE 16 -/*Externaly defined*/ +/*Externally defined*/ extern const struct rte_flow_ops dpaa2_flow_ops;extern const struct rte_tm_ops dpaa2_tm_ops;
drivers/net/dpaa2/dpaa2_flow.c +4 -4
@@ -1451,7 +1451,7 @@ dpaa2_configure_flow_generic_ip( flow, pattern, &local_cfg, device_configured, group);if (ret) { -DPAA2_PMD_ERR ("IP discrimation failed!" ); +DPAA2_PMD_ERR ("IP discrimination failed!" );return -1 ; }
@@ -3349,7 +3349,7 @@ dpaa2_flow_verify_action( (actions[j].conf);if (rss_conf->queue_num > priv->dist_queues) {DPAA2_PMD_ERR ( -"RSS number exceeds the distrbution size" ); +"RSS number exceeds the distribution size" );return -ENOTSUP ; }for (i =0 ; i < (int )rss_conf->queue_num; i++) {
@@ -3596,7 +3596,7 @@ dpaa2_generic_flow_set(struct rte_flow *flow, qos_cfg.keep_entries = true; qos_cfg.key_cfg_iova = (size_t )priv->extract.qos_extract_param; -/* QoS table is effecitive for multiple TCs.*/ +/* QoS table is effective for multiple TCs.*/ if (priv->num_rx_tc >1 ) { ret =dpni_set_qos_table (dpni,CMD_PRI_LOW , priv->token, &qos_cfg);
@@ -3655,7 +3655,7 @@ dpaa2_generic_flow_set(struct rte_flow *flow, 0, 0);if (ret <0 ) {DPAA2_PMD_ERR ( -"Error in addnig entry to QoS table(%d)" , ret); +"Error in adding entry to QoS table(%d)" , ret);return ret; } }
drivers/net/dpaa2/dpaa2_mux.c +1 -1
@@ -95,7 +95,7 @@ rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, mask_iova = (void *)((size_t )key_iova +DIST_PARAM_IOVA_SIZE );/* Currently taking only IP protocol as an extract type. -* This can be exended to other fields using pattern->type. +* This can be extended to other fields using pattern->type. */ memset (&kg_cfg,0 ,sizeof (struct dpkg_profile_cfg ));
drivers/net/dpaa2/dpaa2_rxtx.c +3 -3
@@ -714,7 +714,7 @@ dpaa2_dev_prefetch_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)rte_prefetch0 ((void *)(size_t )(dq_storage +1 ));/* Prepare next pull descriptor. This will give space for the -* prefething done on DQRR entries +* prefetching done on DQRR entries */ q_storage->toggle ^=1 ; dq_storage1 = q_storage->dq_storage[q_storage->toggle];
@@ -1510,7 +1510,7 @@ dpaa2_dev_tx_ordered(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)if (*dpaa2_seqn (*bufs)) {/* Use only queue 0 for Tx in case of atomic/ * ordered packets as packets can get unordered -* when being tranmitted out from the interface +* when being transmitted out from the interface */ dpaa2_set_enqueue_descriptor(order_sendq, (*bufs),
@@ -1738,7 +1738,7 @@ dpaa2_dev_loopback_rx(void *queue,rte_prefetch0 ((void *)(size_t )(dq_storage +1 ));/* Prepare next pull descriptor. This will give space for the -* prefething done on DQRR entries +* prefetching done on DQRR entries */ q_storage->toggle ^=1 ; dq_storage1 = q_storage->dq_storage[q_storage->toggle];
drivers/net/dpaa2/mc/fsl_dpni.h +5 -5
@@ -93,7 +93,7 @@ struct fsl_mc_io;*/ #define DPNI_OPT_OPR_PER_TC 0x000080/** -* All Tx traffic classes will use a single sender (ignore num_queueus for tx) +* All Tx traffic classes will use a single sender (ignore num_queues for tx) */ #define DPNI_OPT_SINGLE_SENDER 0x000100/**
@@ -617,7 +617,7 @@ int dpni_get_tx_data_offset(struct fsl_mc_io *mc_io,* @page_3.ceetm_reject_bytes: Cumulative count of the number of bytes in all * frames whose enqueue was rejected * @page_3.ceetm_reject_frames: Cumulative count of all frame enqueues rejected -* @page_4: congestion point drops for seleted TC +* @page_4: congestion point drops for selected TC * @page_4.cgr_reject_frames: number of rejected frames due to congestion point * @page_4.cgr_reject_bytes: number of rejected bytes due to congestion point * @page_5: policer statistics per TC
@@ -1417,7 +1417,7 @@ int dpni_get_tx_confirmation_mode(struct fsl_mc_io *mc_io,* dpkg_prepare_key_cfg() * @discard_on_miss: Set to '1' to discard frames in case of no match (miss); * '0' to use the 'default_tc' in such cases -* @keep_entries: if set to one will not delele existing table entries. This +* @keep_entries: if set to one will not delete existing table entries. This * option will work properly only for dpni objects created with * DPNI_OPT_HAS_KEY_MASKING option. All previous QoS entries must * be compatible with new key composition rule.
@@ -1516,7 +1516,7 @@ int dpni_clear_qos_table(struct fsl_mc_io *mc_io,* @flow_id: Identifies the Rx queue used for matching traffic. Supported * values are in range 0 to num_queue-1. * @redirect_obj_token: token that identifies the object where frame is -* redirected when this rule is hit. This paraneter is used only when one of the +* redirected when this rule is hit. This parameter is used only when one of the * flags DPNI_FS_OPT_REDIRECT_TO_DPNI_RX or DPNI_FS_OPT_REDIRECT_TO_DPNI_TX is * set. * The token is obtained using dpni_open() API call. The object must stay
@@ -1797,7 +1797,7 @@ int dpni_load_sw_sequence(struct fsl_mc_io *mc_io, struct dpni_load_ss_cfg *cfg);/** -* dpni_eanble_sw_sequence() - Enables a software sequence in the parser +* dpni_enable_sw_sequence() - Enables a software sequence in the parser * profile * corresponding to the ingress or egress of the DPNI. * @mc_io: Pointer to MC portal's I/O object
drivers/net/e1000/e1000_ethdev.h +2 -2
@@ -103,7 +103,7 @@* Maximum number of Ring Descriptors. * * Since RDLEN/TDLEN should be multiple of 128 bytes, the number of ring -* desscriptors should meet the following condition: +* descriptors should meet the following condition: * (num_ring_desc * sizeof(struct e1000_rx/tx_desc)) % 128 == 0 */ #define E1000_MIN_RING_DESC 32
@@ -252,7 +252,7 @@ struct igb_rte_flow_rss_conf { };/* -* Structure to store filters'info. +* Structure to store filters' info. */ struct e1000_filter_info {uint8_t ethertype_mask;/* Bit mask for every used ethertype filter */
drivers/net/e1000/em_ethdev.c +5 -5
@@ -1058,8 +1058,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)/* * Starting with 631xESB hw supports 2 TX/RX queues per port. -* Unfortunatelly, all these nics have just one TX context. -* So we have few choises for TX: +* Unfortunately, all these nics have just one TX context. +* So we have few choices for TX: * - Use just one TX queue. * - Allow cksum offload only for one TX queue. * - Don't allow TX cksum offload at all.
@@ -1068,7 +1068,7 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)* (Multiple Receive Queues are mutually exclusive with UDP * fragmentation and are not supported when a legacy receive * descriptor format is used). -* Which means separate RX routinies - as legacy nics (82540, 82545) +* Which means separate RX routines - as legacy nics (82540, 82545) * don't support extended RXD. * To avoid it we support just one RX queue for now (no RSS). */
@@ -1558,7 +1558,7 @@ eth_em_interrupt_get_status(struct rte_eth_dev *dev) }/* -* It executes link_update after knowing an interrupt is prsent. +* It executes link_update after knowing an interrupt is present. * * @param dev * Pointer to struct rte_eth_dev.
@@ -1616,7 +1616,7 @@ eth_em_interrupt_action(struct rte_eth_dev *dev,* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
drivers/net/e1000/em_rxtx.c +3 -3
@@ -141,7 +141,7 @@ union em_vlan_macip {struct em_ctx_info {uint64_t flags;/**< ol_flags related to context build. */ uint32_t cmp_mask;/**< compare mask */ -union em_vlan_macip hdrlen;/**< L2 and L3 header lenghts */ +union em_vlan_macip hdrlen;/**< L2 and L3 header lengths */ };/**
@@ -829,7 +829,7 @@ eth_em_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t ) (nb_hold + rxq->nb_rx_hold);
@@ -1074,7 +1074,7 @@ eth_em_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t ) (nb_hold + rxq->nb_rx_hold);
drivers/net/e1000/igb_ethdev.c +9 -9
@@ -1149,7 +1149,7 @@ eth_igb_configure(struct rte_eth_dev *dev)if (dev->data->dev_conf.rxmode.mq_mode &RTE_ETH_MQ_RX_RSS_FLAG ) dev->data->dev_conf.rxmode.offloads |=RTE_ETH_RX_OFFLOAD_RSS_HASH ; -/* multipe queue mode checking */ +/* multiple queue mode checking */ ret =igb_check_mq_mode (dev);if (ret !=0 ) { PMD_DRV_LOG(ERR, "igb_check_mq_mode fails with %d.",
@@ -1265,7 +1265,7 @@ eth_igb_start(struct rte_eth_dev *dev) } } -/* confiugre msix for rx interrupt */ +/* configure msix for rx interrupt */ eth_igb_configure_msix_intr (dev);/* Configure for OS presence */
@@ -2819,7 +2819,7 @@ eth_igb_interrupt_get_status(struct rte_eth_dev *dev) }/* -* It executes link_update after knowing an interrupt is prsent. +* It executes link_update after knowing an interrupt is present. * * @param dev * Pointer to struct rte_eth_dev.
@@ -2889,7 +2889,7 @@ eth_igb_interrupt_action(struct rte_eth_dev *dev,* @param handle * Pointer to interrupt handle. * @param param -* The address of parameter (struct rte_eth_dev *) regsitered before. +* The address of parameter (struct rte_eth_dev *) registered before. * * @return * void
@@ -3787,7 +3787,7 @@ igb_inject_2uple_filter(struct rte_eth_dev *dev,* * @param * dev: Pointer to struct rte_eth_dev. -* ntuple_filter: ponter to the filter that will be added. +* ntuple_filter: pointer to the filter that will be added. * * @return * - On success, zero.
@@ -3868,7 +3868,7 @@ igb_delete_2tuple_filter(struct rte_eth_dev *dev,* * @param * dev: Pointer to struct rte_eth_dev. -* ntuple_filter: ponter to the filter that will be removed. +* ntuple_filter: pointer to the filter that will be removed. * * @return * - On success, zero.
@@ -4226,7 +4226,7 @@ igb_inject_5tuple_filter_82576(struct rte_eth_dev *dev,* * @param * dev: Pointer to struct rte_eth_dev. -* ntuple_filter: ponter to the filter that will be added. +* ntuple_filter: pointer to the filter that will be added. * * @return * - On success, zero.
@@ -4313,7 +4313,7 @@ igb_delete_5tuple_filter_82576(struct rte_eth_dev *dev,* * @param * dev: Pointer to struct rte_eth_dev. -* ntuple_filter: ponter to the filter that will be removed. +* ntuple_filter: pointer to the filter that will be removed. * * @return * - On success, zero.
@@ -4831,7 +4831,7 @@ igb_timesync_disable(struct rte_eth_dev *dev)/* Disable L2 filtering of IEEE1588/802.1AS Ethernet frame types. */ E1000_WRITE_REG (hw,E1000_ETQF (E1000_ETQF_FILTER_1588 ),0 ); -/* Stop incrementating the System Time registers. */ +/* Stop incrementing the System Time registers. */ E1000_WRITE_REG (hw,E1000_TIMINCA ,0 );return 0 ;
drivers/net/e1000/igb_flow.c +2 -2
@@ -57,7 +57,7 @@ struct igb_flex_filter_list igb_filter_flex_list;struct igb_rss_filter_list igb_filter_rss_list;/** -* Please aware there's an asumption for all the parsers. +* Please aware there's an assumption for all the parsers. * rte_flow_item is using big endian, rte_flow_attr and * rte_flow_action are using CPU order. * Because the pattern is used to describe the packets,
@@ -1608,7 +1608,7 @@ igb_flow_create(struct rte_eth_dev *dev,/** * Check if the flow rule is supported by igb. -* It only checkes the format. Don't guarantee the rule can be programmed into +* It only checks the format. Don't guarantee the rule can be programmed into * the HW. Because there can be no enough room for the rule. */ static int
drivers/net/e1000/igb_pf.c +1 -1
@@ -155,7 +155,7 @@ int igb_pf_host_configure(struct rte_eth_dev *eth_dev)else E1000_WRITE_REG (hw,E1000_DTXSWC ,E1000_DTXSWC_VMDQ_LOOPBACK_EN ); -/* clear VMDq map to perment rar 0 */ +/* clear VMDq map to permanent rar 0 */ rah =E1000_READ_REG (hw,E1000_RAH (0 )); rah &= ~ (0xFF <<E1000_RAH_POOLSEL_SHIFT );E1000_WRITE_REG (hw,E1000_RAH (0 ), rah);
drivers/net/e1000/igb_rxtx.c +7 -7
@@ -150,7 +150,7 @@ union igb_tx_offload { (TX_MACIP_LEN_CMP_MASK |TX_TCP_LEN_CMP_MASK |TX_TSO_MSS_CMP_MASK )/** -* Strucutre to check if new context need be built +* Structure to check if new context need be built */struct igb_advctx_info {uint64_t flags;/**< ol_flags related to context build. */
@@ -967,7 +967,7 @@ eth_igb_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t ) (nb_hold + rxq->nb_rx_hold);
@@ -1229,7 +1229,7 @@ eth_igb_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,* register. * Update the RDT with the value of the last processed RX descriptor * minus 1, to guarantee that the RDT register is never equal to the -* RDH register, which creates a "full" ring situtation from the +* RDH register, which creates a "full" ring situation from the * hardware point of view... */ nb_hold = (uint16_t ) (nb_hold + rxq->nb_rx_hold);
@@ -1252,7 +1252,7 @@ eth_igb_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,* Maximum number of Ring Descriptors. * * Since RDLEN/TDLEN should be multiple of 128bytes, the number of ring -* desscriptors should meet the following condition: +* descriptors should meet the following condition: * (num_ring_desc * sizeof(struct e1000_rx/tx_desc)) % 128 == 0 */
@@ -1350,7 +1350,7 @@ igb_tx_done_cleanup(struct igb_tx_queue *txq, uint32_t free_cnt) sw_ring[tx_id].last_id = tx_id; } -/* Move to next segemnt. */ +/* Move to next segment. */ tx_id = sw_ring[tx_id].next_id; }while (tx_id != tx_next);
@@ -1383,7 +1383,7 @@ igb_tx_done_cleanup(struct igb_tx_queue *txq, uint32_t free_cnt)/* Walk the list and find the next mbuf, if any. */ do { - /* Move to next segemnt. */ + /* Move to next segment. */ tx_id = sw_ring[tx_id].next_id; if (sw_ring[tx_id].mbuf)
@@ -2146,7 +2146,7 @@ igb_vmdq_rx_hw_configure(struct rte_eth_dev *dev)igb_rss_disable (dev); -/* RCTL: eanble VLAN filter */ +/* RCTL: enable VLAN filter */ rctl =E1000_READ_REG (hw,E1000_RCTL ); rctl |=E1000_RCTL_VFE ;E1000_WRITE_REG (hw,E1000_RCTL , rctl);
drivers/net/ena/ena_ethdev.c +1 -1
@@ -1408,7 +1408,7 @@ static int ena_populate_rx_queue(struct ena_ring *rxq, unsigned int count) ++rxq->rx_stats.refill_partial; } -/* When we submitted free recources to device... */ +/* When we submitted free resources to device... */ if (likely (i >0 )) {/* ...let HW know that it can fill buffers with data. */ ena_com_write_sq_doorbell (rxq->ena_com_io_sq);
drivers/net/ena/ena_ethdev.h +1 -1
@@ -42,7 +42,7 @@/* While processing submitted and completed descriptors (rx and tx path * respectively) in a loop it is desired to: -* - perform batch submissions while populating sumbissmion queue +* - perform batch submissions while populating submission queue * - avoid blocking transmission of other packets during cleanup phase * Hence the utilization ratio of 1/8 of a queue size or max value if the size * of the ring is very big - like 8k Rx rings.
drivers/net/enetfec/enet_regs.h +1 -1
@@ -12,7 +12,7 @@#define RX_BD_CR ((ushort)0x0004)/* CRC or Frame error */ #define RX_BD_SH ((ushort)0x0008)/* Reserved */ #define RX_BD_NO ((ushort)0x0010)/* Rcvd non-octet aligned frame */ -#define RX_BD_LG ((ushort)0x0020)/* Rcvd frame length voilation */ +#define RX_BD_LG ((ushort)0x0020)/* Rcvd frame length violation */ #define RX_BD_FIRST ((ushort)0x0400)/* Reserved */ #define RX_BD_LAST ((ushort)0x0800)/* last buffer in the frame */ #define RX_BD_INT 0x00800000
drivers/net/enic/enic_flow.c +9 -9
@@ -405,7 +405,7 @@ enic_copy_item_ipv4_v1(struct copy_item_args *arg)return ENOTSUP ; } -/* check that the suppied mask exactly matches capabilty */ +/* check that the supplied mask exactly matches capability */ if (!mask_exact_match ((const uint8_t *)&supported_mask, (const uint8_t *)item->mask,sizeof (*mask))) {ENICPMD_LOG (ERR ,"IPv4 exact match mask" );
@@ -443,7 +443,7 @@ enic_copy_item_udp_v1(struct copy_item_args *arg)return ENOTSUP ; } -/* check that the suppied mask exactly matches capabilty */ +/* check that the supplied mask exactly matches capability */ if (!mask_exact_match((const uint8_t *)&supported_mask,
Lines of this file are not shown. View the raw message.
drivers/net/i40e/i40e_rxtx_vec_altivec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ipn3ke/ipn3ke_representor.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/mlx5/mlx5_rxtx_vec_altivec.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/mlx5/windows/mlx5_flow_os.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/nfp/nfpcore/nfp-common/nfp_resid.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/octeontx2/otx2_ethdev_irq.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/softnic/rte_eth_softnic_flow.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/virtio/virtio_rxtx_packed_avx.h +1 -1
Lines of this file are not shown. View the raw message.
examples/ipsec-secgw/test/common_defs.sh +2 -2
Lines of this file are not shown. View the raw message.
examples/l2fwd-event/l2fwd_event_generic.c +1 -1
Lines of this file are not shown. View the raw message.
examples/l2fwd-event/l2fwd_event_internal_port.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/hotplug_mp/commands.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/simple_mp/main.c +1 -1
Lines of this file are not shown. View the raw message.
examples/multi_process/symmetric_mp/main.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread.c +3 -3
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_diag.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_int.h +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/common/lthread_tls.c +1 -1
Lines of this file are not shown. View the raw message.
examples/performance-thread/l3fwd-thread/main.c +6 -6
Lines of this file are not shown. View the raw message.
examples/performance-thread/pthread_shim/pthread_shim.h +1 -1
Lines of this file are not shown. View the raw message.
examples/pipeline/examples/registers.spec +1 -1
Lines of this file are not shown. View the raw message.
examples/vm_power_manager/channel_monitor.c +1 -1
Lines of this file are not shown. View the raw message.
examples/vm_power_manager/power_manager.h +1 -1
Lines of this file are not shown. View the raw message.
lib/eventdev/rte_event_eth_rx_adapter.c +3 -3
Lines of this file are not shown. View the raw message.
lib/pipeline/rte_swx_pipeline_internal.h +2 -2
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.30.1 (Apple Git-130)
Part of the diff is not shown here. View the raw message.
Re: [PATCH v2] Spelling comments/text
29/11/2021 17:08, Josh Soref:
drivers/net/axgbe/axgbe_phy_impl.c static int axgbe_phy_an_config(struct axgbe_port *pdata __rte_unused) · line 1096
Quoted 2 lines
drivers/net/axgbe/axgbe_phy_impl.c +1
-1-* external phy devices registred through kerenl apis +* external phy devices registred through kernel apis
another spelling to fix:
"registred"
and while at it, "apis" should be "APIs"
- * When set to zero, simple forwaring path is eanbled.
+ * When set to zero, simple forwaring path is enabled.
another one:
"forwaring"
If I see nothing else, I'll fix and merge.
Thomas Monjalon
AppliedRe: [PATCH v2] Spelling comments/text
06/01/2022 17:46, Thomas Monjalon:
Quoted 8 lines
29/11/2021 17:08, Josh Soref:
drivers/net/axgbe/axgbe_phy_impl.c static int axgbe_phy_an_config(struct axgbe_port *pdata __rte_unused) · line 1096
Quoted 2 lines
drivers/net/axgbe/axgbe_phy_impl.c +1
-1-* external phy devices registred through kerenl apis +* external phy devices registred through kernel apis another spelling to fix:
"registred"
and while at it, "apis" should be "APIs"
Quoted 7 lines
- * When set to zero, simple forwaring path is eanbled.
+ * When set to zero, simple forwaring path is enabled.another one:
"forwaring"If I see nothing else, I'll fix and merge.
I've found more to fix.
Given the size of the patch, I did the fixes directly and added my Signed-off.
Applied, thanks.
The git log became:
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Re: [PATCH v2] Spelling comments/text
Quoted 22 lines · Thomas Monjalon
06/01/2022 17:46, Thomas Monjalon:
Quoted 8 lines
29/11/2021 17:08, Josh Soref:
drivers/net/axgbe/axgbe_phy_impl.c static int axgbe_phy_an_config(struct axgbe_port *pdata __rte_unused) · line 1096
Quoted 2 lines
drivers/net/axgbe/axgbe_phy_impl.c +1
-1-* external phy devices registred through kerenl apis +* external phy devices registred through kernel apis another spelling to fix:
"registred"
and while at it, "apis" should be "APIs"Quoted 7 lines
- * When set to zero, simple forwaring path is eanbled.
+ * When set to zero, simple forwaring path is enabled.another one:
"forwaring"If I see nothing else, I'll fix and merge.
I've found more to fix.
Given the size of the patch, I did the fixes directly and added my Signed-off.Applied, thanks.
Quoted 11 lines
The git log became:
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by Josh Soref <[email protected]>Signed-off-by Thomas Monjalon <[email protected]>
Not explicitly requested, but I think we can take whatever applies on stable branches too - at least for 21.11 where it applies cleanly.
Re: [PATCH v2] Spelling comments/text
11/01/2022 15:00, Kevin Traynor:
Quoted 11 lines · Thomas Monjalon
Quoted 10 lines
06/01/2022 17:46, Thomas Monjalon:
Quoted 1 line
29/11/2021 17:08, Josh Soref:
Applied, thanks.
The git log became:
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Quoted 8 lines
Quoted 5 lines
Signed-off-by Josh Soref <[email protected]>Signed-off-by Thomas Monjalon <[email protected]>Not explicitly requested, but I think we can take whatever applies on stable branches too - at least for 21.11 where it applies cleanly.
Oh yes, sorry, I forgot to Cc [email protected].
There is nothing critical in this patch,
but whatever applies can be backported, yes.
Re: [PATCH v2] Spelling comments/text
In reply to Josh Soref29/11/2021 17:08, Josh Soref:
app/test-crypto-perf/cperf_test_pmd_cyclecount.c pmd_cyclecount_bench_burst_sz( · line 337
Quoted 2 lines
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1
-1-* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it
I think "dequeueing" is correct.
Re: [PATCH v2] Spelling comments/text
Quoted 6 lines · Thomas Monjalon
29/11/2021 17:08, Josh Soref:
app/test-crypto-perf/cperf_test_pmd_cyclecount.c pmd_cyclecount_bench_burst_sz( · line 337
Quoted 2 lines
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1
-1-* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it I think "dequeueing" is correct.
Well, we have "queue" and "queuing" so therefore I would expect the "e" to be similarly dropped from the "dequeue" version.
/Bruce
Re: [PATCH v2] Spelling comments/text
07/01/2022 12:23, Bruce Richardson:
Quoted 9 lines · Thomas Monjalon
Quoted 6 lines
29/11/2021 17:08, Josh Soref:
app/test-crypto-perf/cperf_test_pmd_cyclecount.c pmd_cyclecount_bench_burst_sz( · line 337
Quoted 2 lines
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1
-1-* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it I think "dequeueing" is correct.
Well, we have "queue" and "queuing" so therefore I would expect the "e" to be similarly dropped from the "dequeue" version.
When looking on Internet, queueing is preffered over queuing.
https://dictionary.cambridge.org/dictionary/english/queueing
https://english.stackexchange.com/questions/60852/queueing-or-queuing
Best justification: five vowels in a row!
Why English people cannot agree on how to write words? Let's all use French, it's simpler :)
Re: [PATCH v2] Spelling comments/text
I only make changes like this when both flavors are used in a corpus:
https://github.com/DPDK/dpdk/search?q=queuing&type=code
https://github.com/DPDK/dpdk/search?q=dequeuing&type=code
I don't have a preference beyond consistency
Quoted 25 lines · Thomas Monjalon
07/01/2022 12:23, Bruce Richardson:
Quoted 3 lines · Thomas Monjalon
Quoted 2 lines
29/11/2021 17:08, Josh Soref:
Quoted 1 line
- * dequeueing once we've filled up the queue, we have to
benchmark it
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ * dequeuing once we've filled up the queue, we have to
benchmark it
Quoted 4 lines
Quoted 3 lines
I think "dequeueing" is correct.
Well, we have "queue" and "queuing" so therefore I would expect the "e"
to
Quoted 1 line
be similarly dropped from the "dequeue" version.
When looking on Internet, queueing is preffered over queuing.
https://dictionary.cambridge.org/dictionary/english/queueinghttps://english.stackexchange.com/questions/60852/queueing-or-queuing
Best justification: five vowels in a row!Why English people cannot agree on how to write words? Let's all use French, it's simpler :)
Re: [PATCH v2] Spelling comments/text
In reply to Thomas MonjalonQuoted 11 lines · Thomas Monjalon
07/01/2022 12:23, Bruce Richardson:
Quoted 9 lines · Thomas Monjalon
Quoted 6 lines
29/11/2021 17:08, Josh Soref:
app/test-crypto-perf/cperf_test_pmd_cyclecount.c pmd_cyclecount_bench_burst_sz( · line 337
Quoted 2 lines
app/test-crypto-perf/cperf_test_pmd_cyclecount.c +1
-1-* dequeueing once we've filled up the queue, we have to benchmark it +* dequeuing once we've filled up the queue, we have to benchmark it I think "dequeueing" is correct.
Well, we have "queue" and "queuing" so therefore I would expect the "e" to be similarly dropped from the "dequeue" version.
Quoted 6 lines
When looking on Internet, queueing is preffered over queuing.
https://dictionary.cambridge.org/dictionary/english/queueing
https://english.stackexchange.com/questions/60852/queueing-or-queuing
Best justification: five vowels in a row!Why English people cannot agree on how to write words?
Being Irish, I'm not sure I can answer that! :-)
My preference here is the shorter "queuing" version suggested, and it was what dictionary.com suggested under "queue" entry. My preference is largely based on consistency with other words which end in "ue":
"argue" -> "arguing", "accrue" -> "accruing".
Quoted 2 lines
Let's all use French, it's simpler :)
I don't think I have enough accent keys on my keyboard :-)
RE: [PATCH v2] Spelling comments/text
Quoted 14 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 7 January 2022 16.29Quoted 4 lines · Thomas Monjalon
07/01/2022 12:23, Bruce Richardson:
Quoted 3 lines · Thomas Monjalon
Quoted 2 lines
29/11/2021 17:08, Josh Soref:
Quoted 1 line
- * dequeueing once we've filled up the queue, we have
to benchmark it
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ * dequeuing once we've filled up the queue, we have to
benchmark it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
I think "dequeueing" is correct.
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Well, we have "queue" and "queuing" so therefore I would expect the
"e" to
Quoted 5 lines
Quoted 1 line
be similarly dropped from the "dequeue" version.
When looking on Internet, queueing is preffered over queuing.
https://dictionary.cambridge.org/dictionary/english/queueing
https://english.stackexchange.com/questions/60852/queueing-or-queuing
Quoted 3 lines
Best justification: five vowels in a row!
Why English people cannot agree on how to write words?
Because they have two different dictionaries: US English and British English. E.g. "color" is correct in one territory, while "colour" is correct in another territory.
Quoted 9 lines
Being Irish, I'm not sure I can answer that! :-)
My preference here is the shorter "queuing" version suggested, and it was
what dictionary.com suggested under "queue" entry. My preference is largely
based on consistency with other words which end in "ue":
"argue" -> "arguing", "accrue" -> "accruing".
Being somewhat a language nerd, I would like to know your opinions about "aging" vs. "ageing", in the context of timing out obsolete entries in e.g. a MAC table?
Or is "ageing" an action, and "aging" a state?
Quoted 4 lines
Quoted 3 lines
Let's all use French, it's simpler :)
I don't think I have enough accent keys on my keyboard :-)
Re: [PATCH v2] Spelling comments/text
Quoted 38 lines · Morten Brørup
Quoted 14 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 7 January 2022 16.29Quoted 4 lines · Thomas Monjalon
07/01/2022 12:23, Bruce Richardson:
Quoted 3 lines · Thomas Monjalon
Quoted 2 lines
29/11/2021 17:08, Josh Soref:
Quoted 1 line
- * dequeueing once we've filled up the queue, we have
to benchmark it
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
+ * dequeuing once we've filled up the queue, we have to
benchmark it
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
I think "dequeueing" is correct.
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Well, we have "queue" and "queuing" so therefore I would expect the
"e" to
Quoted 5 lines
Quoted 1 line
be similarly dropped from the "dequeue" version.
When looking on Internet, queueing is preffered over queuing.
https://dictionary.cambridge.org/dictionary/english/queueing
https://english.stackexchange.com/questions/60852/queueing-or-queuing
Quoted 3 lines
Best justification: five vowels in a row!
Why English people cannot agree on how to write words?
Because they have two different dictionaries: US English and British English. E.g. "color" is correct in one territory, while "colour" is correct in another territory.
Quoted 9 lines
Being Irish, I'm not sure I can answer that! :-)
My preference here is the shorter "queuing" version suggested, and it was
what dictionary.com suggested under "queue" entry. My preference is largely
based on consistency with other words which end in "ue":
"argue" -> "arguing", "accrue" -> "accruing".
Quoted 4 lines
Being somewhat a language nerd, I would like to know your opinions about "aging" vs. "ageing", in the context of timing out obsolete entries in e.g. a MAC table?
Or is "ageing" an action, and "aging" a state?
This is all starting to make my head hurt, because everything is so irregular! In this case I would have tended toward ageing with the "e", and from some quick googling, it appears that this is the more common spelling outside north america. However, unlike queuing, I really don't have strong feelings about the spelling of ag(e)ing. [On the other hand, given my current age, I have very strong feelings of dislike about the concept of ageing itself! :-)]
/Bruce