Kconfig 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. config FSL_FMAN
  2. tristate "FMan support"
  3. depends on FSL_SOC || ARCH_LAYERSCAPE || COMPILE_TEST
  4. select GENERIC_ALLOCATOR
  5. select PHYLIB
  6. default n
  7. help
  8. Freescale Data-Path Acceleration Architecture Frame Manager
  9. (FMan) support
  10. config DPAA_ERRATUM_A050385
  11. bool
  12. depends on ARM64 && FSL_DPAA
  13. default y
  14. help
  15. DPAA FMan erratum A050385 software workaround implementation:
  16. align buffers, data start, SG fragment length to avoid FMan DMA
  17. splits.
  18. FMAN DMA read or writes under heavy traffic load may cause FMAN
  19. internal resource leak thus stopping further packet processing.
  20. The FMAN internal queue can overflow when FMAN splits single
  21. read or write transactions into multiple smaller transactions
  22. such that more than 17 AXI transactions are in flight from FMAN
  23. to interconnect. When the FMAN internal queue overflows, it can
  24. stall further packet processing. The issue can occur with any
  25. one of the following three conditions:
  26. 1. FMAN AXI transaction crosses 4K address boundary (Errata
  27. A010022)
  28. 2. FMAN DMA address for an AXI transaction is not 16 byte
  29. aligned, i.e. the last 4 bits of an address are non-zero
  30. 3. Scatter Gather (SG) frames have more than one SG buffer in
  31. the SG list and any one of the buffers, except the last
  32. buffer in the SG list has data size that is not a multiple
  33. of 16 bytes, i.e., other than 16, 32, 48, 64, etc.
  34. With any one of the above three conditions present, there is
  35. likelihood of stalled FMAN packet processing, especially under
  36. stress with multiple ports injecting line-rate traffic.