summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-03-18 13:59:29 -0500
committerDavid S. Miller <davem@davemloft.net>2021-03-18 16:20:34 -0700
commite5d4e96b44cf20330c970c3e30ea0a8c3a23feca (patch)
treeda22178ff3813b1baab07f36004ddd65bb9d1280 /include
parent3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9 (diff)
net: ipa: fix table alignment requirement
We currently have a build-time check to ensure that the minimum DMA allocation alignment satisfies the constraint that IPA filter and route tables must point to rules that are 128-byte aligned. But what's really important is that the actual allocated DMA memory has that alignment, even if the minimum is smaller than that. Remove the BUILD_BUG_ON() call checking against minimim DMA alignment and instead verify at rutime that the allocated memory is properly aligned. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions