diff options
author | Peng Li <lipeng321@huawei.com> | 2018-05-25 20:43:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-29 06:04:26 +0200 |
commit | 90b99b094b4bd270542e3ade8cf74e21c228c069 (patch) | |
tree | f2bcf85fd97d6f571902cd16350b881fd8371860 /drivers/net/ethernet/hisilicon/hisi_femac.c | |
parent | net: hns3: Fix for PF mailbox receving unknown message (diff) | |
download | linux-90b99b094b4bd270542e3ade8cf74e21c228c069.tar.xz linux-90b99b094b4bd270542e3ade8cf74e21c228c069.zip |
net: hns3: Fixes the state to indicate client-type initialization
HNAE3 module supports kernel nic driver, user nic driver and roce driver,
and there are 3 client types. Driver uses one bit(HNAE3_CLIENT_INITED_B)
to indicate the client initialization state, it will cause confusion
for 3 client types. This patch fixes it by use 3 bits to indicate the
initialization state.
Fixes: 38caee9d3ee8 ("net: hns3: Add support of the HNAE3 framework")
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hisi_femac.c')
0 files changed, 0 insertions, 0 deletions