]> 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)
commitdc361fe87d4a14891060cf478ec14a56a609a0c7
tree8a9d145f8f6b0c9bb524dda1ea48c30ae650dae9
parentdd8fe4fefd71eac9427f17e198f53e2079c6c10b
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