linux/drivers/net/ixgb
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
..
ixgb_ee.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixgb_ee.h
ixgb_ethtool.c
ixgb_hw.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
ixgb_hw.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb_ids.h
ixgb_main.c ixgb and e1000: Use new function for copybreak tests 2010-05-14 03:06:19 -07:00
ixgb_osdep.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb_param.c ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
ixgb.h ixgb: Use pr_<level> and netdev_<level> 2010-04-27 12:53:30 -07:00
Makefile