Sebastian Sumpf
08c1e69d71
nic/packet_allocator: align allocations to 2 bytes
...
Override 'try_alloc/free' because ethernet frame headers are 14 bytes
(src/dst mac (12) + ethertype (2)) causing the IP header to be 2 byte
aligned, leading to problems on platforms that require load/store
operations to be naturally aligned when reading, for example, 4 byte IP
addresses. Therefore, we align the allocation to 2 bytes, so the IP
header is aligned to 4.
issue #4312
2022-01-19 12:35:48 +01:00
..
2021-10-14 11:02:11 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2020-07-13 11:33:13 +02:00
2021-12-17 15:04:45 +01:00
2020-08-25 11:49:43 +02:00
2020-07-30 08:49:23 +02:00
2020-05-27 11:56:45 +02:00
2020-06-29 14:22:29 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2019-02-26 14:44:15 +01:00
2021-11-29 15:11:52 +01:00
2021-10-14 11:02:09 +02:00
2020-06-29 14:22:29 +02:00
2021-12-17 15:04:45 +01:00
2017-03-24 16:19:56 +01:00
2019-11-19 14:23:54 +01:00
2019-02-26 14:44:15 +01:00
2017-02-28 12:59:29 +01:00
2020-06-22 09:39:40 +02:00
2019-01-30 13:49:54 +01:00
2021-12-17 15:04:45 +01:00
2022-01-19 12:35:48 +01:00
2019-02-26 14:44:15 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2019-11-19 14:42:22 +01:00
2019-11-19 14:42:22 +01:00
2021-11-29 15:10:52 +01:00
2021-11-29 15:10:52 +01:00
2021-04-20 12:10:31 +02:00
2020-05-27 11:56:46 +02:00
2019-01-07 12:25:45 +01:00
2021-12-17 15:04:45 +01:00
2021-10-13 14:46:54 +02:00
2019-02-26 14:44:15 +01:00
2019-08-21 12:37:01 +02:00
2021-06-25 11:41:45 +02:00
2021-12-17 15:04:45 +01:00
2021-10-14 11:02:15 +02:00
2021-12-17 15:04:45 +01:00
2020-04-17 12:40:12 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-01-25 13:48:09 +01:00
2021-12-17 15:04:45 +01:00
2021-06-25 11:41:44 +02:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:45 +01:00
2021-12-17 15:04:48 +01:00