[PATCH net-next 6/8] net: hns3: fix bug of reuse command description

2017-08-31 Thread Lipeng
When reuse command description, the in/out bit and W/R bit of the command flag should be both updated. The old code did not update in/out bit, this patch fix it. Signed-off-by: Mingguang Qu Signed-off-by: Lipeng ---

[PATCH net-next 6/8] net: hns3: fix bug of reuse command description

2017-08-31 Thread Lipeng
When reuse command description, the in/out bit and W/R bit of the command flag should be both updated. The old code did not update in/out bit, this patch fix it. Signed-off-by: Mingguang Qu Signed-off-by: Lipeng --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 9 +