On Thu, Nov 07, 2019 at 11:48:29AM +0800, Hao Fang wrote: > Currently the VF can be enabled only through sysfs interface > after module loaded, but this also needs to be done when the > module loaded in some scenarios. > > This patch adds module param vfs_num, adds hisi_zip_sriov_enable() > in probe, and also adjusts the position of probe. > > Signed-off-by: Hao Fang <fanghao11@xxxxxxxxxx> > Signed-off-by: Zhou Wang <wangzhou1@xxxxxxxxxxxxx> > --- > drivers/crypto/hisilicon/zip/zip_main.c | 182 +++++++++++++++++--------------- > 1 file changed, 98 insertions(+), 84 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt