Skip to content

Commit 39c538d

Browse files
caihuoqing1990Saeed Mahameed
authored andcommitted
net/mlx5: Fix typo in comments
Fix typo: *vectores ==> vectors *realeased ==> released *erros ==> errors *namepsace ==> namespace *trafic ==> traffic *proccessed ==> processed *retore ==> restore *Currenlty ==> Currently *crated ==> created *chane ==> change *cannnot ==> cannot *usuallly ==> usually *failes ==> fails *importent ==> important *reenabled ==> re-enabled *alocation ==> allocation *recived ==> received *tanslation ==> translation Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent 88be326 commit 39c538d

16 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ int mlx5e_tc_tun_create_header_ipv6(struct mlx5e_priv *priv,
520520
e->out_dev = attr.out_dev;
521521
e->route_dev_ifindex = attr.route_dev->ifindex;
522522

523-
/* It's importent to add the neigh to the hash table before checking
523+
/* It's important to add the neigh to the hash table before checking
524524
* the neigh validity state. So if we'll get a notification, in case the
525525
* neigh changes it's validity state, we would find the relevant neigh
526526
* in the hash.

‎drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ int mlx5e_open_xsk(struct mlx5e_priv *priv, struct mlx5e_params *params,
126126
/* Create a separate SQ, so that when the buff pool is disabled, we could
127127
* close this SQ safely and stop receiving CQEs. In other case, e.g., if
128128
* the XDPSQ was used instead, we might run into trouble when the buff pool
129-
* is disabled and then reenabled, but the SQ continues receiving CQEs
129+
* is disabled and then re-enabled, but the SQ continues receiving CQEs
130130
* from the old buff pool.
131131
*/
132132
err = mlx5e_open_xdpsq(c, params, &cparam->xdp_sq, pool, &c->xsksq, true);

‎drivers/net/ethernet/mellanox/mlx5/core/en_common.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "en.h"
3434

3535
/* mlx5e global resources should be placed in this file.
36-
* Global resources are common to all the netdevices crated on the same nic.
36+
* Global resources are common to all the netdevices created on the same nic.
3737
*/
3838

3939
void mlx5e_mkey_set_relaxed_ordering(struct mlx5_core_dev *mdev, void *mkc)

‎drivers/net/ethernet/mellanox/mlx5/core/en_rep.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ struct mlx5e_neigh_hash_entry {
146146
*/
147147
refcount_t refcnt;
148148

149-
/* Save the last reported time offloaded trafic pass over one of the
149+
/* Save the last reported time offloaded traffic pass over one of the
150150
* neigh hash entry flows. Use it to periodically update the neigh
151151
* 'used' value and avoid neigh deleting by the kernel.
152152
*/

‎drivers/net/ethernet/mellanox/mlx5/core/en_tc.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ struct mlx5e_tc_attr_to_reg_mapping mlx5e_tc_attr_to_reg_mappings[] = {
9797
[MARK_TO_REG] = mark_to_reg_ct,
9898
[LABELS_TO_REG] = labels_to_reg_ct,
9999
[FTEID_TO_REG] = fteid_to_reg_ct,
100-
/* For NIC rules we store the retore metadata directly
100+
/* For NIC rules we store the restore metadata directly
101101
* into reg_b that is passed to SW since we don't
102102
* jump between steering domains.
103103
*/
@@ -2448,7 +2448,7 @@ static int __parse_cls_flower(struct mlx5e_priv *priv,
24482448
spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS_3;
24492449
}
24502450
}
2451-
/* Currenlty supported only for MPLS over UDP */
2451+
/* Currently supported only for MPLS over UDP */
24522452
if (flow_rule_match_key(rule, FLOW_DISSECTOR_KEY_MPLS) &&
24532453
!netif_is_bareudp(filter_dev)) {
24542454
NL_SET_ERR_MSG_MOD(extack,

‎drivers/net/ethernet/mellanox/mlx5/core/eswitch.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ int mlx5_eswitch_enable_locked(struct mlx5_eswitch *esw, int mode, int num_vfs)
14921492
/**
14931493
* mlx5_eswitch_enable - Enable eswitch
14941494
* @esw: Pointer to eswitch
1495-
* @num_vfs: Enable eswitch swich for given number of VFs.
1495+
* @num_vfs: Enable eswitch switch for given number of VFs.
14961496
* Caller must pass num_vfs > 0 when enabling eswitch for
14971497
* vf vports.
14981498
* mlx5_eswitch_enable() returns 0 on success or error code on failure.

‎drivers/net/ethernet/mellanox/mlx5/core/events.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static int pcie_core(struct notifier_block *, unsigned long, void *);
2727
static int forward_event(struct notifier_block *, unsigned long, void *);
2828

2929
static struct mlx5_nb events_nbs_ref[] = {
30-
/* Events to be proccessed by mlx5_core */
30+
/* Events to be processed by mlx5_core */
3131
{.nb.notifier_call = any_notifier, .event_type = MLX5_EVENT_TYPE_NOTIFY_ANY },
3232
{.nb.notifier_call = temp_warn, .event_type = MLX5_EVENT_TYPE_TEMP_WARN_EVENT },
3333
{.nb.notifier_call = port_module, .event_type = MLX5_EVENT_TYPE_PORT_MODULE_EVENT },

‎drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,7 @@ static int mlx5_fpga_esp_modify_xfrm(struct mlx5_accel_esp_xfrm *xfrm,
15161516
mutex_lock(&fpga_xfrm->lock);
15171517

15181518
if (!fpga_xfrm->sa_ctx)
1519-
/* Unbounded xfrm, chane only sw attrs */
1519+
/* Unbounded xfrm, change only sw attrs */
15201520
goto change_sw_xfrm_attrs;
15211521

15221522
/* copy original hw sa */

‎drivers/net/ethernet/mellanox/mlx5/core/fs_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ static void set_prio_attrs_in_prio(struct fs_prio *prio, int acc_level)
24932493
acc_level_ns = set_prio_attrs_in_ns(ns, acc_level);
24942494

24952495
/* If this a prio with chains, and we can jump from one chain
2496-
* (namepsace) to another, so we accumulate the levels
2496+
* (namespace) to another, so we accumulate the levels
24972497
*/
24982498
if (prio->node.type == FS_TYPE_PRIO_CHAINS)
24992499
acc_level = acc_level_ns;

‎drivers/net/ethernet/mellanox/mlx5/core/health.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static bool reset_fw_if_needed(struct mlx5_core_dev *dev)
170170

171171
/* The reset only needs to be issued by one PF. The health buffer is
172172
* shared between all functions, and will be cleared during a reset.
173-
* Check again to avoid a redundant 2nd reset. If the fatal erros was
173+
* Check again to avoid a redundant 2nd reset. If the fatal errors was
174174
* PCI related a reset won't help.
175175
*/
176176
fatal_error = mlx5_health_check_fatal_sensors(dev);

0 commit comments

Comments
 (0)