[dpdk-dev] [PATCH 09/16] net/axgbe: add DMA programming and dev start and stop apis

Ferruh Yigit ferruh.yigit at intel.com
Fri Dec 8 22:07:30 CET 2017


On 11/30/2017 5:11 AM, Ravi Kumar wrote:
> Signed-off-by: Ravi Kumar <Ravi1.kumar at amd.com>

<...>

> +/*
> + * Configure device link speed and setup link.
> + * It returns 0 on success.
> + */
> +static int
> +axgbe_dev_configure(struct rte_eth_dev *dev)
> +{
> +	struct axgbe_port *pdata =  dev->data->dev_private;
> +	/* Checksum offload to hardware */
> +	pdata->rx_csum_enable = dev->data->dev_conf.rxmode.hw_ip_checksum;

There is a new method to get offload requests from user, since this is new PMD I
believe it would be better to implement new method.

Shahaf cc'ed for more support if required.

<...>


More information about the dev mailing list