[Openswan Users] How openswan work with ocf and ixp4xx hardware acceleration?

mix.kao mix.kao at cipherium.com.tw
Tue Jan 26 07:25:54 EST 2010


Hi there,

I use OCF with ixp425 hardware acceleration (arm platform) and Openswan 
2.6.24 and Linux kernel 2.6.28.10

When i start openswan daemon, it will auto load linux kernel 
crypto_algapi related kernel module, is it ok to use crypto in hardware?
Or it means i still use software crypto?
I try to rmmod all the crypto_algapi related module and try to build 
tunnel, it can build tunnel but can not ping each other.
If i don't rmmod the crypto_algapi related module, the tunnel is work fine.

So any suggestion to let openswan work with OCF and ixp4xx hardware 
crypto acceleration?

Module                  Size  Used by
ecb                     1152  0
cbc                     1696  0
md5                     3872  0
cryptomgr              71408  0
crypto_blkcipher        6468  3 ecb,cbc,cryptomgr
aead                    3200  1 cryptomgr
des_generic            16128  0
crypto_algapi           7680  7 
ecb,cbc,md5,cryptomgr,crypto_blkcipher,aead,des_generic
ipsec                 337716  2
ixp4xx                  6992  0
cryptodev               9732  0
ocf                    15304  2 ixp4xx,cryptodev
nfnetlink_log           5064  1
nfnetlink               1528  2 nfnetlink_log
iptable_filter           896  0
ip_tables               8080  1 iptable_filter
ebtable_filter           768  1
ebtables               13504  1 ebtable_filter
ipt_ULOG                3780  1
nf_nat_ftp              1216  0
nf_conntrack_ftp        4512  1 nf_nat_ftp
nf_nat                  9582  1 nf_nat_ftp
xt_recent               4920  0
x_tables                7044  4 ip_tables,ebtables,ipt_ULOG,xt_recent
ixp400_eth             16368  1
ixp400_oslinux        196804  2 ixp4xx,ixp400_eth
loop                    8908  2


Thanks a lot,
Mix.K



More information about the Users mailing list