8d49751580
This patch introduces a sample user space daemon which implements the virtio device backends on the host. The daemon creates/removes/configures virtio device backends by communicating with the Intel MIC Host Driver. The virtio devices currently supported are virtio net, virtio console and virtio block. Virtio net supports TSO/GSO. The daemon also monitors card shutdown status and takes appropriate actions like killing the virtio backends and resetting the card upon card shutdown and crashes. Co-author: Ashutosh Dixit <ashutosh.dixit@intel.com> Co-author: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Caz Yokoyama <Caz.Yokoyama@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Signed-off-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Harshavardhan R Kharche <harshavardhan.r.kharche@intel.com> Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com> Acked-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 lines
366 B
Makefile
20 lines
366 B
Makefile
#
|
|
# Makefile - Intel MIC User Space Tools.
|
|
# Copyright(c) 2013, Intel Corporation.
|
|
#
|
|
ifdef DEBUG
|
|
CFLAGS += $(USERWARNFLAGS) -I. -g -Wall -DDEBUG=$(DEBUG)
|
|
else
|
|
CFLAGS += $(USERWARNFLAGS) -I. -g -Wall
|
|
endif
|
|
|
|
mpssd: mpssd.o sysfs.o
|
|
$(CC) $(CFLAGS) -o $@ $^ -lpthread
|
|
|
|
install:
|
|
install mpssd /usr/sbin/mpssd
|
|
install micctrl /usr/sbin/micctrl
|
|
|
|
clean:
|
|
rm -f mpssd *.o
|