raw/octeontx2_dma: support multiple DPI blocks
authorRadha Mohan Chintakuntla <radhac@marvell.com>
Tue, 6 Oct 2020 05:30:21 +0000 (22:30 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 11 Oct 2020 19:56:11 +0000 (21:56 +0200)
commit4495bd887d38ede506f80b922be48aca98fbbe61
tree0be8e9ff13138c12c76f3d4751a4931460ee18aa
parentf4c453765e5f9b63f029b4646f81138b084f9779
raw/octeontx2_dma: support multiple DPI blocks

This patch adds support for multiple DPI blocks by removing the fixed
macro that was writing to same sysfs entry for different DPI blocks.

Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>
Reviewed-by: Satananda Burla <sburla@marvell.com>
Acked-by: Satha Rao <skoteshwar@marvell.com>
drivers/raw/octeontx2_dma/otx2_dpi_msg.c
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h