efi_loader: Allow bouncing for network
authorAlexander Graf <agraf@suse.de>
Tue, 6 Sep 2016 12:26:27 +0000 (14:26 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 19 Oct 2016 07:01:50 +0000 (09:01 +0200)
commit712cd2987489fe62aedeb24730e730871b1eb627
tree147f33a36b7d6496ef06bbe72988e08f53b72969
parentb6575f34e20ddc40baa391c2db0e1e015e942af2
efi_loader: Allow bouncing for network

So far bounce buffers were only used for disk I/O, but network I/O
may suffer from the same problem.

On platforms that have problems doing DMA on high addresses, let's
also bounce outgoing network packets. Incoming ones always already
get bounced.

This patch fixes EFI PXE boot on ZynqMP for me.

Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_net.c