]> 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)
commit236b13feda019f9a98034e2fb7dd549cd7ac66a2
tree7788c0ff09311f10776540221077a014fc51f398
parent6e0f7f0e6194282c63a765eb161ee9f27d577900
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