Hi all,<div><br></div><div>My setup is as below I&#39;ve two MPC8315E board from freescale connected as below</div><div><br></div><div>PC1 ---- mpc board1 --- mpc board 2 ----- PC2.</div><div><br></div><div>I&#39;ve installed openswan on the mpc boards for encrypting the data sent over the link between mpc boards using IPSEC. I&#39;ve l2tpv3 bridge between the mpc boards so that both PC&#39;s can be in the same subnet. Now using l2tpv3 and Ipsec the thruput is only 14.4Mbps tested using iperf and in tcp mode. I am using the NETKEY kernel stack during Ipsec configuration, using a PSK method and AES256-SHA1 cipher. I&#39;ve complied the AES and SHA crypto API into the kernel running the mpc boards. the kernel version being 2.6.37.6. And it looks like the hardware accelerator is not getting used or how do I check if the hardware accelerator is getting used? Why is the thru put so low? With just the l2tpv3 and no IPSec betn the boards i am able to get a thruput of 40Mbps with the rest of the settings being the same. I read somewhere that OCF cannot be used with NETKEY and would the thruput be more if i use KLIPS? if so how do i patch up the kernel with KLIPS. Also I had patched up the SEC driver from the freescale website </div>
<div><br></div><div><a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8315E&amp;nodeId=018rH3Jk191439&amp;fpsp=1&amp;tab=Design_Tools_Tab">http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8315E&amp;nodeId=018rH3Jk191439&amp;fpsp=1&amp;tab=Design_Tools_Tab</a></div>
<div><br></div><div><a href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MPC8315E&amp;nodeId=018rH3Jk191439&amp;fpsp=1&amp;tab=Design_Tools_Tab"></a>but when the Sec driver is configured as module into the kernel the module doesn;t get inserted gives segmentation fault and if the Sec driver is configured as non-module type the kernel doesn&#39;t bootsup at all! How do i solve this situation? I&#39;m desperately in need of some help as i&#39;ve been working on it to increase the thruput for a long time. Kindly help. Thanks a lot in advance.</div>
<div><br clear="all"><br>-- <br>Thanks and Regards <br>R.Vasanth Ragavendran<br>
</div>