]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: fix a bug of setting hw_ioctxt
authorLuo bin <luobin9@huawei.com>
Thu, 27 Feb 2020 06:34:43 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 19:08:01 +0000 (11:08 -0800)
commitf2a0051f00ca6f8917b694e783effc2aa99721be
tree28cd11fbc579908299298e05b3e9fae13dd09b54
parent737f6dc279e48706e20646a91e6feee025673987
hinic: fix a bug of setting hw_ioctxt

a reserved field is used to signify prime physical function index
in the latest firmware version, so we must assign a value to it
correctly

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_hw_if.h