[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 05 Jun 2019 18:46:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ruxandra.radulescu@....com
Cc: netdev@...r.kernel.org, ioana.ciornei@....com
Subject: Re: [PATCH net-next 2/3] dpaa2-eth: Support multiple traffic
classes on Tx
From: Ioana Radulescu <ruxandra.radulescu@....com>
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 in the SKB is so
that you don't have to do this.
Powered by blists - more mailing lists