Skip to contentSkip to conversation

net/i40e: backport i40e fixes and share code to 20.11.4

RFC New Steve Yang 1 participant 2 messages Mar 28, 2022 – Apr 7, 2022

Subsystems (2)
lore
Share & tools
lore

Steve Yang

author
#0 lore raw

RFC 1/1 net/i40e: backport i40e fixes and share code to 20.11.4

Backport all the i40e share code to 20.11.4 based on cid-i40e.2022.03.08.

Backport all DPDK fixes of i40e and iavf to 20.11.4 from 22.03.

---
 drivers/common/iavf/README                  |   4 +-
 drivers/common/iavf/iavf_adminq.c           |   2 +-
 drivers/common/iavf/iavf_adminq.h           |   2 +-
 drivers/common/iavf/iavf_adminq_cmd.h       |   2 +-
 drivers/common/iavf/iavf_alloc.h            |   2 +-
 drivers/common/iavf/iavf_common.c           | 863 ++++++++++++++++-
 drivers/common/iavf/iavf_devids.h           |   3 +-
 drivers/common/iavf/iavf_impl.c             |   2 +-
 drivers/common/iavf/iavf_osdep.h            |   7 +-
 drivers/common/iavf/iavf_prototype.h        |   6 +-
 drivers/common/iavf/iavf_register.h         |   2 +-
 drivers/common/iavf/iavf_status.h           |   4 +-
 drivers/common/iavf/iavf_type.h             |  92 +-
 drivers/common/iavf/meson.build             |   2 +-
 drivers/common/iavf/siov_regs.h             |  47 +
 drivers/common/iavf/virtchnl.h              | 981 ++++++++++++++++++--
 drivers/common/iavf/virtchnl_inline_ipsec.h | 562 +++++++++++
 drivers/net/i40e/base/README                |   2 +-
 drivers/net/i40e/base/i40e_adminq.c         |  73 +-
 drivers/net/i40e/base/i40e_adminq_cmd.h     |  49 +-
 drivers/net/i40e/base/i40e_common.c         | 185 +++-
 drivers/net/i40e/base/i40e_dcb.c            |   8 +-
 drivers/net/i40e/base/i40e_devids.h         |   2 +
 drivers/net/i40e/base/i40e_osdep.h          |   2 +-
 drivers/net/i40e/base/i40e_prototype.h      |  18 +
 drivers/net/i40e/base/i40e_register.h       |  55 +-
 drivers/net/i40e/base/i40e_status.h         |   2 +-
 drivers/net/i40e/base/i40e_type.h           |  25 +-
 drivers/net/i40e/i40e_ethdev.c              |  63 +-
 drivers/net/i40e/i40e_ethdev_vf.c           |   6 +-
 drivers/net/i40e/i40e_regs.h                |  11 +-
 drivers/net/i40e/i40e_rxtx.c                |   6 +-
 drivers/net/iavf/iavf_ethdev.c              |  47 +-
 drivers/net/iavf/iavf_rxtx.c                | 103 +-
 drivers/net/iavf/iavf_rxtx.h                |  40 +-
 drivers/net/iavf/iavf_rxtx_vec_avx2.c       |   2 +-
 drivers/net/iavf/iavf_rxtx_vec_avx512.c     |   4 +-
 drivers/net/iavf/iavf_rxtx_vec_common.h     |   2 +-
 drivers/net/iavf/iavf_rxtx_vec_sse.c        |   4 +-
 drivers/net/iavf/iavf_vchnl.c               |   5 +-
 drivers/net/ice/ice_dcf.c                   |   4 +-
 41 files changed, 3001 insertions(+), 300 deletions(-)
 create mode 100644 drivers/common/iavf/siov_regs.h
 create mode 100644 drivers/common/iavf/virtchnl_inline_ipsec.h
drivers/common/iavf/README +2 -2
index 5a42750465..f59839ff97 100644
@@ -1,12 +1,12 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Intel Corporation
+ * Copyright(c) 2019-2021 Intel Corporation
  */
 
 Intel® IAVF driver
 =================
 
 This directory contains source code of FreeBSD IAVF driver of version
-cid-avf.2020.10.14.tar.gz released by the team which develops
+cid-avf.2022.03.08.tar.gz released by the team which develops
 basic drivers for any IAVF NIC. The directory of base/ contains the
 original source package.
 
drivers/common/iavf/iavf_adminq.c +1 -1
index 8d03de0553..9c36e8908e 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #include "iavf_status.h"
drivers/common/iavf/iavf_adminq.h +1 -1
index 93214162eb..e2374f9b95 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ADMINQ_H_
drivers/common/iavf/iavf_adminq_cmd.h +1 -1
index 5b748426ad..2a3006a526 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ADMINQ_CMD_H_
drivers/common/iavf/iavf_alloc.h +1 -1
index 7b7a205cff..6ef8da65a1 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ALLOC_H_
drivers/common/iavf/iavf_common.c +854 -9

897 lines not on this page · raw message

drivers/common/iavf/iavf_devids.h +2 -1
index 2e63aac289..3e09e5feb8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_DEVIDS_H_
@@ -13,5 +13,6 @@
 #define IAVF_DEV_ID_VF_HV		0x1571
 #define IAVF_DEV_ID_ADAPTIVE_VF		0x1889
 #define IAVF_DEV_ID_X722_VF		0x37CD
+#define IAVF_DEV_ID_X722_A0_VF          0x374D
 
 #endif /* _IAVF_DEVIDS_H_ */
drivers/common/iavf/iavf_impl.c +1 -1
index f80878b9fd..4284585f5d 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Intel Corporation
+ * Copyright(c) 2019-2021 Intel Corporation
  */
 
 #include <stdio.h>
drivers/common/iavf/iavf_osdep.h +6 -1
index 7cba13ff74..0ea7ea0efe 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-2020 Intel Corporation
+ * Copyright(c) 2017-2021 Intel Corporation
  */
 
 #ifndef _IAVF_OSDEP_H_
@@ -123,6 +123,11 @@ writeq(uint64_t value, volatile void *addr)
 #define IAVF_PCI_REG_WRITE(reg, value)         writel(value, reg)
 #define IAVF_PCI_REG_WRITE_RELAXED(reg, value) writel_relaxed(value, reg)
 
+#define IAVF_PCI_REG_WC_WRITE(reg, value) \
+	rte_write32_wc((rte_cpu_to_le_32(value)), reg)
+#define IAVF_PCI_REG_WC_WRITE_RELAXED(reg, value) \
+	rte_write32_wc_relaxed((rte_cpu_to_le_32(value)), reg)
+
 #define IAVF_READ_REG(hw, reg)                 rd32(hw, reg)
 #define IAVF_WRITE_REG(hw, reg, value)         wr32(hw, reg, value)
 
drivers/common/iavf/iavf_prototype.h +3 -3
index f34e77db0f..16cb973bb8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_PROTOTYPE_H_
@@ -69,7 +69,7 @@ enum iavf_status iavf_set_mac_type(struct iavf_hw *hw);
 
 extern struct iavf_rx_ptype_decoded iavf_ptype_lookup[];
 
-STATIC INLINE struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype)
+STATIC INLINE struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u16 ptype)
 {
 	return iavf_ptype_lookup[ptype];
 }
@@ -87,7 +87,7 @@ enum iavf_status iavf_vf_reset(struct iavf_hw *hw);
 __rte_internal
 enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,
 				enum virtchnl_ops v_opcode,
-				enum iavf_status v_retval,
+				enum virtchnl_status_code v_retval,
 				u8 *msg, u16 msglen,
 				struct iavf_asq_cmd_details *cmd_details);
 enum iavf_status iavf_aq_debug_dump(struct iavf_hw *hw, u8 cluster_id,
drivers/common/iavf/iavf_register.h +1 -1
index 03d62a9da7..328100138d 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_REGISTER_H_
drivers/common/iavf/iavf_status.h +2 -2
index f425638063..4dd0f5c5d8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_STATUS_H_
@@ -19,7 +19,7 @@ enum iavf_status {
 	IAVF_ERR_ADAPTER_STOPPED		= -9,
 	IAVF_ERR_INVALID_MAC_ADDR		= -10,
 	IAVF_ERR_DEVICE_NOT_SUPPORTED		= -11,
-	IAVF_ERR_MASTER_REQUESTS_PENDING	= -12,
+	IAVF_ERR_PRIMARY_REQUESTS_PENDING	= -12,
 	IAVF_ERR_INVALID_LINK_SETTINGS		= -13,
 	IAVF_ERR_AUTONEG_NOT_COMPLETE		= -14,
 	IAVF_ERR_RESET_FAILED			= -15,
drivers/common/iavf/iavf_type.h +90 -2

132 lines not on this page · raw message

drivers/common/iavf/meson.build +1 -1
index 1f4d8b898d..977652223b 100644
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019-2020 Intel Corporation
+# Copyright(c) 2019-2021 Intel Corporation
 
 sources = files('iavf_adminq.c', 'iavf_common.c', 'iavf_impl.c')
 
drivers/common/iavf/siov_regs.h new file +47 -0

47 lines not on this page · raw message

drivers/common/iavf/virtchnl.h +901 -80

1,207 lines not on this page · raw message

drivers/common/iavf/virtchnl_inline_ipsec.h new file +562 -0

562 lines not on this page · raw message

drivers/net/i40e/base/README +1 -1
index 6af2993116..b1da53db2b 100644
@@ -6,7 +6,7 @@ Intel® I40E driver
 ==================
 
 This directory contains source code of FreeBSD i40e driver of version
-cid-i40e.2020.08.27.tar.gz released by the team which develops
+cid-i40e.2022.03.08.tar.gz released by the team which develops
 basic drivers for any i40e NIC. The directory of base/ contains the
 original source package.
 This driver is valid for the product(s) listed below
drivers/net/i40e/base/i40e_adminq.c +65 -8

26 lines not on this page · raw message

drivers/net/i40e/base/i40e_adminq_cmd.h +40 -9

49 lines not on this page · raw message

drivers/net/i40e/base/i40e_common.c +161 -24

185 lines not on this page · raw message

drivers/net/i40e/base/i40e_dcb.c +7 -1
index 46add19c9f..8f9b7e823f 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_devids.h +2 -0
index 02ae7be550..be261423b8 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_osdep.h +1 -1
index c9287ff255..437fb03f4d 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_prototype.h +18 -0
index 124222e476..8c21ac71ab 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_register.h +18 -37

55 lines not on this page · raw message

drivers/net/i40e/base/i40e_status.h +1 -1
index cd72169f14..89b05ede3e 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_type.h +24 -1
index 4674715ed7..3cfb0ca430 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_ethdev.c +49 -14

63 lines not on this page · raw message

drivers/net/i40e/i40e_ethdev_vf.c +1 -5
index b56f9f9149..e6adbb425e 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_regs.h +1 -10
index b19bb1d5a5..cf62c9dfb7 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_rxtx.c +5 -1
index b26bd0640d..91ccc345f0 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_ethdev.c +44 -3

47 lines not on this page · raw message

drivers/net/iavf/iavf_rxtx.c +74 -29

103 lines not on this page · raw message

drivers/net/iavf/iavf_rxtx.h +2 -38
index decfe3ad4c..2d48b65922 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_avx2.c +1 -1
index a006d90a24..c20e9ccaa9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_avx512.c +2 -2
index f61681474c..5a84c42cf9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_common.h +1 -1
index 7629474508..3dfd921df9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_sse.c +2 -2
index 3298d71317..572078c7cd 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_vchnl.c +3 -2
index 1460330572..156ccd21e4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ice/ice_dcf.c +2 -2
index e371b3dc67..db24c554f7 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.27.0

Part of the diff is not shown here. View the raw message.

author
#1 lore raw

RFC v2 1/1 net/i40e: backport i40e fixes and share code to 20.11.4

Backport all the i40e share code to 20.11.4 based on cid-i40e.2022.03.08.

Backport all DPDK fixes of i40e and iavf to 20.11.4 from 22.03.

---
v2: add new device id for i40e.

---
 drivers/common/iavf/README                  |   4 +-
 drivers/common/iavf/iavf_adminq.c           |   2 +-
 drivers/common/iavf/iavf_adminq.h           |   2 +-
 drivers/common/iavf/iavf_adminq_cmd.h       |   2 +-
 drivers/common/iavf/iavf_alloc.h            |   2 +-
 drivers/common/iavf/iavf_common.c           | 863 ++++++++++++++++-
 drivers/common/iavf/iavf_devids.h           |   3 +-
 drivers/common/iavf/iavf_impl.c             |   2 +-
 drivers/common/iavf/iavf_osdep.h            |   7 +-
 drivers/common/iavf/iavf_prototype.h        |   6 +-
 drivers/common/iavf/iavf_register.h         |   2 +-
 drivers/common/iavf/iavf_status.h           |   4 +-
 drivers/common/iavf/iavf_type.h             |  92 +-
 drivers/common/iavf/meson.build             |   2 +-
 drivers/common/iavf/siov_regs.h             |  47 +
 drivers/common/iavf/virtchnl.h              | 981 ++++++++++++++++++--
 drivers/common/iavf/virtchnl_inline_ipsec.h | 562 +++++++++++
 drivers/net/i40e/base/README                |   2 +-
 drivers/net/i40e/base/i40e_adminq.c         |  73 +-
 drivers/net/i40e/base/i40e_adminq_cmd.h     |  49 +-
 drivers/net/i40e/base/i40e_common.c         | 185 +++-
 drivers/net/i40e/base/i40e_dcb.c            |   8 +-
 drivers/net/i40e/base/i40e_devids.h         |   2 +
 drivers/net/i40e/base/i40e_osdep.h          |   2 +-
 drivers/net/i40e/base/i40e_prototype.h      |  18 +
 drivers/net/i40e/base/i40e_register.h       |  55 +-
 drivers/net/i40e/base/i40e_status.h         |   2 +-
 drivers/net/i40e/base/i40e_type.h           |  25 +-
 drivers/net/i40e/i40e_ethdev.c              |  66 +-
 drivers/net/i40e/i40e_ethdev_vf.c           |   6 +-
 drivers/net/i40e/i40e_regs.h                |  11 +-
 drivers/net/i40e/i40e_rxtx.c                |   6 +-
 drivers/net/iavf/iavf_ethdev.c              |  47 +-
 drivers/net/iavf/iavf_rxtx.c                | 103 +-
 drivers/net/iavf/iavf_rxtx.h                |  40 +-
 drivers/net/iavf/iavf_rxtx_vec_avx2.c       |   2 +-
 drivers/net/iavf/iavf_rxtx_vec_avx512.c     |   4 +-
 drivers/net/iavf/iavf_rxtx_vec_common.h     |   2 +-
 drivers/net/iavf/iavf_rxtx_vec_sse.c        |   4 +-
 drivers/net/iavf/iavf_vchnl.c               |   5 +-
 drivers/net/ice/ice_dcf.c                   |   4 +-
 41 files changed, 3004 insertions(+), 300 deletions(-)
 create mode 100644 drivers/common/iavf/siov_regs.h
 create mode 100644 drivers/common/iavf/virtchnl_inline_ipsec.h
drivers/common/iavf/README +2 -2
index 5a42750465..f59839ff97 100644
@@ -1,12 +1,12 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Intel Corporation
+ * Copyright(c) 2019-2021 Intel Corporation
  */
 
 Intel® IAVF driver
 =================
 
 This directory contains source code of FreeBSD IAVF driver of version
-cid-avf.2020.10.14.tar.gz released by the team which develops
+cid-avf.2022.03.08.tar.gz released by the team which develops
 basic drivers for any IAVF NIC. The directory of base/ contains the
 original source package.
 
drivers/common/iavf/iavf_adminq.c +1 -1
index 8d03de0553..9c36e8908e 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #include "iavf_status.h"
drivers/common/iavf/iavf_adminq.h +1 -1
index 93214162eb..e2374f9b95 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ADMINQ_H_
drivers/common/iavf/iavf_adminq_cmd.h +1 -1
index 5b748426ad..2a3006a526 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ADMINQ_CMD_H_
drivers/common/iavf/iavf_alloc.h +1 -1
index 7b7a205cff..6ef8da65a1 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_ALLOC_H_
drivers/common/iavf/iavf_common.c +854 -9

897 lines not on this page · raw message

drivers/common/iavf/iavf_devids.h +2 -1
index 2e63aac289..3e09e5feb8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_DEVIDS_H_
@@ -13,5 +13,6 @@
 #define IAVF_DEV_ID_VF_HV		0x1571
 #define IAVF_DEV_ID_ADAPTIVE_VF		0x1889
 #define IAVF_DEV_ID_X722_VF		0x37CD
+#define IAVF_DEV_ID_X722_A0_VF          0x374D
 
 #endif /* _IAVF_DEVIDS_H_ */
drivers/common/iavf/iavf_impl.c +1 -1
index f80878b9fd..4284585f5d 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2019-2020 Intel Corporation
+ * Copyright(c) 2019-2021 Intel Corporation
  */
 
 #include <stdio.h>
drivers/common/iavf/iavf_osdep.h +6 -1
index 7cba13ff74..0ea7ea0efe 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2017-2020 Intel Corporation
+ * Copyright(c) 2017-2021 Intel Corporation
  */
 
 #ifndef _IAVF_OSDEP_H_
@@ -123,6 +123,11 @@ writeq(uint64_t value, volatile void *addr)
 #define IAVF_PCI_REG_WRITE(reg, value)         writel(value, reg)
 #define IAVF_PCI_REG_WRITE_RELAXED(reg, value) writel_relaxed(value, reg)
 
+#define IAVF_PCI_REG_WC_WRITE(reg, value) \
+	rte_write32_wc((rte_cpu_to_le_32(value)), reg)
+#define IAVF_PCI_REG_WC_WRITE_RELAXED(reg, value) \
+	rte_write32_wc_relaxed((rte_cpu_to_le_32(value)), reg)
+
 #define IAVF_READ_REG(hw, reg)                 rd32(hw, reg)
 #define IAVF_WRITE_REG(hw, reg, value)         wr32(hw, reg, value)
 
drivers/common/iavf/iavf_prototype.h +3 -3
index f34e77db0f..16cb973bb8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_PROTOTYPE_H_
@@ -69,7 +69,7 @@ enum iavf_status iavf_set_mac_type(struct iavf_hw *hw);
 
 extern struct iavf_rx_ptype_decoded iavf_ptype_lookup[];
 
-STATIC INLINE struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype)
+STATIC INLINE struct iavf_rx_ptype_decoded decode_rx_desc_ptype(u16 ptype)
 {
 	return iavf_ptype_lookup[ptype];
 }
@@ -87,7 +87,7 @@ enum iavf_status iavf_vf_reset(struct iavf_hw *hw);
 __rte_internal
 enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,
 				enum virtchnl_ops v_opcode,
-				enum iavf_status v_retval,
+				enum virtchnl_status_code v_retval,
 				u8 *msg, u16 msglen,
 				struct iavf_asq_cmd_details *cmd_details);
 enum iavf_status iavf_aq_debug_dump(struct iavf_hw *hw, u8 cluster_id,
drivers/common/iavf/iavf_register.h +1 -1
index 03d62a9da7..328100138d 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_REGISTER_H_
drivers/common/iavf/iavf_status.h +2 -2
index f425638063..4dd0f5c5d8 100644
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2001-2020 Intel Corporation
+ * Copyright(c) 2001-2021 Intel Corporation
  */
 
 #ifndef _IAVF_STATUS_H_
@@ -19,7 +19,7 @@ enum iavf_status {
 	IAVF_ERR_ADAPTER_STOPPED		= -9,
 	IAVF_ERR_INVALID_MAC_ADDR		= -10,
 	IAVF_ERR_DEVICE_NOT_SUPPORTED		= -11,
-	IAVF_ERR_MASTER_REQUESTS_PENDING	= -12,
+	IAVF_ERR_PRIMARY_REQUESTS_PENDING	= -12,
 	IAVF_ERR_INVALID_LINK_SETTINGS		= -13,
 	IAVF_ERR_AUTONEG_NOT_COMPLETE		= -14,
 	IAVF_ERR_RESET_FAILED			= -15,
drivers/common/iavf/iavf_type.h +90 -2

132 lines not on this page · raw message

drivers/common/iavf/meson.build +1 -1
index 1f4d8b898d..977652223b 100644
@@ -1,5 +1,5 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2019-2020 Intel Corporation
+# Copyright(c) 2019-2021 Intel Corporation
 
 sources = files('iavf_adminq.c', 'iavf_common.c', 'iavf_impl.c')
 
drivers/common/iavf/siov_regs.h new file +47 -0

47 lines not on this page · raw message

drivers/common/iavf/virtchnl.h +901 -80

1,207 lines not on this page · raw message

drivers/common/iavf/virtchnl_inline_ipsec.h new file +562 -0

562 lines not on this page · raw message

drivers/net/i40e/base/README +1 -1
index 6af2993116..b1da53db2b 100644
@@ -6,7 +6,7 @@ Intel® I40E driver
 ==================
 
 This directory contains source code of FreeBSD i40e driver of version
-cid-i40e.2020.08.27.tar.gz released by the team which develops
+cid-i40e.2022.03.08.tar.gz released by the team which develops
 basic drivers for any i40e NIC. The directory of base/ contains the
 original source package.
 This driver is valid for the product(s) listed below
drivers/net/i40e/base/i40e_adminq.c +65 -8

26 lines not on this page · raw message

drivers/net/i40e/base/i40e_adminq_cmd.h +40 -9

49 lines not on this page · raw message

drivers/net/i40e/base/i40e_common.c +161 -24

185 lines not on this page · raw message

drivers/net/i40e/base/i40e_dcb.c +7 -1
index 46add19c9f..8f9b7e823f 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_devids.h +2 -0
index 02ae7be550..be261423b8 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_osdep.h +1 -1
index c9287ff255..437fb03f4d 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_prototype.h +18 -0
index 124222e476..8c21ac71ab 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_register.h +18 -37

55 lines not on this page · raw message

drivers/net/i40e/base/i40e_status.h +1 -1
index cd72169f14..89b05ede3e 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/base/i40e_type.h +24 -1
index 4674715ed7..3cfb0ca430 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_ethdev.c +52 -14

66 lines not on this page · raw message

drivers/net/i40e/i40e_ethdev_vf.c +1 -5
index b56f9f9149..e6adbb425e 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_regs.h +1 -10
index b19bb1d5a5..cf62c9dfb7 100644

Lines of this file are not shown. View the raw message.

drivers/net/i40e/i40e_rxtx.c +5 -1
index b26bd0640d..91ccc345f0 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_ethdev.c +44 -3

47 lines not on this page · raw message

drivers/net/iavf/iavf_rxtx.c +74 -29

103 lines not on this page · raw message

drivers/net/iavf/iavf_rxtx.h +2 -38
index decfe3ad4c..2d48b65922 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_avx2.c +1 -1
index a006d90a24..c20e9ccaa9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_avx512.c +2 -2
index f61681474c..5a84c42cf9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_common.h +1 -1
index 7629474508..3dfd921df9 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_rxtx_vec_sse.c +2 -2
index 3298d71317..572078c7cd 100644

Lines of this file are not shown. View the raw message.

drivers/net/iavf/iavf_vchnl.c +3 -2
index 1460330572..156ccd21e4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ice/ice_dcf.c +2 -2
index e371b3dc67..db24c554f7 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.27.0

Part of the diff is not shown here. View the raw message.