slirp: add a fake NC-SI backend
commit47bb83cad45eb7ce194a8ffd18f73c98edb46aec
authorCédric Le Goater <clg@kaod.org>
Fri, 14 Apr 2017 08:35:03 +0000 (14 10:35 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 25 Apr 2017 11:17:25 +0000 (25 19:17 +0800)
tree7d6d36f8d73b0c280d6f9aba732551efbdbad32a
parentea337c654906c053da45c461d91df76a7b84429c
slirp: add a fake NC-SI backend

NC-SI (Network Controller Sideband Interface) enables a BMC to manage
a set of NICs on a system. This model takes the simplest approach and
reverses the NC-SI packets to pretend a NIC is present and exercise
the Linux driver.

The NCSI header file <ncsi-pkt.h> comes from mainline Linux and was
untabified.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
include/net/eth.h
slirp/Makefile.objs
slirp/ncsi-pkt.h [new file with mode: 0644]
slirp/ncsi.c [new file with mode: 0644]
slirp/slirp.c
slirp/slirp.h