diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-06 15:16:13 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-06 15:16:13 +0000 |
commit | 4d8fd4b25e204a8c24b88db2ec6cab8417175e85 (patch) | |
tree | 1967356954c993c4710fe6ab0e78640c0f9a428e /sys/ofed/drivers/infiniband | |
parent | 8f67ce00492024115c24366ed01bc6c7c28eb567 (diff) | |
download | FreeBSD-src-4d8fd4b25e204a8c24b88db2ec6cab8417175e85.zip FreeBSD-src-4d8fd4b25e204a8c24b88db2ec6cab8417175e85.tar.gz |
ofed/drivers: minor spelling fixes.
No functional change.
Reviewed by: hselasky
Diffstat (limited to 'sys/ofed/drivers/infiniband')
-rw-r--r-- | sys/ofed/drivers/infiniband/hw/mlx4/main.c | 2 | ||||
-rw-r--r-- | sys/ofed/drivers/infiniband/hw/mlx4/mcg.c | 2 | ||||
-rw-r--r-- | sys/ofed/drivers/infiniband/hw/mlx4/mr.c | 4 | ||||
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp.h | 6 | ||||
-rw-r--r-- | sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/sys/ofed/drivers/infiniband/hw/mlx4/main.c b/sys/ofed/drivers/infiniband/hw/mlx4/main.c index 41705ad..cff90cc 100644 --- a/sys/ofed/drivers/infiniband/hw/mlx4/main.c +++ b/sys/ofed/drivers/infiniband/hw/mlx4/main.c @@ -799,7 +799,7 @@ static int mlx4_ib_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) unsigned long command = vma->vm_pgoff & MLX4_IB_MMAP_CMD_MASK; if (command < MLX4_IB_MMAP_GET_CONTIGUOUS_PAGES) { - /* compatability handling for commands 0 & 1*/ + /* compatibility handling for commands 0 & 1*/ if (vma->vm_end - vma->vm_start != PAGE_SIZE) return -EINVAL; } diff --git a/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c b/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c index f2a8411..85199e7 100644 --- a/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c +++ b/sys/ofed/drivers/infiniband/hw/mlx4/mcg.c @@ -689,7 +689,7 @@ static void mlx4_ib_mcg_work_handler(struct work_struct *work) cur_join_state = group->rec.scope_join_state & 7; if (method == IB_MGMT_METHOD_GET_RESP) { - /* successfull join */ + /* successful join */ if (!cur_join_state && resp_join_state) --rc; } else if (!resp_join_state) diff --git a/sys/ofed/drivers/infiniband/hw/mlx4/mr.c b/sys/ofed/drivers/infiniband/hw/mlx4/mr.c index a13bee7..f531a03 100644 --- a/sys/ofed/drivers/infiniband/hw/mlx4/mr.c +++ b/sys/ofed/drivers/infiniband/hw/mlx4/mr.c @@ -341,8 +341,8 @@ int mlx4_ib_umem_calc_optimal_mtt_size(struct ib_umem *umem, address for the start of the MR. */ /* umem_get aligned the start_va to a page - boundry. Therefore, we need to align the - start va to the same boundry */ + boundary. Therefore, we need to align the + start va to the same boundary */ /* misalignment_bits is needed to handle the case of a single memory region. In this case, the rest of the logic will not reduce diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h index 5c573d2..bd07d49 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h @@ -66,7 +66,7 @@ struct name { \ struct type *lh_first; /* first element */ \ } -/* Interval between sucessive polls in the Tx routine when polling is used +/* Interval between successive polls in the Tx routine when polling is used instead of interrupts (in per-core Tx rings) - should be power of 2 */ #define SDP_TX_POLL_MODER 16 #define SDP_TX_POLL_TIMEOUT (HZ / 20) @@ -424,8 +424,8 @@ struct sdp_sock { /* SDP slow start */ int recv_request_head; /* mark the rx_head when the resize request - was recieved */ - int recv_request; /* XXX flag if request to resize was recieved */ + was received */ + int recv_request; /* XXX flag if request to resize was received */ unsigned long tx_packets; unsigned long rx_packets; diff --git a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c index 6f54331..8f2a2f0 100644 --- a/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c +++ b/sys/ofed/drivers/infiniband/ulp/sdp/sdp_tx.c @@ -328,7 +328,7 @@ sdp_poll_tx(struct sdp_sock *ssk) SDPSTATS_COUNTER_INC(tx_poll_hit); inflight = (u32) tx_ring_posted(ssk); - sdp_prf1(ssk->socket, NULL, "finished tx proccessing. inflight = %d", + sdp_prf1(ssk->socket, NULL, "finished tx processing. inflight = %d", inflight); /* If there are still packets in flight and the timer has not already |