Finn Thain
ada7431527
dp8393x: Implement packet size limit and RBAE interrupt
...
Add a bounds check to prevent a large packet from causing a buffer
overflow. This is defensive programming -- I haven't actually tried
sending an oversized packet or a jumbo ethernet frame.
The SONIC handles packets that are too big for the buffer by raising
the RBAE interrupt and dropping them. Linux uses that interrupt to
count dropped packets.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-03-03 18:04:47 +08:00
..
2020-02-08 09:29:04 +01:00
2020-02-21 09:15:03 +11:00
2020-02-04 09:00:57 +01:00
2020-02-19 16:49:54 +00:00
2020-02-28 16:14:57 +00:00
2020-01-30 16:02:03 +00:00
2020-02-28 10:27:34 +00:00
2020-02-13 14:14:55 +00:00
2020-02-28 09:25:49 +01:00
2020-02-28 16:14:57 +00:00
2020-02-19 16:49:57 +00:00
2020-02-25 13:41:48 +01:00
2020-02-20 14:47:08 +01:00
2020-02-04 09:00:57 +01:00
2020-02-25 09:19:00 +01:00
2020-01-30 16:02:03 +00:00
2020-02-06 11:13:24 +01:00
2020-02-19 16:49:58 +00:00
2020-02-20 14:47:08 +01:00
2020-02-04 09:01:31 +01:00
2020-02-28 16:14:57 +00:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-02-04 09:01:31 +01:00
2020-02-19 16:49:58 +00:00
2020-02-25 09:19:00 +01:00
2020-02-21 09:15:04 +11:00
2020-01-29 19:28:52 +01:00
2020-02-27 14:18:47 +01:00
2020-02-25 13:41:48 +01:00
2020-01-29 19:28:52 +01:00
2020-03-03 18:04:47 +08:00
2020-02-19 10:32:50 +01:00
2019-10-28 19:06:47 +01:00
2020-02-20 14:47:08 +01:00
2020-01-29 19:28:52 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-02-21 09:15:04 +11:00
2020-02-04 09:00:57 +01:00
2020-02-25 13:41:48 +01:00
2020-01-24 20:59:15 +01:00
2020-02-10 12:01:38 -08:00
2020-02-10 12:01:37 -08:00
2020-02-27 11:10:29 +01:00
2020-02-25 13:41:48 +01:00
2020-02-20 14:47:08 +01:00
2020-01-09 11:41:29 +00:00
2020-02-21 16:07:02 +00:00
2020-02-06 10:38:57 +01:00
2020-02-19 16:50:01 +00:00
2020-02-19 16:50:01 +00:00
2020-02-21 16:07:02 +00:00
2020-02-07 14:04:28 +00:00
2020-02-02 14:07:57 +11:00
2020-01-29 19:28:52 +01:00
2019-08-16 13:31:52 +02:00
2020-02-28 16:14:57 +00:00
2020-02-18 20:20:49 +01:00
2020-02-27 19:15:15 +00:00
2020-01-24 20:59:15 +01:00
2020-02-27 11:50:30 +00:00
2020-02-04 09:00:57 +01:00
2020-02-19 10:33:38 +01:00
2019-12-17 09:01:14 +01:00
2019-12-17 09:01:14 +01:00