qlcnic: Optimize MAC learning code
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 25 Apr 2014 21:43:56 +0000 (17:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Apr 2014 03:20:53 +0000 (23:20 -0400)
commitddfbac07c0e87e221596a439e8fb3937b95db228
tree566032b177062188167a745343e5641fe375e076
parentf716775026707113496cbd9961882de91ab88b07
qlcnic: Optimize MAC learning code

* Use rx_mac_learn instead of mac_learn and eSwitch flag check in Rx path of
  82xx adapter.
* Check for MAC filter overrun only after driver scans through cached MAC address list.
  This will help to update the time stamp of cached MAC addresses even if
  adapter runs out of MAC address filter limit.
* Remove expensive log thrown by driver when MAC address filters are exhausted

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
This page took 0.024297 seconds and 5 git commands to generate.