RE: [RESEND PATCH v5] mm/zswap: move to use crypto_acomp API for hardware acceleration

2020-08-02 Thread Song Bao Hua (Barry Song)
> > Subject: [RESEND PATCH v5] mm/zswap: move to use crypto_acomp API for > > hardware acceleration > > > > Right now, all new ZIP drivers are adapted to crypto_acomp APIs rather than > > legacy crypto_comp APIs. Tradiontal ZIP drivers like lz4,lzo etc have been &

RE: [RESEND PATCH v5] mm/zswap: move to use crypto_acomp API for hardware acceleration

2020-07-22 Thread Song Bao Hua (Barry Song)
; Linuxarm ; Song Bao > Hua (Barry Song) ; Luis Claudio R . Goncalves > ; Sebastian Andrzej Siewior ; > Mahipal Challa ; Seth Jennings > ; Dan Streetman ; Vitaly Wool > ; Wangzhou (B) ; > fanghao (A) ; Colin Ian King > > Subject: [RESEND PATCH v5] mm/zswap: move to use

[RESEND PATCH v5] mm/zswap: move to use crypto_acomp API for hardware acceleration

2020-07-16 Thread Barry Song
Right now, all new ZIP drivers are adapted to crypto_acomp APIs rather than legacy crypto_comp APIs. Tradiontal ZIP drivers like lz4,lzo etc have been also wrapped into acomp via scomp backend. But zswap.c is still using the old APIs. That means zswap won't be able to work on any new ZIP drivers in