Skip to content
Commit 331fb2a3 authored by Harman Kalra's avatar Harman Kalra Committed by Ruiqiang Hao
Browse files

PCI: octeontx-83: configure PKI sriov



commit cf36df95cf6539dc929d21b5665458e35405bfa6 from
git@git.assembla.com:cavium/WindRiver.linux.git

Octeontx 83xx has a unique case, where PKI does DMA with more than 1
streamids, but PKI is not a SRIOV/ multi function device.
this feet is acheived by giving 8 bit programmable streamid in QPG tables.
The intention was to allow differnt addressspace per GMID.
but in reality no one accepts a device doing DMA with random streamids.
and there is no infrsastrutre in Linux to allow this.

This patch address this problem by emulating SRIOV on PKI.
With this patch in place, applications will bind one of the PKI VF
to allow DMA.

Change-Id: If52ab09c9bbb08e16750fbdd0cf0f539d616cd56
Signed-off-by: default avatarHarman Kalra <hkalra@marvell.com>
[RQ: Add .data segment in struct octeontx_ecam_of_match to fit new kernel.]
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent c818b52e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment