]> git.karo-electronics.de Git - linux-beck.git/commit
net: hns: delete repeat read fbd num after while
authorDaode Huang <huangdaode@hisilicon.com>
Thu, 29 Sep 2016 17:09:12 +0000 (18:09 +0100)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Oct 2016 15:40:57 +0000 (11:40 -0400)
commit34447271dc10302a9aaee273a3ed354aefeaef7c
tree42318e9c7d9d7c67e5c623d211caa077b1a9dbe8
parentcee5add45853ed9e6bbb6ad203602be6c42d3e16
net: hns: delete repeat read fbd num after while

Because we handle the received packets after napi, so delete the checking
before submitting. It delete the code of read the fbd number register,
which reduces the cpu usages while receiving packets

Signed-off-by: Daode Huang <huangdaode@hisilicon.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/hisilicon/hns/hns_enet.c