mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
cxgb4/libcxgb/cxgb4i/cxgbit: enable eDRAM page pods for iSCSI
Page pods are used for direct data placement, this patch enables eDRAM page pods if firmware supports this feature. Signed-off-by: Varun Prakash <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
ba217a44f8
commit
a248384e64
10 changed files with 142 additions and 30 deletions
|
|
@ -318,8 +318,10 @@ int cxgbit_ddp_init(struct cxgbit_device *cdev)
|
|||
|
||||
ret = cxgbi_ppm_init(lldi->iscsi_ppm, cdev->lldi.ports[0],
|
||||
cdev->lldi.pdev, &cdev->lldi, &tformat,
|
||||
ppmax, lldi->iscsi_llimit,
|
||||
lldi->vr->iscsi.start, 2);
|
||||
lldi->vr->iscsi.size, lldi->iscsi_llimit,
|
||||
lldi->vr->iscsi.start, 2,
|
||||
lldi->vr->ppod_edram.start,
|
||||
lldi->vr->ppod_edram.size);
|
||||
if (ret >= 0) {
|
||||
struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*lldi->iscsi_ppm);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue