Hi,
I want to make 'squid' (a networking application) use usdpaa interface.
It uses read and write system calls (file descriptors) to read/write the packet information.
Now to make it use dpaa do I need to remove these system calls from the code and instead write a new code so that it uses dpaa.
thanks.
Solved! Go to Solution.
Hello Priya Agarwal,
Since USDPAA applications invoke USDPAA user space device driver to handle network packets directly, bypassing Linux Kernel network stack, so unlike normal Linux Kernel space application, the method opening a network socket and reading/writing packet from the socket cannot be used anymore.
Actually I think your purpose to design a USDPAA application is to design a fast path application.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Priya Agarwal,
Since USDPAA applications invoke USDPAA user space device driver to handle network packets directly, bypassing Linux Kernel network stack, so unlike normal Linux Kernel space application, the method opening a network socket and reading/writing packet from the socket cannot be used anymore.
Actually I think your purpose to design a USDPAA application is to design a fast path application.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------