Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103474
b: refs/heads/master
c: a3dc3da
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Brandeburg authored and Jeff Garzik committed Jul 11, 2008
1 parent 8ba8ae0 commit 0a7fe9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4360386f7d849f521e8ef042f90dbca73e07509c
refs/heads/master: a3dc3da02a7c29237ca4ce3ec17f0e1f87ff0a06
4 changes: 2 additions & 2 deletions trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ ixgb_sw_init(struct ixgb_adapter *adapter)
hw->subsystem_id = pdev->subsystem_device;

hw->max_frame_size = netdev->mtu + ENET_HEADER_SIZE + ENET_FCS_LENGTH;
adapter->rx_buffer_len = hw->max_frame_size;
adapter->rx_buffer_len = hw->max_frame_size + 8; /* + 8 for errata */

if((hw->device_id == IXGB_DEVICE_ID_82597EX)
|| (hw->device_id == IXGB_DEVICE_ID_82597EX_CX4)
Expand Down Expand Up @@ -1573,7 +1573,7 @@ ixgb_change_mtu(struct net_device *netdev, int new_mtu)
return -EINVAL;
}

adapter->rx_buffer_len = max_frame;
adapter->rx_buffer_len = max_frame + 8; /* + 8 for errata */

netdev->mtu = new_mtu;

Expand Down

0 comments on commit 0a7fe9d

Please sign in to comment.