Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278377
b: refs/heads/master
c: 73dbb5e
h: refs/heads/master
i:
  278375: 79641d7
v: v3
  • Loading branch information
Dmitry Kravkov authored and David S. Miller committed Dec 6, 2011
1 parent 57ad429 commit 163651b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e34c0246d691b2ed4e6622ca7132c3c5ec156ca7
refs/heads/master: 73dbb5e1627a35c8ab81f3813c096e9e7aaabaaa
3 changes: 3 additions & 0 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,7 @@ static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode)
u16 len;
int rc = -ENODEV;
u8 *data;
struct netdev_queue *txq = netdev_get_tx_queue(bp->dev, txdata->txq_index);

/* check the loopback mode */
switch (loopback_mode) {
Expand Down Expand Up @@ -1799,6 +1800,8 @@ static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode)
tx_start_idx = le16_to_cpu(*txdata->tx_cons_sb);
rx_start_idx = le16_to_cpu(*fp_rx->rx_cons_sb);

netdev_tx_sent_queue(txq, skb->len);

pkt_prod = txdata->tx_pkt_prod++;
tx_buf = &txdata->tx_buf_ring[TX_BD(pkt_prod)];
tx_buf->first_bd = txdata->tx_bd_prod;
Expand Down

0 comments on commit 163651b

Please sign in to comment.