RE: [PATCH net-next 2/3] dpaa2-eth: Support multiple traffic classes on Tx

2019-06-05 Thread Ioana Ciocoi Radulescu
> -Original Message- > From: David Miller > Sent: Thursday, June 6, 2019 4:46 AM > To: Ioana Ciocoi Radulescu > Cc: netdev@vger.kernel.org; Ioana Ciornei > Subject: Re: [PATCH net-next 2/3] dpaa2-eth: Support multiple traffic classes > on Tx > > From: Ioana

Re: [PATCH net-next 2/3] dpaa2-eth: Support multiple traffic classes on Tx

2019-06-05 Thread David Miller
From: Ioana Radulescu Date: Wed, 5 Jun 2019 12:57:25 +0300 > + queue_mapping %= dpaa2_eth_queue_count(priv); You are now performing a very expensive modulus operation every single TX packet, regardless of whether TC is in use or not. The whole reason we store the queue mapping pre-cooked i