aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx5/driver.h
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2016-06-07 13:58:52 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2016-06-07 13:58:52 +0000
commit76a5241f2c38d1c4157b306b4d19fc66a8f918b2 (patch)
treec1602fdb1ac96cd76885a7493977405ea48968a0 /sys/dev/mlx5/driver.h
parentd8571d3ea3e4c3627a383f184058b9910aeb7086 (diff)
downloadsrc-76a5241f2c38d1c4157b306b4d19fc66a8f918b2.tar.gz
src-76a5241f2c38d1c4157b306b4d19fc66a8f918b2.zip
Add SR-IOV guest support to the mlx5en driver.
This patch adds the missing pieces needed for device setup using the mlx5en driver inside a virtual machine which is providing hardware access through SR-IOV. Sponsored by: Mellanox Technologies MFC after: 1 week
Notes
Notes: svn path=/head/; revision=301545
Diffstat (limited to 'sys/dev/mlx5/driver.h')
-rw-r--r--sys/dev/mlx5/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mlx5/driver.h b/sys/dev/mlx5/driver.h
index 8136e57515ec..7f648501fbac 100644
--- a/sys/dev/mlx5/driver.h
+++ b/sys/dev/mlx5/driver.h
@@ -33,6 +33,7 @@
#include <linux/pci.h>
#include <linux/cache.h>
#include <linux/rbtree.h>
+#include <linux/if_ether.h>
#include <linux/semaphore.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>