1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Merge branch 'testdevelop' into develop

This commit is contained in:
suyuan 2020-12-09 09:12:09 +08:00
commit 5cbe24bf9b
3 changed files with 7 additions and 10 deletions

View file

@ -282,7 +282,7 @@ index 32772d6ded4e..2d6677521575 100644
+ u32 gso_max_size)
+{
+ u32 segs;
+ u64 bytes;
+ u32 bytes;
+
+ /* Budget a TSO/GSO burst size allowance based on bw (pacing_rate). */
+ bytes = sk->sk_pacing_rate >> sk->sk_pacing_shift;
@ -345,7 +345,7 @@ index 32772d6ded4e..2d6677521575 100644
+ u32 gso_max_size)
+{
+ u32 segs;
+ u64 bytes;
+ u32 bytes;
+
+ /* Budget a TSO/GSO burst size allowance based on bw (pacing_rate). */
+ bytes = sk->sk_pacing_rate >> sk->sk_pacing_shift;