diff options
| author | David S. Miller <[email protected]> | 2015-02-19 15:08:47 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-02-19 15:08:47 -0500 |
| commit | a53c4bf7f27f043564f5bdace12405c54265cb66 (patch) | |
| tree | 6661e33d455856f872151ae6e1afb971d69ab0a5 /scripts/gdb/linux/modules.py | |
| parent | fece13ca005a5f559147e9424321f4b5e01272b4 (diff) | |
| parent | efb3dd88f4490b752e3c26bbc3e40391758426d6 (diff) | |
Merge branch 'r8152-next'
Hayes Wang says:
====================
Adjust the settings about USB_RX_EARLY_AGG
v2:
For patch #1, replace
u32 ocp_data;
ocp_data = tp->coalesce / 8;
with
u32 ocp_data = tp->coalesce / 8;
And replace
struct net_device *dev = tp->netdev;
u32 ocp_data;
ocp_data = (agg_buf_sz - dev->mtu - VLAN_ETH_HLEN - VLAN_HLEN) / 4;
with
u32 mtu = tp->netdev->mtu;
u32 ocp_data = (agg_buf_sz - mtu - VLAN_ETH_HLEN - VLAN_HLEN) / 4;
Use *switch* statement to replace the checking of *if*.
v1:
The USB_RX_EARLY_AGG contains timeout and size. Separate them, and
they could be set independently. Then, the ethtool could be used to
change the timeout according to situation of the platform.
====================
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions