From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E387242417; Thu, 19 Jan 2023 15:15:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A01DA40223; Thu, 19 Jan 2023 15:15:02 +0100 (CET) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by mails.dpdk.org (Postfix) with ESMTP id D9779400D5 for ; Thu, 19 Jan 2023 15:15:00 +0100 (CET) Received: by mail-yb1-f175.google.com with SMTP id 123so2618272ybv.6 for ; Thu, 19 Jan 2023 06:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=+VNGrEdAbtop2iGSTsxKCDCNwAiFAE79D+lhPSdkKcM=; b=odgQb0V7op03vdbtUF42QgYdevgezLPVtuROQtMeHVraize9y1oS7DcpyyvEOMTKff I4h0CNhH1aG/iixWN6nGDw5cbsbp2GgmyFiunttTVaqVWZYDNXc5Lo6XohizikJtN70Z tNvw3g8atjcQQRz59fj0KN0lKhrG7qfAnKm1xnm0wfL+S2y32UOYdTSX3g6RBF/qknw7 S9DMDm6nWDEFWFfj49xEU9RD2Md3o2/BLH9QtaLuXUdXDwD5zXMAvCXxQUAtTI7tSJPw VGzaAN4B6mTnSOqUzrMb/65lJZx6FOIyh/w0aQlF8uFw9DaN6qOl7oCVtOBFSe9Mtj8Z TYRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+VNGrEdAbtop2iGSTsxKCDCNwAiFAE79D+lhPSdkKcM=; b=CrtDmrPEWI5Bw5hThIPY0n3e+gebwdCd88KwwSafHETY/F2znMtEKUcm/SB2f0xo3j 709dBkGwdo3UmXqdah8Fw/0g/C9WOheCr24rCEU4uugnwsVPf+wnEd6UvKaq/m764eHF LEqJGW40FzF9D0Jh+4kwmfuI72nx2cgqSMHwvUeuBfuE8PA0x3FqZac8Gqk5pG0DoAd9 Bzp8znuCWNThOXqXJKKQ8QXz/D7DTvMYqxbgsRPwboQ02Z+SWAXai6JKvs7elhdxrxSH Mla6CMb1SLTKZrCWTO5F/tLZWFP1xSuUQyMBGtvibb1F442hSAc3K/X8LZwsEgb7zog0 iFJg== X-Gm-Message-State: AFqh2krUthyVVOBJQFJhWJ+6GXeua/gb7WQosi4S2eLpFHt2DmSYAn/w FEoEnDDPeerrdABdgTo4Hxi/2twiOhvyMXtj0jiMPTKM6Lk= X-Google-Smtp-Source: AMrXdXuSCR7R7c+Khxg8hNSrPAnMEsIDHh/2KjZG081F2ztNkcdOeSzL5bQPjqfm68txoh930sOWsV2iwqs3xFTanJA= X-Received: by 2002:a25:7a03:0:b0:7f6:27d5:75b5 with SMTP id v3-20020a257a03000000b007f627d575b5mr763787ybc.115.1674137699758; Thu, 19 Jan 2023 06:14:59 -0800 (PST) MIME-Version: 1.0 From: Ben Magistro Date: Thu, 19 Jan 2023 09:14:48 -0500 Message-ID: Subject: ICE DDP Load assistance To: dev@dpdk.org Cc: ben.magistro@trinitycyber.com, Stefan Baranoff Content-Type: multipart/alternative; boundary="000000000000e63f8205f29e8eb3" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000e63f8205f29e8eb3 Content-Type: text/plain; charset="UTF-8" Hello, We are still trying to track this down but want to reach out to the community and see if there is something obvious we are missing. This happens to be a CentOS 7 based host with DPDK 22.11.1 in use. We have obtained the latest compatible Intel drivers and DDP from https://sourceforge.net/projects/e1000/files/ice%20stable/ , at this time that is version 1.6.7 with DDP 1.3.26.0. As best as we can tell, testpmd is still loading the OS default DDP 1.3.4.0. The updated DDP package is located in /usr/lib/firmware/updates/intel/ice/ddp/ice.pkg. I've added some additional log lines to ice_ethdev.c and ice_ddp.c to try and start debugging. I've attached what I believe is the relevant information below. Quickly jumping out at me is that the pkg_name going into `load_fw` in ice_ethdev.c appears to be the desired path however in `ice_download_pkg` says it does not include a signature. The hex dump from the desired file appears to show a signature which makes us think this file isn't actually being loaded/utilized. We will continue trying to debug this too but any additional assistance would be greatly appreciated. ---- EAL: Probe PCI driver: net_ice (8086:1593) device: 0000:ca:00.2 (socket 1) 1822 pkg: /lib/firmware/updates/intel/ice/ddp/ice-40a6b7ffff843810.pkg 1829 pkg: /lib/firmware/intel/ice/ddp/ice-40a6b7ffff843810.pkg 1835 pkg: /lib/firmware/updates/intel/ice/ddp/ice.pkg 1846 pkg: /lib/firmware/updates/intel/ice/ddp/ice.pkg dl wo sig ice_load_pkg_type(): Active package is: 1.3.4.0, ICE OS Default Package (single VLAN mode) > ls -l /usr/lib/firmware/updates/intel/ice/ddp/ total 624 -rwxr-xr-x. 1 root root 635256 Jan 18 15:53 ice-1.3.26.0.pkg lrwxrwxrwx. 1 root root 56 Jan 18 15:55 ice.pkg -> /usr/lib/firmware/updates/intel/ice/ddp/ice-1.3.26.0.pkg > xxd /usr/lib/firmware/updates/intel/ice/ddp/ice.pkg | head -n 17 0000000: 0100 0000 0400 0000 1800 0000 6c00 0000 ............l... 0000010: d000 0000 4031 0000 0100 0000 0100 0000 ....@1.......... 0000020: 5400 0000 476c 6f62 616c 204d 6574 6164 T...Global Metad 0000030: 6174 6100 0000 0000 0000 0000 0000 0000 ata............. 0000040: 0000 0000 0103 1a00 ffff ffff 4943 4520 ............ICE 0000050: 4f53 2044 6566 6175 6c74 2050 6163 6b61 OS Default Packa 0000060: 6765 0000 0000 0000 0000 0000 0200 0000 ge.............. 0000070: 0100 0000 6400 0000 4e6f 7465 7300 0000 ....d...Notes... 0000080: 0000 0000 0000 0000 0000 0000 0000 0000 ................ 0000090: 0000 0000 0000 0000 496e 7465 6c28 5229 ........Intel(R) 00000a0: 2043 6f6e 6669 6775 7261 626c 6520 5069 Configurable Pi 00000b0: 7065 6c69 6e65 2054 6f6f 6c20 5665 7273 peline Tool Vers 00000c0: 696f 6e20 322e 312e 302e 3330 0a00 ffff ion 2.1.0.30.... 00000d0: 0010 0000 0100 0000 7030 0000 5253 412d ........p0..RSA- 00000e0: 324b 2053 6967 6e61 7475 7265 2053 6567 2K Signature Seg 00000f0: 6d65 6e74 0000 0000 0000 0000 1000 0000 ment............ 0000100: 0100 0000 0300 0000 0300 0000 0000 0000 ................ --000000000000e63f8205f29e8eb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

We are still trying to track thi= s down but want to reach out to the community and see if there is something= obvious we are missing.=C2=A0 This happens to be a CentOS 7 based host wit= h DPDK 22.11.1 in use.=C2=A0 We have obtained=C2=A0the latest compatible In= tel drivers and DDP from=C2=A0https://sourceforge.net/projects/e1000/files/ice%= 20stable/ , at this time that is version 1.6.7 with DDP 1.3.26.0.=C2=A0= As best as we can tell, testpmd is still loading the OS=C2=A0default DDP 1= .3.4.0.=C2=A0 The updated DDP package is located in /usr/lib/firmware/updat= es/intel/ice/ddp/ice.pkg.

I've added some addi= tional log lines to ice_ethdev.c and ice_ddp.c to try and start debugging.= =C2=A0 I've attached what I believe is the relevant information below.= =C2=A0 Quickly jumping out at me is that the pkg_name going into `load_fw` = in ice_ethdev.c appears to be the desired path however in `ice_download_pkg= ` says it does not include a signature.=C2=A0 The hex dump from the desired= file appears to show a signature which makes us think this file isn't = actually being loaded/utilized.

We will continue t= rying to debug this too but any additional assistance would be greatly appr= eciated.

----

EAL: Probe = PCI driver: net_ice (8086:1593) device: 0000:ca:00.2 (socket 1)
1822 pkg= : /lib/firmware/updates/intel/ice/ddp/ice-40a6b7ffff843810.pkg
1829 pkg:= /lib/firmware/intel/ice/ddp/ice-40a6b7ffff843810.pkg
1835 pkg: /lib/fir= mware/updates/intel/ice/ddp/ice.pkg
1846 pkg: /lib/firmware/updates/inte= l/ice/ddp/ice.pkg
dl wo sig
ice_load_pkg_type(): Active package is: 1= .3.4.0, ICE OS Default Package (single VLAN mode)

> ls -l /usr/li= b/firmware/updates/intel/ice/ddp/
total 624
-rwxr-xr-x. 1 root root 6= 35256 Jan 18 15:53 ice-1.3.26.0.pkg
lrwxrwxrwx. 1 root root =C2=A0 =C2= =A0 56 Jan 18 15:55 ice.pkg -> /usr/lib/firmware/updates/intel/ice/ddp/i= ce-1.3.26.0.pkg

> xxd /usr/lib/firmware/updates/intel/ice/ddp/ice= .pkg | head -n 17
0000000: 0100 0000 0400 0000 1800 0000 6c00 0000 =C2= =A0............l...
0000010: d000 0000 4031 0000 0100 0000 0100 0000 =C2= =A0....@1..........
0000020: 5400 0000 476c 6f62 616c 204d 6574 6164 =C2= =A0T...Global Metad
0000030: 6174 6100 0000 0000 0000 0000 0000 0000 =C2= =A0ata.............
0000040: 0000 0000 0103 1a00 ffff ffff 4943 4520 =C2= =A0............ICE
0000050: 4f53 2044 6566 6175 6c74 2050 6163 6b61 =C2= =A0OS Default Packa
0000060: 6765 0000 0000 0000 0000 0000 0200 0000 =C2= =A0ge..............
0000070: 0100 0000 6400 0000 4e6f 7465 7300 0000 =C2= =A0....d...Notes...
0000080: 0000 0000 0000 0000 0000 0000 0000 0000 =C2= =A0................
0000090: 0000 0000 0000 0000 496e 7465 6c28 5229 =C2= =A0........Intel(R)
00000a0: 2043 6f6e 6669 6775 7261 626c 6520 5069 =C2= =A0 Configurable Pi
00000b0: 7065 6c69 6e65 2054 6f6f 6c20 5665 7273 =C2= =A0peline Tool Vers
00000c0: 696f 6e20 322e 312e 302e 3330 0a00 ffff =C2= =A0ion 2.1.0.30....
00000d0: 0010 0000 0100 0000 7030 0000 5253 412d =C2= =A0........p0..RSA-
00000e0: 324b 2053 6967 6e61 7475 7265 2053 6567 =C2= =A02K Signature Seg
00000f0: 6d65 6e74 0000 0000 0000 0000 1000 0000 =C2= =A0ment............
0000100: 0100 0000 0300 0000 0300 0000 0000 0000 =C2= =A0................
--000000000000e63f8205f29e8eb3--