]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: {topost} net: hns3: simplify hclge_cmd_csq_clean
authorHuazhong Tan <tanhuazhong@huawei.com>
Wed, 18 Apr 2018 02:55:45 +0000 (10:55 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:41:48 +0000 (14:41 -0400)
commit4838ebbaa47933074d0df03271a1054198ec1c6a
tree2500fa5910549481c5015a259c9a392d0d1cd0e2
parent60d7d474ce0cd9bf1366cce4145ad770f7d544c2
UBUNTU: SAUCE: {topost} net: hns3: simplify hclge_cmd_csq_clean

BugLink: https://bugs.launchpad.net/bugs/1768670
csq is used as a ring buffer, the value of the desc will be replaced
in next use. This patch removes the unnecessary memset, and just
updates the next_to_clean.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c