commit | 235f2eee8298ba2d1fbb4315187dcad7c3773ae8 | [log] [tgz] |
---|---|---|
author | Akihiko Odaki <akihiko.odaki@daynix.com> | Thu Feb 23 19:20:00 2023 +0900 |
committer | Jason Wang <jasowang@redhat.com> | Fri Mar 10 15:35:38 2023 +0800 |
tree | 03f3c652f9fa97e35750b221ee4aadb2108f728d | |
parent | 8a35c648ac669e515a5dd71d46de09b2b1cc28c2 [diff] |
e1000e: Introduce e1000_rx_desc_union Before this change, e1000e_write_packet_to_guest() allocated the receive descriptor buffer as an array of uint8_t. This does not ensure the buffer is sufficiently aligned. Introduce e1000_rx_desc_union type, a union type of all receive descriptor types to correct this. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>