[dpdk-dev] [PATCH v3 3/4] net/bond: dedicated hw queues for LACP control traffic

Ferruh Yigit ferruh.yigit at intel.com
Wed Jul 5 13:19:04 CEST 2017


On 7/4/2017 5:46 PM, Declan Doherty wrote:
> From: Tomasz Kulasek <tomaszx.kulasek at intel.com>
> 
> Add support for hardware flow classification of LACP control plane
> traffic to be redirect to a dedicated receive queue on each slave which
> is not visible to application. Also enables a dedicate transmit queue
> for LACP traffic which allows complete decoupling of control and data
> paths.
> 
> This only applies to bonding devices running in mode 4
> (link-aggegration-802.3ad).
> 
> Introduce two new APIs to support enable/disabled of dedicated
> queues.
> 
> - rte_eth_bond_8023ad_dedicated_queues_enable
> - rte_eth_bond_8023ad_dedicated_queues_disable
> 
> rte_eth_bond_8023ad_dedicated_queues_enable must be called before
> bonding port is configured or started to reserved and configure the
> dedicated queuesh.
> 
> When this option is enabled all slaves must support flow filtering 
> by ethernet type and support one additional tx and rx queue on 
> each slave.
> 
> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek at intel.com>
> Signed-off-by: Declan Doherty <declan.doherty at intel.com>

<...>

> +
> +DPDK_17.08 {
> +	global:
> +
> +	rte_eth_bond_8023ad_dedicated_queues_enable;
> +	rte_eth_bond_8023ad_dedicated_queues_disable;
> +
> +	local: *;

This line is not required.

> +} DPDK_17.05;

And this should be DPDK_16.07, otherwise breaking shared build.

I will fix above ones while applying.

> 



More information about the dev mailing list