linux/drivers/net/ethernet/intel
Alexander Duyck c2bc9ce91c 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@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-12-12 01:37:34 -08:00
..
e1000 drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
e1000e drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
fm10k fm10k: TRIVIAL cleanup order at top of fm10k_xmit_frame 2015-12-05 23:55:24 -08:00
i40e Revert "i40e: remove CONFIG_I40E_VXLAN" 2015-12-06 11:23:30 -05:00
i40evf i40e: trivial fixes 2015-12-03 02:23:39 -08:00
igb drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
igbvf drivers/net/intel: use napi_complete_done() 2015-10-16 04:33:46 -07:00
ixgb drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ixgbe ixgbe: Reorder search to work from the top down instead of bottom up 2015-12-12 01:37:34 -08:00
ixgbevf ixgbevf: Handle extended IPv6 headers in Tx path 2015-12-03 02:45:14 -08:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig Revert "i40e: remove CONFIG_I40E_VXLAN" 2015-12-06 11:23:30 -05:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00