lkml.org 
[lkml]   [2020]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next 3/5] net: hns3: provide .get_cmdq_stat interface for the client
On Sat, 9 May 2020 17:27:39 +0800 Huazhong Tan wrote:
> This patch provides a new interface for the client to query
> whether CMDQ is ready to work.
>
> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>

> diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
> index 5602bf2..7506cab 100644
> --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h
> +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h
> @@ -552,6 +552,7 @@ struct hnae3_ae_ops {
> int (*set_vf_mac)(struct hnae3_handle *handle, int vf, u8 *p);
> int (*get_module_eeprom)(struct hnae3_handle *handle, u32 offset,
> u32 len, u8 *data);
> + bool (*get_cmdq_stat)(struct hnae3_handle *handle);
> };

I don't see anything in this series using this new interface, why is it
added now?

\
 
 \ /
  Last update: 2020-05-09 22:48    [W:0.056 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site