[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UNIKRAFT/LWIP PATCH v5 0/5] Xen netfront support

The current changes are required for supporting netfront devices in
Unikraft. The patches basically add support for aligned packet buffer
allocations as required by netfront devices.

Changes since v4:
 - Remove code alternatives related to ETH_PAD_SIZE != 0
 - Use `struct uk_netdev_info` within `lwip_data` instead
   of individual fields
 - Add a TODO comment about per queue allocators

Changes since v3:
 Due to drastic changes of the Unikraft base,
 this is a rewrite of this patch series at v3.
 It applies:
 - Use ioalign field from uknetdev
 - Use aligned netbuf allocation helpers from lib/uknetdev
 - Make use of uknetdev scratch pad for device local fields

Changes since v2:
 - Use nb_align field for queue infos
 - First patch of v3 was already upstreamed

Costin Lupu (1):
  cc.h: Disable Ethernet frame padding

Simon Kuenzer (4):
  uknetdev: Per device `lwip_data` to callbacks
  uknetdev: Per device RX and TX headroom
  netbuf: Aligned buffers with `lwip_alloc_netbuf()`
  uknetdev: Retrieve `ioalign` from device

 Config.uk         |   2 +-
 include/arch/cc.h |   7 ++-
 netbuf.c          |  26 +++-------
 netbuf.h          |   2 +-
 uknetdev.c        | 123 ++++++++++++++++++++++------------------------
 5 files changed, 72 insertions(+), 88 deletions(-)




Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.