[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-02-18 Thread Iremonger, Bernard
Hi Stephen, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Wednesday, February 3, 2016 3:21 PM > To: Doherty, Declan > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer que

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-02-03 Thread Thomas Monjalon
2016-02-03 15:17, Declan Doherty: > On 03/02/16 11:28, Bruce Richardson wrote: > > Hi Eric, Stephen, Declan, > > > > all patches of the set apart from this one and the next (nos 6 & 7) have no > > comments and have been acked. Is there a resolution on these two patches, > > so they > > can be acke

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-02-03 Thread Declan Doherty
On 03/02/16 11:28, Bruce Richardson wrote: > On Fri, Dec 04, 2015 at 02:18:34PM -0500, Eric Kinzie wrote: >> On Fri Dec 04 19:36:09 +0100 2015, Andriy Berestovskyy wrote: >>> Hi guys, >>> I'm not quite sure if we can support less TX queues on a slave that easy: >>> queue_id = bond_slave_txqid(

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-02-03 Thread Bruce Richardson
On Fri, Dec 04, 2015 at 02:18:34PM -0500, Eric Kinzie wrote: > On Fri Dec 04 19:36:09 +0100 2015, Andriy Berestovskyy wrote: > > Hi guys, > > I'm not quite sure if we can support less TX queues on a slave that easy: > > > > > queue_id = bond_slave_txqid(internals, i, bd_tx_q->queue_id); > > > num_

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-01-05 Thread Declan Doherty
On 04/12/15 19:18, Eric Kinzie wrote: > On Fri Dec 04 19:36:09 +0100 2015, Andriy Berestovskyy wrote: >> Hi guys, >> I'm not quite sure if we can support less TX queues on a slave that easy: >> >>> queue_id = bond_slave_txqid(internals, i, bd_tx_q->queue_id); >>> num_tx_slave = rte_eth_tx_burst(sla

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2016-01-05 Thread Stephen Hemminger
A common usage scenario is to bond a vnic like virtio which typically has only a single rx queue with a VF device that has multiple receive queues. This is done to do live migration On Jan 5, 2016 05:47, "Declan Doherty" wrote: > On 04/12/15 19:18, Eric Kinzie wrote: > >> On Fri Dec 04 19:36:09 +

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2015-12-04 Thread Andriy Berestovskyy
Hi guys, I'm not quite sure if we can support less TX queues on a slave that easy: > queue_id = bond_slave_txqid(internals, i, bd_tx_q->queue_id); > num_tx_slave = rte_eth_tx_burst(slaves[i], queue_id, > slave_bufs[i], slave_nb_pkts[i]); It seems that two different lcores might end up writin

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2015-12-04 Thread Eric Kinzie
On Fri Dec 04 19:36:09 +0100 2015, Andriy Berestovskyy wrote: > Hi guys, > I'm not quite sure if we can support less TX queues on a slave that easy: > > > queue_id = bond_slave_txqid(internals, i, bd_tx_q->queue_id); > > num_tx_slave = rte_eth_tx_burst(slaves[i], queue_id, > > slave_bufs[i],

[dpdk-dev] [PATCH 6/8] bond: handle slaves with fewer queues than bonding device

2015-12-04 Thread Stephen Hemminger
From: Eric Kinzie In the event that the bonding device has a greater number of tx and/or rx queues than the slave being added, track the queue limits of the slave. On receive, ignore queue identifiers beyond what the slave interface can support. During transmit, pick a different queue id to use