|WARNING| pw134956 [RFC v1] raw/ntb: add support for 6th Gen Intel Xeon

qemudev at loongson.cn qemudev at loongson.cn
Fri Dec 8 08:51:16 CET 2023


Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/134956

_apply patch failure_

Submitter: Junfeng Guo <junfeng.guo at intel.com>
Date: Fri,  8 Dec 2023 16:07:59 +0800
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: f2d5afbb2c05d7647da7ea914887c52115652651

Apply patch set 134956 failed:

Checking patch doc/guides/rawdevs/ntb.rst...
error: while searching for:

This PMD is only supported on Intel Xeon Platforms:

- 5th Generation Intel® Xeon® Scalable Processors. (NTB GEN4 device id: 0x347E)
- 4th Generation Intel® Xeon® Scalable Processors. (NTB GEN4 device id: 0x347E)
- 3rd Generation Intel® Xeon® Scalable Processors. (NTB GEN4 device id: 0x347E)

error: patch failed: doc/guides/rawdevs/ntb.rst:153
error: doc/guides/rawdevs/ntb.rst: patch does not apply
Checking patch drivers/raw/ntb/ntb.c...
error: while searching for:
static const struct rte_pci_id pci_id_ntb_map[] = {
	{ RTE_PCI_DEVICE(NTB_INTEL_VENDOR_ID, NTB_INTEL_DEV_ID_B2B_GEN3) },
	{ RTE_PCI_DEVICE(NTB_INTEL_VENDOR_ID, NTB_INTEL_DEV_ID_B2B_GEN4) },
	{ .vendor_id = 0, /* sentinel */ },
};


error: patch failed: drivers/raw/ntb/ntb.c:26
error: drivers/raw/ntb/ntb.c: patch does not apply
Checking patch drivers/raw/ntb/ntb.h...
error: while searching for:
/* Device IDs */
#define NTB_INTEL_DEV_ID_B2B_GEN3   0x201C
#define NTB_INTEL_DEV_ID_B2B_GEN4   0x347E

/* Reserved to app to use. */
#define NTB_SPAD_USER               "spad_user_"

error: patch failed: drivers/raw/ntb/ntb.h:19
error: drivers/raw/ntb/ntb.h: patch does not apply
Checking patch drivers/raw/ntb/ntb_hw_intel.c...
Hunk #1 succeeded at 138 (offset 40 lines).
error: while searching for:
		return -EIO;
	}

	reg_val = rte_read32(hw->hw_addr + XEON_NTB4_PPD1_OFFSET);

	/* Distinguish HW platform (3rd Gen Xeon) via PCI Revision ID */
	if (revision_id <= NTB_PCI_DEV_REVISION_ICX_MAX &&

error: patch failed: drivers/raw/ntb/ntb_hw_intel.c:112
error: drivers/raw/ntb/ntb_hw_intel.c: patch does not apply
Checking patch drivers/raw/ntb/ntb_hw_intel.h...
error: while searching for:
#define XEON_CORERRSTS_OFFSET		0x0158
#define XEON_NTB3_LINK_STATUS_OFFSET	0x01a2
/* Link status and PPD are in MMIO but not config space for Gen4/5 NTB */
#define XEON_NTB4_PPD0_OFFSET		0xb0d4
#define XEON_NTB4_PPD1_OFFSET		0xb4c0
#define XEON_NTB4_LINK_CTRL_OFFSET	0xb050
#define XEON_NTB4_LINK_STATUS_OFFSET	0xb052
#define XEON_NTB4_LINK_CTRL_LINK_DIS	0x0010


#define XEON_NTBCNTL_OFFSET		0x0000

error: patch failed: drivers/raw/ntb/ntb_hw_intel.h:42
error: drivers/raw/ntb/ntb_hw_intel.h: patch does not apply
Checking patch usertools/dpdk-devbind.py...
error: while searching for:
                  'SVendor': None, 'SDevice': None}
intel_idxd_spr = {'Class': '08', 'Vendor': '8086', 'Device': '0b25',
                  'SVendor': None, 'SDevice': None}
intel_ntb = {'Class': '06', 'Vendor': '8086', 'Device': '201c,347e',
             'SVendor': None, 'SDevice': None}

cnxk_sso = {'Class': '08', 'Vendor': '177d', 'Device': 'a0f9,a0fa',

error: patch failed: usertools/dpdk-devbind.py:60
error: usertools/dpdk-devbind.py: patch does not apply



More information about the test-report mailing list