linux/drivers/net/e1000
Joe Perches 57bf6eef2f ixgb and e1000: Use new function for copybreak tests
There appears to be an off-by-1 defect in the maximum packet size
copied when copybreak is speified in these modules.

The copybreak module params are specified as:
"Maximum size of packet that is copied to a new buffer on receive"

The tests are changed from "< copybreak" to "<= copybreak"
and moved into new static functions for readability.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-14 03:06:19 -07:00
..
e1000_ethtool.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
e1000_hw.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_main.c ixgb and e1000: Use new function for copybreak tests 2010-05-14 03:06:19 -07:00
e1000_osdep.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_param.c e1000: cleanup unused parameters 2010-05-14 03:06:19 -07:00
e1000.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00