]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[intel] Allow for the use of advanced TX descriptors
authorMichael Brown <mcb30@ipxe.org>
Sat, 16 May 2015 13:26:00 +0000 (14:26 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 16 May 2015 13:54:31 +0000 (14:54 +0100)
commit9e2121be0d5d2b25173503c4f577471bec618928
tree3361e62b094fbde0bc5b994a054171ca2a06197a
parent28ce9b6cc02800239e77c49355e85a29d6ef346c
[intel] Allow for the use of advanced TX descriptors

Intel virtual function NICs almost work with the use of "legacy"
transmit and receive descriptors (which are backwards compatible right
back to the original Intel Gigabit NICs).

Unfortunately the "TX switching" feature (which allows for VM<->VM
traffic to be looped back within the NIC itself) does not work when a
legacy TX descriptor is used: the packet is instead sent onto the
wire.

Fix by allowing for the use of an "advanced" TX descriptor (containing
exactly the same information as is found in the "legacy" descriptor).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/intel.c
src/drivers/net/intel.h
src/drivers/net/intelx.c