summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hisi_femac.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2018-05-25 20:43:01 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-29 06:04:26 +0200
commit90b99b094b4bd270542e3ade8cf74e21c228c069 (patch)
treef2bcf85fd97d6f571902cd16350b881fd8371860 /drivers/net/ethernet/hisilicon/hisi_femac.c
parentnet: hns3: Fix for PF mailbox receving unknown message (diff)
downloadlinux-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