From: Dimitris Michailidis Date: Mon, 23 Aug 2010 17:21:00 +0000 (+0000) Subject: cxgb4: fix setting of the function number in transmit descriptors X-Git-Tag: MMI-PSA29.97-13-9~21994^2~707 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1707aec9ac884de9e3358a8e564bbce91e4346f7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git cxgb4: fix setting of the function number in transmit descriptors Signed-off-by: Dimitris Michailidis Signed-off-by: David S. Miller --- 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); } 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);