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

[UNIKRAFT PATCH v2 0/2] 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.

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

Sharan Santhanam (2):
  lib/uknetdev: Save nw_stack data in a netdevice
  lib/uknetdev: Get feature supported on uk_netdev

 lib/uknetdev/Makefile.rules           | 20 ++++++++++++++++++++
 lib/uknetdev/include/uk/netdev_core.h | 16 ++++++++++++++++
 plat/drivers/tap/tap.c                |  1 +
 plat/drivers/virtio/virtio_net.c      |  1 +
 support/build/Makefile.rules          |  2 +-
 5 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 lib/uknetdev/Makefile.rules

-- 
2.20.1




 


Rackspace

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