summaryrefslogtreecommitdiff
path: root/Documentation/sysctl
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-02-20 10:32:50 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 16:29:05 -0800
commit232d0d55fca6ab589d5267c74a376210f341d71e (patch)
tree80dffff1b4b324d1181290e18ba5050af0623051 /Documentation/sysctl
parentc6075b193462d9a3930fb41f587f94720658752a (diff)
net: hns3: uninitialize command queue while unloading PF driver
According to the hardware's description, the driver should clear the command queue's registers when uloading driver. Otherwise, these existing value may lead the IMP get into a wrong state. Also this patch adds hclge_cmd_uninit() to do the command queue uninitialization which includes clearing registers and freeing memory. Fixes: 68c0a5c70614 ("net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/sysctl')
0 files changed, 0 insertions, 0 deletions