aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/en_rx.c2
-rw-r--r--drivers/net/mlx4/en_tx.c2
-rw-r--r--drivers/net/mlx4/mlx4_en.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c
index 03b781a7a182..829b9ec9ff67 100644
--- a/drivers/net/mlx4/en_rx.c
+++ b/drivers/net/mlx4/en_rx.c
@@ -204,7 +204,7 @@ static void mlx4_en_free_rx_desc(struct mlx4_en_priv *priv,
204 en_dbg(DRV, priv, "Freeing fragment:%d\n", nr); 204 en_dbg(DRV, priv, "Freeing fragment:%d\n", nr);
205 dma = be64_to_cpu(rx_desc->data[nr].addr); 205 dma = be64_to_cpu(rx_desc->data[nr].addr);
206 206
207 en_dbg(DRV, priv, "Unmaping buffer at dma:0x%llx\n", (u64) dma); 207 en_dbg(DRV, priv, "Unmapping buffer at dma:0x%llx\n", (u64) dma);
208 pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size, 208 pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size,
209 PCI_DMA_FROMDEVICE); 209 PCI_DMA_FROMDEVICE);
210 put_page(skb_frags[nr].page); 210 put_page(skb_frags[nr].page);
diff --git a/drivers/net/mlx4/en_tx.c b/drivers/net/mlx4/en_tx.c
index 8c7279965b44..3d1396af9462 100644
--- a/drivers/net/mlx4/en_tx.c
+++ b/drivers/net/mlx4/en_tx.c
@@ -47,7 +47,7 @@ enum {
47static int inline_thold __read_mostly = MAX_INLINE; 47static int inline_thold __read_mostly = MAX_INLINE;
48 48
49module_param_named(inline_thold, inline_thold, int, 0444); 49module_param_named(inline_thold, inline_thold, int, 0444);
50MODULE_PARM_DESC(inline_thold, "treshold for using inline data"); 50MODULE_PARM_DESC(inline_thold, "threshold for using inline data");
51 51
52int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, 52int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv,
53 struct mlx4_en_tx_ring *ring, u32 size, 53 struct mlx4_en_tx_ring *ring, u32 size,
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h
index 4376147b0ea0..82c3ebc584e3 100644
--- a/drivers/net/mlx4/mlx4_en.h
+++ b/drivers/net/mlx4/mlx4_en.h
@@ -162,7 +162,7 @@ enum {
162#define MLX4_EN_DEF_RX_PAUSE 1 162#define MLX4_EN_DEF_RX_PAUSE 1
163#define MLX4_EN_DEF_TX_PAUSE 1 163#define MLX4_EN_DEF_TX_PAUSE 1
164 164
165/* Interval between sucessive polls in the Tx routine when polling is used 165/* Interval between successive polls in the Tx routine when polling is used
166 instead of interrupts (in per-core Tx rings) - should be power of 2 */ 166 instead of interrupts (in per-core Tx rings) - should be power of 2 */
167#define MLX4_EN_TX_POLL_MODER 16 167#define MLX4_EN_TX_POLL_MODER 16
168#define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4) 168#define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4)