On 5/11/22 05:14, Robin Zhang wrote:
This patch implements format module EEPROM information for
SFF-8472 Rev 12.0
Signed-off-by: Robin Zhang <robinx.zh...@intel.com>
[snip]
diff --git a/lib/ethdev/sff_8472.c b/lib/ethdev/sff_8472.c
new file mode 100644
index 0000000000..1bbabbde1a
--- /dev/null
+++ b/lib/ethdev/sff_8472.c
@@ -0,0 +1,287 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2022 Intel Corporation
+ *
+ * Implements SFF-8472 optics diagnostics.
+ *
+ */
+
+#include <stdio.h>
+#include <math.h>
+#include <arpa/inet.h>
The patch still breaks Windows build because of the above
header [1] and [2]. Including mingw build.
[snip]
[1] http://mails.dpdk.org/archives/test-report/2022-May/279975.html
[2] http://mails.dpdk.org/archives/test-report/2022-May/279929.html