• Longfang Liu's avatar
    crypto: hisilicon/qm - fix PF queue parameter issue · 5831fc1f
    Longfang Liu authored
    If the queue isolation feature is enabled, the number of queues
    supported by the device changes. When PF is enabled using the
    current default number of queues, the default number of queues may
    be greater than the number supported by the device. As a result,
    the PF fails to be bound to the driver.
    
    After modification, if queue isolation feature is enabled, when
    the default queue parameter is greater than the number supported
    by the device, the number of enabled queues will be changed to
    the number supported by the device, so that the PF and driver
    can be properly bound.
    
    Fixes: 8bbecfb4 ("crypto: hisilicon/qm - add queue isolation support for Kunpeng930")
    Signed-off-by: default avatarLongfang Liu <liulongfang@huawei.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    5831fc1f
sec_main.c 35.1 KB