]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: cleanup for endian issue for VF RSS
authorJian Shen <shenjian15@huawei.com>
Tue, 9 Feb 2021 02:42:01 +0000 (10:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 23:34:07 +0000 (15:34 -0800)
commit9ce4a3287f5add572a5a7ec0f380d5f4e4eec139
tree7788c0ff09311f10776540221077a014fc51f398
parent35b175e4d114f21d2115b4b5585fffffdc4cf35e
net: hns3: cleanup for endian issue for VF RSS

Currently the RSS commands of VF are using host byte order.
According to the user manual, it should use little endian in
the command to firmware. For the host and firmware are both
using little endian, so it can work well in this case.

Do cleanup to make it more explicitly.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c