Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Unikraft

We are developing Unikraft, a fast, secure and opensource unikernel SDK for extreme specialization.
Collective - Host: opensource - https://opencollective.com/unikraft - Website: https://t.co/W6HHOLeiUN - Code: https://github.com/unikraft/unikraft

lib/nolibc/string: import memrchr and strrchr from musl

tag: v1.1.20
commit <0fa1e638e87cf257e9f96b4019b2076afd674a19>

Only style modifications have be...

github.com/unikraft/unikraft - 843b8521fa9835fb7bb6f7749256e0d95987bbd1 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/uklock: introduce UK_MUTEX_INITIALIZER

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 6f4edf39e83fa4b354529075ab9e4d9ea7a04e67 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/uklock: introduce mutex_is_locked

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - a32a86b8f1ad3fc0656f0231fa48f29a812af6ff authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/uklock: rename mutex functions to match pthread_ analogues

People are more used to functions like mutex_lock and mutex_unlock,
then mutex_hold and mutex_re...

github.com/unikraft/unikraft - 674ed3f69642c56d0c8ac45840ab4f9697c878c1 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/uknetdev: Flag-based status report on rx and tx functions

Introduce flag based status return codes on receive and transmit
functions. They are replacing t...

github.com/unikraft/unikraft - 1e11fd3fb25c76039b2fad8bbfa14856e2cabf37 authored almost 6 years ago by Simon Kuenzer <[email protected]>
drivers/virtio: Memory barrier before notifying host on virtqueue updates

Before notifying the virtio backend on the host we should make
sure that the virtqueue index upd...

github.com/unikraft/unikraft - 80859dbdc39e3d09309d2eec8591ae5b47628afe authored almost 6 years ago by Simon Kuenzer <[email protected]>
drivers/virtio: virtio_netdev_recv(): Remove disabling interrupts

Disabling interrupts by virtio_netdev_recv() is not needed because in
normal cases they are alre...

github.com/unikraft/unikraft - 886e0ba171eed4ab5bc3098228c9b73fa68b0c0a authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/uknetdev: Introduce receive buffer allocator callback

The idea of having a fill-up parameter on the receive function is
inconvenient because a user ne...

github.com/unikraft/unikraft - df94dd6d7322faec41a27723a441ce167294d1d6 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/uklock: Debug level for semaphore messages

Use debug prints also for semaphore initialization message.
This is done in order to be inline w...

github.com/unikraft/unikraft - e8e9dffd59da103d3ebd65d08d93546763bc0549 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/nolibc: Introduce fd_set operation macros

Port FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros from FreeBSD.

Signed-off-by: Simon Kuenzer <s...

github.com/unikraft/unikraft - a9129fc7cdce0d1114561447518d419e00a4a568 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/ukswrand: Add uk_swrand_def to exportsyms.uk

Add uk_swrand_def to exportsyms.uk because it is used by the
uk_swrand_randr() inline function t...

github.com/unikraft/unikraft - a64cddcc7cfbc18184a7b4d479d0e9acd6eccee3 authored almost 6 years ago by Simon Kuenzer <[email protected]>
build: add functionality to alternate linker script

With this patch libraries can amend the master linker script by
registering the extra script in ...

github.com/unikraft/unikraft - 1b215236d30466a997048829fb6fe9e8f6a6814c authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: add fs-related types

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 796e20d796950825442ec70d59627af6fe467f53 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc/include: import statfs.h from musl

This is a combination of include/sys/statfs.h and
arch/generic/bits/statfs.h. We do not need to ...

github.com/unikraft/unikraft - 0f5275b4538ca5e8a995c53c86ff72c4f8d7cc3d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: import fs-related headers from musl

Git tab v1.1.20
Commit 0fa1e638e87cf257e9f96b4019b2076afd674a19

Signed-off-by: Yuri Volchkov <y...

github.com/unikraft/unikraft - afa0bb9bba4215c85178db7a98a585aa0bb2fc32 authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: replace param.h with imported from musl

Only style modifications on top of the imported code

tag: v1.1.20
commit <0fa1e638e87cf257e9f96...

github.com/unikraft/unikraft - 723a4ad59c91cd18396262cc0a8cee4446a60c0e authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/nolibc: adapt imported fs-related headers

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 1478555d731c36c4e593719527774e3d4e12b408 authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: fix style issues

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - b3256f8b99fe811889233af257b744005a25ded3 authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: update license header for imported code

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - e7444fe2e99135242c221728d545fc9892672f02 authored almost 6 years ago by Yuri Volchkov <[email protected]>
plat/common/pci: use new list api

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 22181248db8554d47ae19dd59c29595f1b3ffe6a authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk: import write_once and read_once from freebsd

commit <910f555845468ecbdd14dbce7bcc584812e084dc>

Signed-off-by: Yuri Volchkov <yuri.volchkov@n...

github.com/unikraft/unikraft - 21020616960c151d0808c9b0bfa3597b6543e0ea authored almost 6 years ago by Yuri Volchkov <[email protected]>
build: resolve common symbols in each lib individually

If a symbol is not initialized, gcc declares it as a weak. It will be
resolved during the linkin...

github.com/unikraft/unikraft - 7359cfcb84a4fcb4e92315a213c0a9797aac131b authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: remove unneeded workarounds from imported code

This implementation of lists intended to be the only one and going to
replace the existing one c...

github.com/unikraft/unikraft - e1dbbcb3adca5bd28feecfba8698029e92856612 authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: adapt imported code for Unikraft

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 3d75b55b0ebfb706308f71bd2b22d699af8d6611 authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: prefix imported functions with uk_

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - 21925930ea526fda307b8667f7c3f674a246460c authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: rename UK_LIST_HEAD in the old implementation

UK_LIST_HEAD from the new list implementation conflicts with the old
one. Since the current UK_L...

github.com/unikraft/unikraft - 1f5e3058cb15ee1836dd5d4d9f25cb591eb94ac2 authored almost 6 years ago by Yuri Volchkov <[email protected]>
include/uk/list: import linux linked list code from freebsd

Original file: sys/compat/linuxkpi/common/include/linux/list.h
commit <910f555845468ecbdd14dbce7...

github.com/unikraft/unikraft - 32a80cabc7c5d91de3708e1d937ad0cf73885b1d authored almost 6 years ago by Yuri Volchkov <[email protected]>
lib/ukbus: use new list api

Signed-off-by: Yuri Volchkov <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - bb99edd3902147d8a44ae818cc4aac58e26f2e52 authored almost 6 years ago by Yuri Volchkov <[email protected]>
arch/x86: Introduce NO_X86_EXTREGS_FLAGS

This set of flags disables the use of extended registers: FP, MMX/XMM,
YMM, and hence should be ...

github.com/unikraft/unikraft - ad9365caed1ef71c8d3eeb32cc749afb89792eb0 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/common: Support to save and restore extended (x86) registers

On creation of a sw_ctx struct, allocate an area sufficiently large to
save all extended registe...

github.com/unikraft/unikraft - 143f93e7805018919e399b6c004ab257bae3efe3 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/common: Add a notice regarding trap handling

While traps.c itself is compiled with NO_X86_EXTREGS_FLAGS, it still
doesn't hurt to remind pote...

github.com/unikraft/unikraft - aa740f50b9a56eae7ab0e2b82b0277fb39f6202b authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/common: add include guards to include/x86/cpu.h

Signed-off-by: Florian Schmidt <[email protected]>
Reviewed-by: Yuri Volchkov <yuri.volc...

github.com/unikraft/unikraft - 2a3b8238888a7e87918f1652d821096972c645d6 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat: check for and enable extended CPU features

But only do this if code is compiled with SSE/AVX.

Signed-off-by: Florian Schmidt <florian.schm...

github.com/unikraft/unikraft - 2c374281f8209014a882431ed7418d821a3296d5 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/{kvm, xen}: Clean up Makefile.uk conditional build rules

1) Those ifeqs aren't needed because the $(CONFIG_ARCH...) part already
deals with the condit...

github.com/unikraft/unikraft - 7db1a1d1573fe0a6fa928de61d402e1cda114fb6 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat: Add global struct to keep x86 CPU information

Currently, all information relates to the additional registers that can
be available on x86 CPUs...

github.com/unikraft/unikraft - 4c2afee2269506192412a905bd6bb8bdba0c4a7f authored almost 6 years ago by Florian Schmidt <[email protected]>
plat: Add -DxxxPLAT define for each platform

This allows common code to distinguish for which platform it is
currently being built.

Signed-o...

github.com/unikraft/unikraft - 94a4c3e39180c807b6c19a352bdb3bbf007d8e64 authored almost 6 years ago by Florian Schmidt <[email protected]>
plat/*: Make timer interrupt frequency selectable

Add new configuration options for choosing a timer interrupt frequency.
The configured frequency...

github.com/unikraft/unikraft - 74ef9785095fed03626632bf782f30046ba07408 authored almost 6 years ago by Florian Schmidt <[email protected]>
lib/ukdebug: uk_printd() and uk_printk() use same format engine

The same output engine is used for uk_printd() and
uk_printk(). Whenever uk_printd() is directed...

github.com/unikraft/unikraft - 7bdd53a3322131daf64c61e151ee7675c7416b02 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/ukdebug: Swap uk_printk() and uk_printd()

Exchanges uk_printk() with uk_printd(). uk_printk gets a lvl parameter:
uk_printk(lvl, fmt, ......

github.com/unikraft/unikraft - 41ef45c5f6f55f71500c6fb21dde482c74000042 authored almost 6 years ago by Simon Kuenzer <[email protected]>
lib/vfscore: Add stdin fop

This patch adds the stdin operation inside lib/vfscore/stdio.c.

The stdio is mapped by default ...

github.com/unikraft/unikraft - 84cb82518e8031840d1fe81f7be05d9c4dce7296 authored almost 6 years ago by Vlad-Andrei BĂDOIU (78692) <[email protected]>
lib/nolibc/include: Add termios.h from musl

This patch combines include/termios.h with generic/bits/termios.h
from musl. It provides all the...

github.com/unikraft/unikraft - 847cd3390d8999b454623f46dcb0cb2830db1b49 authored almost 6 years ago by Vlad-Andrei BĂDOIU (78692) <[email protected]>
driver/virtio: memset virtio hdr regions

Explicitly memset the virtio header region with zero.

Signed-off-by: Sharan Santhanam <sharan.s...

github.com/unikraft/unikraft - ffba5a18ef701c830a7291f6007c1f4ef775cd5f authored almost 6 years ago by Sharan Santhanam <[email protected]>
driver/virtio: Host notify and ring desc debug msg

We provide additional debug message when notify the host of
additional buffer and the descriptor...

github.com/unikraft/unikraft - ac0b518dd125c551ef7e4d92d79994df6d32b51e authored almost 6 years ago by Sharan Santhanam <[email protected]>
plat/virtio: Use padded buffer for tx and rx

We introduce buffer padding while transmitting and receiving data. We
explicitly introduce paddi...

github.com/unikraft/unikraft - d380f6958556e070c19e23cfcc2f9a4bc14190b6 authored almost 6 years ago by Sharan Santhanam <[email protected]>
driver/virtio: Replace malloc with calloc

We replace malloc with calloc to zero out the allocated memory.

Signed-off-by: Sharan Santhanam...

github.com/unikraft/unikraft - 9856e411a0ba159f981f90f1f580d6a60ab0aeb9 authored almost 6 years ago by Sharan Santhanam <[email protected]>
driver/virtio: Configure the max desc as default

As a part of this patch, we configure the max queue size as the
configuration for the number des...

github.com/unikraft/unikraft - 9ef39f90c8fd1115cc2e855b635ed9ef0f83f3af authored almost 6 years ago by Sharan Santhanam <[email protected]>
lib/uknetdev: Zero-initialize netdev data

Whenever a network device is registered by a driver to the uknetdev
API, libuknetdev allocates a...

github.com/unikraft/unikraft - afd6e2d8c1a36dcd8edab02434523bc7e412b0bf authored almost 6 years ago by Simon Kuenzer <[email protected]>
arch/x86: add -mtune for ASFLAGS

This provides the preprocessor with compiler-provided defines such as
__AVX__.

Signed-off-by: F...

github.com/unikraft/unikraft - 6b2999185d81636a3c0bcf8c05c08c5b7713726b authored about 6 years ago by Florian Schmidt <[email protected]>
plat/kvm: Make mxcsr_ptr in entry64.S a 32-bit value

LDMXCSR reads 32 bits into the register. If mxcsr_ptr is only a .word
(and thus 16 bits), the in...

github.com/unikraft/unikraft - 21e0555880547c6855067f89004e96ea5e0ef9b0 authored about 6 years ago by Florian Schmidt <[email protected]>
plat/virtio: Update off-by-one device id

Extract the virtio_device_id for legacy devices from the PCI Subsystem
Device ID. The previous b...

github.com/unikraft/unikraft - 7a001ce912de8c520ae03d76f018dc9874ba158a authored about 6 years ago by Cristian Banu <[email protected]>
plat/virtio: Fix virtio-bus init getting hanged

This patch fixes getting hanged in virtio-bus initialization. The inner
while loop does not iter...

github.com/unikraft/unikraft - 3c5a272544826b23fb561d4a85b6acbd5b8e6a86 authored about 6 years ago by Cristian Banu <[email protected]>
plat/xen/xenbus: Add _GNU_SOURCE define when using asprintf

Compiling xenbus.c and xs.c gives the warning "implicit definition
of asprintf". Asprintf is not...

github.com/unikraft/unikraft - 9ba7ea249e9e23462f380bbc0c0b4b6c79b283e7 authored about 6 years ago by Bogdan Lascu <[email protected]>
plat/kvm: Make VIRTIO_NET depend on VIRTIO_BUS

This is the setup to reproduce the bug:
Library Configuration -> enable uknetdev
Platform Config...

github.com/unikraft/unikraft - 838fed9907ae7e8b13b36ff9cdce14676bd591dd authored about 6 years ago by Teodora Serbanescu <[email protected]>
include/xen-x86: Remove os.h on x86

Remove os.h from the project as it was unused.
mm_pv.h included os.h but did not use anything fr...

github.com/unikraft/unikraft - 7da93498ac7ee3a2fdfb438865b423b52b58f881 authored about 6 years ago by Radu Nicolau <[email protected]>
plat/xen/common/hypervisor: Delete unused code and comments

Delete unused code and deprecated comments

Signed-off-by: Radu Nicolau <[email protected]...

github.com/unikraft/unikraft - c4a382813c0ee13deb4d8410526e07bec229dad1 authored about 6 years ago by Radu Nicolau <[email protected]>
plat/xen/hypervisor.c: Remove unused parameter

Removed unused parameter cpu from macro active_evtchns

Signed-off-by: Radu Nicolau <radunicolau...

github.com/unikraft/unikraft - 931b1e6d3a6f734c4121198893cfb310257dcecf authored about 6 years ago by Radu Nicolau <[email protected]>
plat/xen/common: Move event channel functions in events.h

Move mask_evtchn, unmask_evtchn and clear_evtchn function
prototypes from hypervisor.h to events...

github.com/unikraft/unikraft - f39f7db572ac73a07875c4d38c143bd6e37ce016 authored about 6 years ago by Radu Nicolau <[email protected]>
plat/xen: Add flush for xen console

Add flush function for xen console. Shutdown can be requested
before the hypervisor gets to prin...

github.com/unikraft/unikraft - ccf5072dfe0c01861694f67bb598d3aff0bc873c authored about 6 years ago by Birlea Costin <[email protected]>
include/uk/list.h: Replace non-existing panic() calls to UK_CRASH()

These panic() calls are copy-paste artifacts. We do not have the
panic() function. It was workin...

github.com/unikraft/unikraft - b84b039533c811f2c280ed54923f2da964c55361 authored about 6 years ago by Vlad-Andrei BĂDOIU <[email protected]>
build: Give CROSS_COMPILE from command line highest priority

Assign CONFIG_CROSS_COMPILE to CROSS_COMPILE only
if CROSS_COMPILE is defined, so that CONFIG_CR...

github.com/unikraft/unikraft - 04cff3e6075c59f44ce59abb52e140e7e6b2fa96 authored about 6 years ago by Dafna Hirschfeld <[email protected]>
plat/drivers: Introduce the virtio-net device

This patch introduces the virtio net driver initialization, the API
functions callback to intera...

github.com/unikraft/unikraft - f5777194581b1cf4b6299dfd6f865a0680b65e15 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Configure receive queue interrupt

The patch implements enable and disabling interrupt on the receive
queue.

Signed-off-by: Sharan...

github.com/unikraft/unikraft - 5c726fbe5c3019ffafca3b2a015d785370647394 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Starting the virtio device

Signed-off-by: Sharan Santhanam <[email protected]>
Signed-off-by: Razvan Cojocaru <raz...

github.com/unikraft/unikraft - 3b14754f3e721100371800ae02727a5394a0704e authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Configure virtio-net device

This patch provides the implementation callbacks to configure the
virtio device from libuknet

S...

github.com/unikraft/unikraft - 985cd95f6692ad448c47ecc11a95abe2bc72ad63 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Receive and Transmit operations

This patch add the transmission and receive operation for the
virtio-net device. We extend the s...

github.com/unikraft/unikraft - bc8e88867e1972ea25ff3dbb57039e4b504eea55 authored about 6 years ago by Sharan Santhanam <[email protected]>
lib/uknetdev: Add driver encapsulation for rx & tx

The patch provides the option for the network driver to reserve headroom
separately for transmis...

github.com/unikraft/unikraft - 136a2b16b8dd65806149c2ce02d4bf1aefec90a7 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Configure the receive queue

The patch introduces the virtio implementation for setting up the
receive queue.

Signed-off-by:...

github.com/unikraft/unikraft - 7975a1a33eb035c6c06e0e65423b2a15f2e7dc0f authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Configuring the transmit queue

The patch introduces the virtio net device implementation for
configuring the transmit queue

Si...

github.com/unikraft/unikraft - ed8ac51166e5a1ab58f37c6976ebd06839e21edd authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Reintroduce the virtio ring

This patch introduces the API to create destroy the virtio ring. The
configuration API for find ...

github.com/unikraft/unikraft - 87880cde9029cd2417ad3c3c8936c5de09de813d authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Introduce the virtio bus

This patch introduces the virtio bus to bridge the virtio device with
the bus. We introduce the ...

github.com/unikraft/unikraft - b49cc5403c2e24c5a706c56524f5051e1506c836 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Introduce virtio PCI device

We introduces support for virtio PCI legacy device support in this
patch. The driver register on...

github.com/unikraft/unikraft - 67e70a93b446afcdac6b6d272bc4f8e788a2ff2c authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Add & Remove buffer from virtio-ring

The user buffer are enqueued and dequeued into the virtio-ring.
The user data is described to th...

github.com/unikraft/unikraft - 13813b305b0c8b612db0f35b444a680dc048a0c7 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/driver: Remove the virtio-ring implementation

As a part of revamping the virtio layer, we are removing the existing
implementation of virtio r...

github.com/unikraft/unikraft - ad7b299b282fa686f800cb76bf590764273a751b authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/drivers: Interrupt handling for virtio-ring

This patch introduces the API for handling the interrupt on the virtio PCI
device. It provides h...

github.com/unikraft/unikraft - 207ca79efe09506e41d7ecadc8f6f8815e279dd9 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/common: Introduce virtio standard header

We introduce the standard virtio header files.
* virtio_ids: List the ids of the virtio devices
...

github.com/unikraft/unikraft - 71ee3e521a67bcc2fc32a9c43705289a63133847 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/common: arm: Include correct inline function __uk_test_and_clear_bit

As __uk_test_and_clear_bit has been moved to uk/bitops.h, the time.c could
not find this functio...

github.com/unikraft/unikraft - 577424e05324ade45900133dc89f007b92e88253 authored about 6 years ago by Wei Chen <[email protected]>
lib/uknetdev: Netdev initialization

Introduce a 'DPDK RTE Ethernet' inspired API for initializing a
Unikraft network device. The ini...

github.com/unikraft/unikraft - 73fd94948d567a76dc2dde55fe67db0d75de7fe3 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Packet reception and transmission interfaces

Introduce interfaces for single packet transmission and
reception. Both interfaces are designed ...

github.com/unikraft/unikraft - 81f4aaca6c665f7488bce3080c9f1ada4cbc24e1 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Netbuf refcounting and releasing

Introduce reference counting and buffer releasing with Netbufs.

Signed-off-by: Simon Kuenzer <s...

github.com/unikraft/unikraft - 4f06507ed6e45d8f953bbcce4c4537e307c26fe7 authored about 6 years ago by Simon Kuenzer <[email protected]>
lib/uknetdev: Introduce Netbufs

Adds `struct uk_netbuf`, a structure for describing network
packets. It is designed to support z...

github.com/unikraft/unikraft - c327e9713129cabd0e123b33a5f203eeb2da7ed0 authored about 6 years ago by Simon Kuenzer <[email protected]>
lib/uknetdev: MTU interfaces

Add interfaces to query and set the maximum transmission unit (MTU)
for a netdev. The getter is ...

github.com/unikraft/unikraft - c92ce1b18dc33dd7d36a78f0d1ef070d57d0ec7c authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Hardware address interfaces

Add a getter and a setter for a netdev's hardware address (MAC). This
API interface is optional ...

github.com/unikraft/unikraft - 60bd680e5f1d314a05f61a435ab0f9209648a7e4 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Netdev registration

Introduce initial netdev API supporting device registration. We
introduce three header files are...

github.com/unikraft/unikraft - 63fac86c7c63fb71a71cf6cebc578ae1717b8098 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Promiscuous mode interfaces

Add interfaces to query, enable, and disable promiscuous mode for a
netdev. The getter is a mand...

github.com/unikraft/unikraft - 89d4d907e3302f404d9bfb3033453bcea4a8a8a7 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Library skeleton

Add and register libuknetdev library skeleton.

Signed-off-by: Simon Kuenzer <simon.kuenzer@necl...

github.com/unikraft/unikraft - 6e729b7f8ee73c20621d0257505e3d6320ffd048 authored about 6 years ago by Razvan Cojocaru <[email protected]>
lib/uknetdev: Netbuf chaining

Introduce functions for creating and operating netbuf chains. With
this, network packet data tha...

github.com/unikraft/unikraft - c637db846d0e33a2656112cff02d6c9231e29949 authored about 6 years ago by Simon Kuenzer <[email protected]>
lib/uknetdev: Netbuf headroom and tailroom helpers

Introduce helpers for calculating available headroom and tailroom on a
Netbuf's data buffer. A h...

github.com/unikraft/unikraft - 52554d67e96dfb0e5ae035e817da874de121907f authored about 6 years ago by Simon Kuenzer <[email protected]>
build: Support for static libraries

Introduce support for linking (externally built) static libraries.

A static library can be regi...

github.com/unikraft/unikraft - e75574490049c744065a7e9b23a48e80ec64c078 authored about 6 years ago by Simon Kuenzer <[email protected]>
include/uk: merge two bitops functions

Unikraft currently has two sets of bit operations. This patch merges
them together.

Signed-off-...

github.com/unikraft/unikraft - 6568d1a21e463471ede008aba3f54860c5cbf1c0 authored about 6 years ago by Yuri Volchkov <[email protected]>
use one api for bit operation

Currently we have 2 different APIs for bit operations. Let's use only
one - the one which is ric...

github.com/unikraft/unikraft - 1df1fd5ffe0044cab73dcfdbafaeab33341dd1e1 authored about 6 years ago by Yuri Volchkov <[email protected]>
include/uk: fix test_bit atomicity

ukarch_test_bit_sync does not make sense. A barrier() call is not a
memory barrier as was said i...

github.com/unikraft/unikraft - 2f699028aef29a0bf136e7305e87af8454dcae8d authored about 6 years ago by Yuri Volchkov <[email protected]>
include/uk: do not cast away volatile in atomic.h

Many functions in include/uk/arch/atomic.h accept a volatile argument
and then cast it to someth...

github.com/unikraft/unikraft - 94495f1f877433faa947a7b17d21c294c27eeaf0 authored about 6 years ago by Yuri Volchkov <[email protected]>
lib/uksglist: A scatter/gather list data structure

A scatter/gather list is a list of vectors with each describing the
location and length of one c...

github.com/unikraft/unikraft - f24ca1777a75c86d2bf23f2e4929199c441a3afa authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/common: PCI bus probes the device identifier

While probing the devices on the pci bus, the device identifier are
read from the configuration ...

github.com/unikraft/unikraft - a21d4e70afd6c5c818f1f29ce9ed55548f785638 authored about 6 years ago by Sharan Santhanam <[email protected]>
plat/*: Export address conversion with ukplat_virt_to_phys()

ukplat_virt_to_phys() is promoted as a standard platform API and each
platform provides it's own...

github.com/unikraft/unikraft - 969b3a7d9bfc53b8897a7148490750ad78a3a692 authored about 6 years ago by Sharan Santhanam <[email protected]>
lib/ukboot: Correct line ending of UK_CRASH() messages

Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - ca4065b163331ec8be6dc11f4baa3eff90b51171 authored about 6 years ago by Simon Kuenzer <[email protected]>
lib/ukdebug: Remove unused uk_printkd()

Signed-off-by: Simon Kuenzer <[email protected]>
Reviewed-by: Sharan Santhanam <sharan.san...

github.com/unikraft/unikraft - c562a45d65499731ca09081dd1acce86ad619c3c authored about 6 years ago by Simon Kuenzer <[email protected]>
plat/*: Replace uk_printd() with uk_pr_*() equivalents

Replace all occurrences of uk_printk() with uk_pr_*() equivalents:
uk_printd(DLVL_CRIT, ...) -...

github.com/unikraft/unikraft - 1c6eca07d90042362785734eb12751459ce00385 authored about 6 years ago by Simon Kuenzer <[email protected]>
plat/*: Replace uk_printk() with uk_pr_*() equivalents

Replace all occurrences of uk_printk() with reasonable uk_pr_*()
equivalents. An exception is in...

github.com/unikraft/unikraft - e33293700ce9f16cf6003323381e1fdae0c9b918 authored about 6 years ago by Simon Kuenzer <[email protected]>
plat/linuxu: Use ukplat_coutk() for command line interaction

The platform's command line interaction (e.g., `-h`, `-V`) should
actually use stdio to print me...

github.com/unikraft/unikraft - 70f040a29658145616c3145ea289111dcb282e2d authored about 6 years ago by Simon Kuenzer <[email protected]>