Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c Minor conflict between the BCM_CNIC define removal in net-next and a bug fix added to net. Based upon a conflict resolution patch posted by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Esse commit está contido em:
@@ -2522,6 +2522,13 @@ static int ql_alloc_net_req_rsp_queues(struct ql3_adapter *qdev)
|
||||
qdev->req_q_size =
|
||||
(u32) (NUM_REQ_Q_ENTRIES * sizeof(struct ob_mac_iocb_req));
|
||||
|
||||
qdev->rsp_q_size = NUM_RSP_Q_ENTRIES * sizeof(struct net_rsp_iocb);
|
||||
|
||||
/* The barrier is required to ensure request and response queue
|
||||
* addr writes to the registers.
|
||||
*/
|
||||
wmb();
|
||||
|
||||
qdev->req_q_virt_addr =
|
||||
pci_alloc_consistent(qdev->pdev,
|
||||
(size_t) qdev->req_q_size,
|
||||
@@ -2533,8 +2540,6 @@ static int ql_alloc_net_req_rsp_queues(struct ql3_adapter *qdev)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
qdev->rsp_q_size = NUM_RSP_Q_ENTRIES * sizeof(struct net_rsp_iocb);
|
||||
|
||||
qdev->rsp_q_virt_addr =
|
||||
pci_alloc_consistent(qdev->pdev,
|
||||
(size_t) qdev->rsp_q_size,
|
||||
|
Referência em uma nova issue
Block a user