commit | 363437f40a23bacdead80bb80d08d8193a20cfce | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Aug 25 06:21:32 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 26 12:55:18 2011 -0400 |
tree | e5dce35d8aa3ad364dafc1274b3a4c469dbcdb88 | |
parent | 18cf1248eca3f1fc38e12b314a6cadd286260e65 [diff] |
net_sched: sfb: optimize enqueue on full queue In case SFB queue is full (hard limit reached), there is no point spending time to compute hash and maximum qlen/p_mark. We instead just early drop packet. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>