]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: code optimization for command queue' spin lock
authorPeng Li <lipeng321@huawei.com>
Sun, 14 Apr 2019 01:47:46 +0000 (09:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2019 20:47:35 +0000 (13:47 -0700)
commitdfcc2e5c763b791c722d1fb9cbe1f63ca00288a3
tree8a9d145f8f6b0c9bb524dda1ea48c30ae650dae9
parentdff191a71ea2434251c71e41272d4725c2cc6b11
net: hns3: code optimization for command queue' spin lock

This patch removes some redundant BH disable when initializing
and uninitializing command queue.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c