[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:33:31 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>

<...>

> -					"bonded port (%d) failed to reconfigure slave device (%d)",
> -					eth_dev->data->port_id, internals->slaves[i].port_id);
> +					"bonded port (%d) failed to reconfigure"
> +					"slave device (%d)",

Log string merged into single line.

<...>


More information about the dev mailing list