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

[UNIKRAFT PATCH v3 0/3] Poll based receive based on uk_netdev features



uk_netdev_info provides a way to forward driver information to the network 
stack.
We extend the uk_netdev_info with the features field that allows the network 
stack
to perform a poll based received on those driver that do not support interrupt 
based
receive. The patch series is structured as follows:
- The uk_netdev structure allocates network stack scratch pad.
- The uk_netdev_info provides features field to fetch information on the 
feature supported
  on a driver.

Changes since v2:
- Enable secondary expansion on the build system
- Decouple from the tap driver
- Add some more comments 

Change since v1:
- Select the max of the scratch size
- Rename from enabled to available for the features

Sharan Santhanam (3):
  build: Enable secondary expansion
  lib/uknetdev: Save nw_stack data in a netdevice
  lib/uknetdev: Get feature supported on uk_netdev

 Makefile                              |  3 +++
 lib/uknetdev/Makefile.rules           | 17 ++++++++++++++
 lib/uknetdev/include/uk/netdev_core.h | 19 +++++++++++++++
 plat/drivers/virtio/virtio_net.c      |  1 +
 support/build/Makefile.rules          | 44 +++++++++++++++++------------------
 5 files changed, 62 insertions(+), 22 deletions(-)
 create mode 100644 lib/uknetdev/Makefile.rules

-- 
2.7.4




 


Rackspace

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