Skip to content

Commit

Permalink
cxgb4: fix setting of the function number in transmit descriptors
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dimitris Michailidis authored and David S. Miller committed Aug 24, 2010
1 parent 1478b3e commit 1707aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/cxgb4/sge.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ out_free: dev_kfree_skb(skb);
}

cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) |
TXPKT_INTF(pi->tx_chan) | TXPKT_PF(0));
TXPKT_INTF(pi->tx_chan) | TXPKT_PF(adap->fn));
cpl->pack = htons(0);
cpl->len = htons(skb->len);
cpl->ctrl1 = cpu_to_be64(cntrl);
Expand Down

0 comments on commit 1707aec

Please sign in to comment.