OSDN Git Service

hw/net/net_tx_pkt: Decouple implementation from PCI
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Tue, 23 May 2023 02:42:52 +0000 (11:42 +0900)
committerJason Wang <jasowang@redhat.com>
Tue, 23 May 2023 07:20:15 +0000 (15:20 +0800)
commit163246e1ce9607251ed52df1131af25d608de782
tree26843ff64636460547896c2f17dc19e1250e0d30
parent8d689f6aae8be096b4a1859be07c1b083865f755
hw/net/net_tx_pkt: Decouple implementation from PCI

This is intended to be followed by another change for the interface.
It also fixes the leak of memory mapping when the specified memory is
partially mapped.

Fixes: e263cd49c7 ("Packet abstraction for VMWARE network devices")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/net_tx_pkt.c
hw/net/net_tx_pkt.h