> -----Original Message----- > From: Intel-wired-lan [mailto:[email protected]] On > Behalf Of Alexander Duyck > Sent: Monday, November 02, 2015 5:10 PM > To: [email protected]; [email protected] > 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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
