[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221028085651.78408e2c@kernel.org>
Date: Fri, 28 Oct 2022 08:56:51 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Cai Huoqing <cai.huoqing@...ux.dev>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Zhengchao Shao <shaozhengchao@...wei.com>,
Bin Chen <bin.chen@...igine.com>,
Krzysztof WilczyĆski <kw@...ux.com>,
Peter Chen <peter.chen@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] net: hinic: Add control command support for VF PMD
driver in DPDK
On Fri, 28 Oct 2022 12:56:55 +0800 Cai Huoqing wrote:
> > The commands are actually supported or you're just ignoring them
> > silently?
> No,
Do you mean "neither"?
> if the cmd is not added to 'nic_cmd_support_vf',
> the PF will return false, and the error messsage "PF Receive VFx
> unsupported cmd x" in the function 'hinic_mbox_check_cmd_valid',
> then, the configuration will not be set to hardware.
You're describing the behavior before the patch?
After the patch the command is ignored silently, like I said, right?
Because there is no handler added to nic_vf_cmd_msg_handler[].
Why is that okay? Or is there handler somewhere else?
Powered by blists - more mailing lists