aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/intelxvf.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-05-19 12:20:37 +0100
committerMichael Brown <mcb30@ipxe.org>2015-05-19 13:03:02 +0100
commit99f87b23382ab9cf1d071f4efea834e18d4511e0 (patch)
treec8e9ddc4f34af6b51fe3c632d66507dd2600626b /src/drivers/net/intelxvf.h
parent51b6a1c835656903ccf9162b61e0c3cc673bbbe8 (diff)
downloadipxe-99f87b23382ab9cf1d071f4efea834e18d4511e0.tar.gz
[intel] Fix operation when physical function has jumbo frames enabled
When jumbo frames are enabled, the Linux ixgbe physical function driver will disable the virtual function's receive datapath by default, and will enable it only if the virtual function negotiates API version 1.1 (or higher) and explicitly selects an MTU. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/intelxvf.h')
-rw-r--r--src/drivers/net/intelxvf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/net/intelxvf.h b/src/drivers/net/intelxvf.h
index aae58c9ec..ad046a65c 100644
--- a/src/drivers/net/intelxvf.h
+++ b/src/drivers/net/intelxvf.h
@@ -95,4 +95,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** Good Packets Transmitted Count High */
#define INTELXVF_GOTCH 0x2024
+/** Negotiate API version mailbox message */
+#define INTELXVF_MSG_TYPE_VERSION 0x00000008UL
+
+/** API version 1.1 */
+#define INTELXVF_MSG_VERSION_1_1 0x00000002UL
+
#endif /* _INTELXVF_H */