diff options
author | Dimitris Michailidis <dm@chelsio.com> | 2010-08-23 13:21:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-23 23:38:14 -0400 |
commit | 1707aec9ac884de9e3358a8e564bbce91e4346f7 (patch) | |
tree | eb989559a430f970b910b8696d20d171a6733b28 /drivers/net/cxgb4 | |
parent | 1478b3ee931e83c7a94f61376e962574b28d23d6 (diff) |
cxgb4: fix setting of the function number in transmit descriptors
Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r-- | drivers/net/cxgb4/sge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb4/sge.c b/drivers/net/cxgb4/sge.c index 44c2e6c9f073..6ddb3bb0ce67 100644 --- a/drivers/net/cxgb4/sge.c +++ b/drivers/net/cxgb4/sge.c | |||
@@ -975,7 +975,7 @@ out_free: dev_kfree_skb(skb); | |||
975 | } | 975 | } |
976 | 976 | ||
977 | cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) | | 977 | cpl->ctrl0 = htonl(TXPKT_OPCODE(CPL_TX_PKT_XT) | |
978 | TXPKT_INTF(pi->tx_chan) | TXPKT_PF(0)); | 978 | TXPKT_INTF(pi->tx_chan) | TXPKT_PF(adap->fn)); |
979 | cpl->pack = htons(0); | 979 | cpl->pack = htons(0); |
980 | cpl->len = htons(skb->len); | 980 | cpl->len = htons(skb->len); |
981 | cpl->ctrl1 = cpu_to_be64(cntrl); | 981 | cpl->ctrl1 = cpu_to_be64(cntrl); |