commit | 210c4f70b4c630b27f0840c8043c138c955edc9e | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Mon Mar 20 16:13:44 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 22 10:50:36 2017 -0700 |
tree | b23b516abc1df33c1e2578b5b379d7b9781f2ccd | |
parent | a05d4fd9176003e0c1f9c3d083f4dac19fd346ab [diff] |
r8152: set the RMS of RTL8153 according to the mtu Set the received maximum size (RMS) according to the mtu size. It is unnecessary to receive a packet which is more than the size we could transmit. Besides, this could let the rx buffer be used effectively. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>