diff options
author | Geetha sowjanya <gakula@marvell.com> | 2021-08-22 17:32:23 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-22 21:38:15 +0100 |
commit | 73d33dbc0723ac4d94e9e01fe53404b28ec6abab (patch) | |
tree | 76b661045b24797295837472038f59380342ef09 /drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c | |
parent | octeontx2-pf: send correct vlan priority mask to npc_install_flow_req (diff) | |
download | linux-dev-73d33dbc0723ac4d94e9e01fe53404b28ec6abab.tar.xz linux-dev-73d33dbc0723ac4d94e9e01fe53404b28ec6abab.zip |
octeontx2-af: Use DMA_ATTR_FORCE_CONTIGUOUS attribute in DMA alloc
CN10K platform requires physically contiguous memory for LMTST
operations which goes beyond a single page. Not having physically
contiguous memory will result in HW fetching transmit descriptors from
a wrong memory location.
Hence use DMA_ATTR_FORCE_CONTIGUOUS attribute while allocating
LMTST regions.
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c')
0 files changed, 0 insertions, 0 deletions