summaryrefslogtreecommitdiff
path: root/net/ethtool/linkstate.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2020-10-25 22:10:22 +0300
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2020-11-02 06:38:05 +0300
commit8c42379e40e2db4199ceeb6a6ef9fff73ff132cf (patch)
treefd84ec35b865247680f382872e69a71da3644a3d /net/ethtool/linkstate.c
parentfed7552f1e69296461fca62ebaa0bb5a06fec0df (diff)
downloadlinux-8c42379e40e2db4199ceeb6a6ef9fff73ff132cf.tar.xz
soc: ti: k3-ringacc: Use correct device for allocation in RING mode
In RING mode the ringacc does not access the ring memory. In this access mode the ringacc coherency does not have meaning. If the ring is configured in RING mode, then the ringacc itself will not access to the ring memory. Only the requester (user) of the ring is going to read/write to the memory. Extend the ring configuration parameters with a device pointer to be used for DMA API when the ring is configured in RING mode. Extending the ring configuration struct will allow per ring selection of device to be used for allocation, thus allowing per ring coherency. To avoid regression, fall back to use the ringacc dev in case the alloc_dev is not provided. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'net/ethtool/linkstate.c')
0 files changed, 0 insertions, 0 deletions