[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <305E19FFAC908240AB6DEBD1E2D8C1E180CF61B0@ORSMSX108.amr.corp.intel.com>
Date: Thu, 10 Dec 2015 22:53:10 +0000
From: "Schmitt, Phillip J" <phillip.j.schmitt@...el.com>
To: Alexander Duyck <aduyck@...antis.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
Subject: RE: [Intel-wired-lan] [next PATCH 07/11] ixgbe: Reorder search to
work from the top down instead of bottom up
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@...ts.osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Monday, November 02, 2015 5:10 PM
> To: netdev@...r.kernel.org; intel-wired-lan@...ts.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH 07/11] ixgbe: Reorder search to work
> from the top down instead of bottom up
>
> This patch is meant to reduce the complexity of the search function used for
> finding a VLVF entry associated with a given VLAN ID. The previous code was
> searching from bottom to top. I reordered it to search from top to bottom. In
> addition I pulled an AND statement out of the loop and instead replaced it with
> an OR statement outside the loop. This should help to reduce the overall size
> and complexity of the function.
>
> There was also some formatting I cleaned up in regards to whitespace and such.
>
> Signed-off-by: Alexander Duyck <aduyck@...antis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@...el.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists