lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ