ASF modules alone do not accelerate anything. ASF essentially relies on the
availability of hardware acceleration engines and hooks in the driver.
Check with your network interface hardware/driver documentation/support
what is available. If you are to implement it by yourself, look how it
is done in asf_ginfar.h, asf_gianfar.c, gianfar.c.
If your third party network hardware does not implement a header parsing engine,
one possible solution can be to move to a DPAA-enabled processor and
to pass the traffic coming to/from unaccelerated interfaces through
DPAA offline port. This would also require some coding because the
existing ASF does not support offline ports. Achievable acceleration
depends on the amount of time your CPU(s) spend relaying data between
unaccelerated interfaces and DPAA buffers/portals.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------