[PATCH v6 05/26] net/spnic: add mgmt module

Ferruh Yigit ferruh.yigit at intel.com
Wed Jan 19 18:22:51 CET 2022


On 12/30/2021 6:08 AM, Yanling Song wrote:
> Mgmt module manage the message gerenated from the hardware.
> This patch implements mgmt module initialization, related event
> processing and message command definition.
> 
> Signed-off-by: Yanling Song <songyl at ramaxel.com>

<...>

> +static void spnic_get_port_link_info(u8 link_state, struct rte_eth_link *link)
> +{
> +	if (!link_state) {
> +		link->link_status = ETH_LINK_DOWN;
> +		link->link_speed = ETH_SPEED_NUM_NONE;
> +		link->link_duplex = ETH_LINK_HALF_DUPLEX;
> +		link->link_autoneg = ETH_LINK_FIXED;
> +	}

The driver is using deprecated macros. If you can rebase on top of latest
next-net, you will get the warnings.

Since it is hard to continue with bunch of build errors, I will wait for
next version and can continue the reviews with it.


More information about the dev mailing list