[PATCH v9 07/12] net/nfp: add flower ctrl VNIC related logics

Ferruh Yigit ferruh.yigit at xilinx.com
Tue Sep 20 16:56:41 CEST 2022


On 9/15/2022 11:44 AM, Chaoyong He wrote:
> Adds the setup/start logic for the ctrl vNIC. This vNIC is used by
> the PMD and flower firmware application as a communication channel
> between driver and firmware. In the case of OVS it is also used to
> communicate flow statistics from hardware to the driver.
> 
> A rte_eth device is not exposed to DPDK for this vNIC as it is strictly
> used internally by flower logic.
> 

Hi Chaoyong,

Similar comment with previous versions, interface is created using 
regular 'rte_eth_dev_allocate()' API, I think interface will be visible 
to application, I can't understand the need of creating an interface for 
control.

What is the communication method between driver and FW?
Since one of the following patches (09/12) introduces Rx/Tx for ctrl 
interface, is device interface is control packets (similar to network 
data packets)?

> Because of the add of ctrl vNIC, a new PCItoCPPBar is needed. Modify the
> related logics.
> 
> Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>

<...>



More information about the dev mailing list