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 77D26438DE; Thu, 18 Jan 2024 06:22:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 416D7402B0; Thu, 18 Jan 2024 06:22:04 +0100 (CET) Received: from GBR01-CWX-obe.outbound.protection.outlook.com (mail-cwxgbr01on2070.outbound.protection.outlook.com [40.107.121.70]) by mails.dpdk.org (Postfix) with ESMTP id 381C3400D7 for ; Thu, 18 Jan 2024 06:22:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jdiDselcjK0DhRvDg1hFWchsHr37g2bJf/MO1XRvNksE8ci8e+oQ9rVgt76GYdB+9UIWOWGmD+7jz9MhBQcCevB5BcHrepwnpKV1onRs0eiXJ0YLpo447tOaBFqXhKZvUxnrlPzabAUOOLra3nvGvPBtIATvE3cbMUEO1TuB8st1JQqsCaTesIqaoATekpEY1jaUbuZpkzbH7HKVqyxzhB4jozgXfBfgL/3DrpdDIZC6G6An4nWrmWit2S/liJN/z/0lISh70tXrZXCXCsFp2QR0VD3/V8uUaZHh7OUp1ohKipRXJwneOfMHKAKWPvASn3hoNrpFHjZ22fhkc5xzrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=el8Tk/xsr8pXwY8a3SX+ZPSuHoYmPinANa5JoBRIBsY=; b=Y6crwDNuJ5TDQL6KUMG0gEQJ3fpfo0Jm1BtMv5lRCNYaWHOsog09T6RZmkMrdaCC7WMBKmr7jEPGnpigPc84xP17GgJS7rDSXnE45S8Zk2l8/+wg2Ow7VuZqmAuR2zfTWn6Q47spVgnz/adHui0mbDSz0hS0p3LmnhY78lDoeKXlZ5A4qh7vctHKQXwtect1zndD7AYnBwgHz5WnsLFUl4bHYbrlHp0otyVyyVy1AjIwklzeaj8VLnvTETczFtSuPVUUdFQwBS1aocodlOAH64E6zsJR0xhMP6cgh4rPD+Nu4SCNNO3QOk9qZeEW7Pp8AmXnBW2Vf9vtdoBCL6T+Aw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ewitech.co.uk; dmarc=pass action=none header.from=ewitech.co.uk; dkim=pass header.d=ewitech.co.uk; arc=none Received: from CWLP123MB7028.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:1f7::11) by CWXP123MB3112.GBRP123.PROD.OUTLOOK.COM (2603:10a6:400:3e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Thu, 18 Jan 2024 05:21:59 +0000 Received: from CWLP123MB7028.GBRP123.PROD.OUTLOOK.COM ([fe80::40c6:b909:4c07:77ec]) by CWLP123MB7028.GBRP123.PROD.OUTLOOK.COM ([fe80::40c6:b909:4c07:77ec%7]) with mapi id 15.20.7202.024; Thu, 18 Jan 2024 05:21:59 +0000 From: James Tervit To: "dev@dpdk.org" Subject: Ubuntu Upgrade 20.04.6 to 22.04 Jammy 23.06 HomeGateway example Thread-Topic: Ubuntu Upgrade 20.04.6 to 22.04 Jammy 23.06 HomeGateway example Thread-Index: AQHaSc5CwNgZhXhl6EiHp771x+RlQQ== Date: Thu, 18 Jan 2024 05:21:59 +0000 Message-ID: References: <20240117101749.257581-1-qiming.yang@intel.com> In-Reply-To: <20240117101749.257581-1-qiming.yang@intel.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ewitech.co.uk; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CWLP123MB7028:EE_|CWXP123MB3112:EE_ x-ms-office365-filtering-correlation-id: 064a0577-040d-4781-6b12-08dc17e56545 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dQVzV7SR2t2+/KKeSyjJUggYYkXWSURXieIQFXbhGbJUhkSntdaXKt8kJKQrFZEKpHxn6RuBs/u+Shh39Wm1ruUZKbOjM7v42lNM+Gl0h9oVZzgXcSPKgWZRcmcFY94CvCVlEl1rbe2DXe4iDypQWGwTRifKqaaLm89mRR5tSPb5YOne2o+VBtlcuAhwrIeoXaf8hklE92NLzWhiE/OSQ07Z3suB14jEqgEeMhHy80MMskhMuKQe2BtnryeGSjSqEhPOw5ea+nOaKsmTcBvZzY+4l3uOo9cf+bPk6Z7McraJ/aRUyqxILdVAqo5BAvur6wTT2/TETZpCGwm22Bh8ow87tWai1H90gr0eHbyK9TIW1QFYs4qz/1dvCFXwC0rOCDNbQzJmRv4vf4dxG03UfEWTDtxUkEjMYgHLtsINQDrZmUcKNrgP+KwFNUECvtMHfjY6rH/kTBJ4i7AvVQaT710fVbCc8stlRv3l3U94JqPW6AnGMf6Bx3XiK1rAOWAGnq3o0cVSJIybvWMBE1XsCzfQEeA50Imm5Phe0WU7Ani6jfYsToLHQOC1untsQw6kkc6o5GrEy5gDhIiy4HS3mSFNIxHu5bOaQcYPGto2CVw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWLP123MB7028.GBRP123.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(376002)(346002)(39830400003)(366004)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(122000001)(38100700002)(83380400001)(478600001)(55016003)(71200400001)(7696005)(6506007)(9686003)(966005)(66946007)(76116006)(316002)(91956017)(64756008)(66476007)(66556008)(8936002)(8676002)(5660300002)(52536014)(86362001)(66446008)(6916009)(38070700009)(2906002)(33656002)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?tLVMXBc6B0EczpKyxWqgINBHFrt170SUQIgIEW9mZAOVkUL0zuWjAUXl?= =?Windows-1252?Q?IW6MexT9lY3drVvTKU4oXQOgqKOVTrd0C30BG1r0kTswfebVOqWAKmUM?= =?Windows-1252?Q?m/CpEAyc4VpQFOcmgi0hUVWcUM9hNnwDs9GdhFwvsh/7jdn2WuW1J2Om?= =?Windows-1252?Q?7cRZmn5+9Of98EfHhnGJuCCq5ZshaDw3DvNUtsptT6+DJ8zTUW8SScnR?= =?Windows-1252?Q?G1yjcb5TF6eJw9uFTHHP0g5LuLQ4+a2KM44tHeYO6q+PNgSWmbxtCIma?= =?Windows-1252?Q?A98tVTviTdNvgV6TLSY/STfvVv4lMfpIE8YhNzU4Hc69vFfWCKG8a5em?= =?Windows-1252?Q?8wTEH5gL8ZYhyzuyaWw9vC5MIkP6z+Pm6KuIeS7nMp80eIq3pMgaucDX?= =?Windows-1252?Q?XbGv6KA3EWWuYVB9tNXxgQsVTICwiLhOTsxhbxwGCaTU13c3WwVkND8R?= =?Windows-1252?Q?mm3B8RVmbkudf/ok/BHkc3bQvLDiHr0Jz4OdeDsyWJTFw1o4jAKDsdlD?= =?Windows-1252?Q?OdEa+Tw6kgX33rZ/HS3P16Cy6AV2S0gE8WdS7wnTSGvl1uDpP3CZgYXC?= =?Windows-1252?Q?RNdAvjspXNZ7fPF+s8NF0buHRDIjAc0rIKQn6Mvv+/7KTjNo3BkB/REK?= =?Windows-1252?Q?n1o+yIdYdqEAUw5XGc/s5560M8owi1/IShtJHm0aNhbDWx4ypyHoGrzr?= =?Windows-1252?Q?FHIhAMRURSSCD5RYM9da1l3jRxj0QwMJaOWbWK7gY0g+k0yxEy4t/tUH?= =?Windows-1252?Q?jgJYlj991tGlRnfYAwk6AvLSz1k05cXhcEvWlBOxhHoKH34IE5Tia2QY?= =?Windows-1252?Q?c+Jr6hC4XeM4seD4H5U49BDbgQhBI4Xq7kcXQQg8+YglAduwMTi6kHLs?= =?Windows-1252?Q?4C0EJxDxPYOreqp6piAsPW+nCsL56NhK9XAOJwCB5PrmVWlOGOPEEqWv?= =?Windows-1252?Q?L7QDUybmliCVRU/3+z5dl6DRPCOI8wqI8Z4T9b1g0/rHwqhb1xbchYki?= =?Windows-1252?Q?39wrHbmS1zWFkewRfCnzz+da8J3zGCk0k6hokLD5RtZX/4WgV8NZg2L1?= =?Windows-1252?Q?TfEZ+YohQIpgTOY4BJBRVdauzoMZ/WUHw/KI7f8GJGj138AxZqToCmB2?= =?Windows-1252?Q?IOYQFyT5SP5/Uxy9xtZAZ1oM372QdPK+UQ5qOfom1TLgpX7BAcidPEcb?= =?Windows-1252?Q?jXEFIhE4La8rlxVNoxbVd3iraQZ0IzotyCJYMInKlq9fqkEuCPE4kMG/?= =?Windows-1252?Q?JgY929Qv3eb0lRoGHu5bXvSCbhOtng5YEy9dToljsvvFRefrvurCsIl0?= =?Windows-1252?Q?NjLK/WafoJ5zB5CgfMS32fqwFk0jby5I4PD6IU7JT2v0vAWcyicbto7I?= =?Windows-1252?Q?WGTeiy2mAn83GFzEPgGiaCBpdzYqoJlXkDQnfo0I7hOCC2oZ7Xj69hyt?= =?Windows-1252?Q?qegu1FuFz/eeCUzQl+82VIK9M2Cnm4mghS4Nl5HSrkHASSpWTeaU1UJ1?= =?Windows-1252?Q?bsuldpzzLkukm/BaktIJe2LRz8Ti7vYFam0mHPs+OPnhIJZxYZNCvtuh?= =?Windows-1252?Q?VSxzAWUZpLcklQBS7xZdW7Qb7AkhW0w4E4BNM2Z0hFclWjABGIwQmlge?= =?Windows-1252?Q?ehO2Ww4WpQwQO1IxFfBh+lvjmRTNaB7xzV1fwkeWSYkDNQRUnNhhnAn0?= =?Windows-1252?Q?nLru/v4WK1IlEv3AqRu/8NoC0VD41COiHxwrKV3sv/6xzUfG7fiXbdwE?= =?Windows-1252?Q?GI9FUFoeju7KaRVNOZnnuzY3cwc10NVtn1OBidNDAlKsEXx521rnonYM?= =?Windows-1252?Q?YWJQUGHUAp1XHwra4wTIlMFpnN8=3D?= Content-Type: multipart/alternative; boundary="_000_CWLP123MB70284ED45DDE9027CCEFBE62DF722CWLP123MB7028GBRP_" MIME-Version: 1.0 X-OriginatorOrg: ewitech.co.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CWLP123MB7028.GBRP123.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 064a0577-040d-4781-6b12-08dc17e56545 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2024 05:21:59.3748 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f46b2ceb-6c84-486b-b48b-f9333836407f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fV0XK6BHZvHimo0n8oQksuNzly7QO3Qpr/3g1cZ/D2/84NHhSqSmQ1/G/R3dPTmGAAdZsqq1ubLjD4Md6srFRlaW9OIdffJKGAy94R7HABQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWXP123MB3112 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 --_000_CWLP123MB70284ED45DDE9027CCEFBE62DF722CWLP123MB7028GBRP_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dear DPDK Folks, I am following the latest build of home gateway https://s3-docs.fd.io/vpp/2= 3.06/usecases/home_gateway.html for testing and development. Running Linux PXC-SM-002 5.15.0-91-generic #101-Ubuntu vpp/jammy,now 23.10-release amd64 [installed] PRETTY_NAME=3D"Ubuntu 22.04.3 LTS" NAME=3D"Ubuntu" VERSION_ID=3D"22.04" VERSION=3D"22.04.3 LTS (Jammy Jellyfish)" In my vpp startup.conf, which is calling setup.gate and, in turn, runs setu= p.tmpl I get an error on systemd in bold below. Jan 18 04:23:34 PXC-SM-002 vpp[224896]: set interface l2 bridge: unknown in= terface `GigabitEthernetb7/0/0 1' Jan 18 04:23:34 PXC-SM-002 vpp[224896]: exec: CLI line error: GigabitEthern= etb7/0/0 1 (this is related to setup.tmpl section) Jan 18 04:23:34 PXC-SM-002 vpp[224896]: exec: CLI line error: setup.gate runs define HOSTNAME Gate-001 define TRUNK GigabitEthernet65/0/0 comment { Specific MAC address yields a constant IP address } define TRUNK_MACADDR 3c:ec:ef:da:89:58 define BVI_MACADDR 3c:ce:fe:ad:01:02 comment { inside subnet 192.168..0/24 } define INSIDE_SUBNET 1 comment { Adjust as needed to match PCI addresses of inside network ports } define INSIDE_PORT1 GigabitEthernet65/0/1 define INSIDE_PORT2 GigabitEthernet65/0/2 define INSIDE_PORT3 GigabitEthernet65/0/3 define INSIDE_PORT4 GigabitEthernetb7/0/0 define INSIDE_PORT5 GigabitEthernetb7/0/1 define INSIDE_PORT6 GigabitEthernetb7/0/3 comment { feature selections } define FEATURE_ADL uncomment define FEATURE_NAT44 uncomment define FEATURE_CNAT comment define FEATURE_DNS comment define FEATURE_IP6 comment define FEATURE_IKE_RESPONDER comment define FEATURE_MACTIME uncomment define FEATURE_OVPN uncomment define FEATURE_MODEM_ROUTE uncomment exec /home/pxcghost/VPP/pxc-gate/setup.tmpl The setup.tmpl tries to create inside ports and, for some reason, fails on = one port and stops processing. show macro set int mac address $(TRUNK) $(TRUNK_MACADDR) set dhcp client intfc $(TRUNK) hostname $(HOSTNAME) set int state $(TRUNK) up bvi create instance 0 set int mac address bvi0 $(BVI_MACADDR) set int l2 bridge bvi0 1 bvi set int ip address bvi0 192.168.$(INSIDE_SUBNET).1/24 set int state bvi0 up set int l2 bridge $(INSIDE_PORT1) 1 set int state $(INSIDE_PORT1) up set int l2 bridge $(INSIDE_PORT2) 1 set int state $(INSIDE_PORT2) up set int l2 bridge $(INSIDE_PORT3) 1 set int state $(INSIDE_PORT3) up set int l2 bridge $(INSIDE_PORT4) 1 set int state $(INSIDE_PORT4) up set int l2 bridge $(INSIDE_PORT5) 1 set int state $(INSIDE_PORT5) up set int l2 bridge $(INSIDE_PORT6) 1 set int state $(INSIDE_PORT6) up comment { dhcp server and host-stack access } create tap host-if-name lstack host-ip4-addr 192.168.$(INSIDE_SUBNET).2/24 = host-ip4-gw 192.168.$(INSIDE_SUBNET).1 set int l2 bridge tap0 1 set int state tap0 up service restart isc-dhcp-server $(FEATURE_ADL) { bin adl_interface_enable_disable $(TRUNK) } $(FEATURE_ADL) { ip table 1 } $(FEATURE_ADL) { ip route add table 1 0.0.0.0/0 via local } $(FEATURE_NAT44) { nat44 forwarding enable } $(FEATURE_NAT44) { nat44 plugin enable sessions 63000 } $(FEATURE_NAT44) { nat44 add interface address $(TRUNK) } $(FEATURE_NAT44) { set interface nat44 in bvi0 out $(TRUNK) } comment { iPhones seem to need lots of RA messages... } $(FEATURE_IP6) { ip6 nd bvi0 ra-managed-config-flag ra-other-config-flag ra= -interval 30 20 ra-lifetime 180 } comment { ip6 nd bvi0 prefix 0::0/0 ra-lifetime 100000 } comment { if using the mactime plugin, configure it } $(FEATURE_MACTIME) { bin mactime_add_del_range name roku mac 3c:ec:ef:da:89= :58 allow-static } $(FEATURE_MACTIME) { bin mactime_enable_disable $(INSIDE_PORT1) } $(FEATURE_MACTIME) { bin mactime_enable_disable $(INSIDE_PORT2) } $(FEATURE_MACTIME) { bin mactime_enable_disable $(INSIDE_PORT3) } $(FEATURE_MACTIME) { bin mactime_enable_disable $(INSIDE_PORT4) } $(FEATURE_MODEM_ROUTE) { ip route add 192.168.1.1/23 via $(TRUNK) } for some reason, port4 fails as per the system, and I think it fails on the= DHCP part of the script; any pointers are appreciated. I can bind ports an= d unbind back to kernel with no problem, and I can see the interfaces insid= e vpp and bvi look ok. sudo vppctl show interface, ip addresses not assigned as I think that=92s b= ecause the script doesn=92t process the lstack and dhcp portion due to cras= hing. Name Idx State MTU (L3/IP4/IP6/MPLS) Co= unter Count GigabitEthernet65/0/0 1 up 9000/0/0/0 rx pack= ets 585 rx byte= s 72405 tx pack= ets 3 tx byte= s 1002 drops = 585 ip4 = 228 ip6 = 26 GigabitEthernet65/0/1 2 up 9000/0/0/0 GigabitEthernet65/0/2 3 up 9000/0/0/0 GigabitEthernet65/0/3 4 up 9000/0/0/0 TenGigabitEthernetb7/0/0 5 down 9000/0/0/0 TenGigabitEthernetb7/0/1 6 down 9000/0/0/0 TenGigabitEthernetb7/0/3 7 down 9000/0/0/0 bvi0 8 up 9000/0/0/0 local0 0 down 0/0/0/0 Network devices using DPDK-compatible driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:65:00.0 'I350 Gigabit Network Connection 1521' drv=3Dvfio-pci unused= =3Digb,igb_uio,uio_pci_generic 0000:65:00.1 'I350 Gigabit Network Connection 1521' drv=3Digb_uio unused=3D= igb,vfio-pci,uio_pci_generic 0000:65:00.2 'I350 Gigabit Network Connection 1521' drv=3Digb_uio unused=3D= igb,vfio-pci,uio_pci_generic 0000:65:00.3 'I350 Gigabit Network Connection 1521' drv=3Digb_uio unused=3D= igb,vfio-pci,uio_pci_generic 0000:b7:00.0 'Ethernet Connection X722 for 10GBASE-T 37d2' drv=3Digb_uio un= used=3Di40e,vfio-pci,uio_pci_generic 0000:b7:00.1 'Ethernet Connection X722 for 10GBASE-T 37d2' drv=3Digb_uio un= used=3Di40e,vfio-pci,uio_pci_generic 0000:b7:00.3 'Ethernet Connection X722 for 10GbE SFP+ 37d0' drv=3Digb_uio u= nused=3Di40e,vfio-pci,uio_pci_generic Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:b7:00.2 'Ethernet Connection X722 for 10GbE SFP+ 37d0' if=3Deno7 drv= =3Di40e unused=3Digb_uio,vfio-pci,uio_pci_generic *Active* No 'Baseband' devices detected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Crypto devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:b5:00.0 'C62x Chipset QuickAssist Technology 37c8' drv=3Dc6xx unused= =3Dqat_c62x,igb_uio,vfio-pci,uio_pci_generic 0000:b6:00.0 'C62x Chipset QuickAssist Technology 37c8' drv=3Dc6xx unused= =3Dqat_c62x,igb_uio,vfio-pci,uio_pci_generic DMA devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D 0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic 0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_u= io,vfio-pci,uio_pci_generic No 'Eventdev' devices detected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D No 'Mempool' devices detected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D No 'Compress' devices detected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D No 'Misc (rawdev)' devices detected =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D No 'Regex' devices detected Bus info Device Class Description =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D pci@0000:65:00.0 network I350 G= igabit Network Connection pci@0000:65:00.1 network I350 G= igabit Network Connection pci@0000:65:00.2 network I350 G= igabit Network Connection pci@0000:65:00.3 network I350 G= igabit Network Connection pci@0000:b7:00.0 network Ethern= et Connection X722 for 10GBASE-T pci@0000:b7:00.1 network Ethern= et Connection X722 for 10GBASE-T pci@0000:b7:00.2 eno7 network Ethern= et Connection X722 for 10GbE SFP+ pci@0000:b7:00.3 network Ethern= et Connection X722 for 10GbE SFP+ eno7 is reserved to allow me remote access on kernel. Any pointers greatly appreciated --_000_CWLP123MB70284ED45DDE9027CCEFBE62DF722CWLP123MB7028GBRP_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Dear DPDK Folks,

 

I am following the = latest build of home gateway https://s3-docs.fd.io/vpp/23.06/usecases/home_= gateway.html for testing and development.

 

Running =

Linux PXC-SM-002= 5.15.0-91-generic #101-Ubuntu

vpp/jammy,now 23= .10-release amd64 [installed]

PRETTY_NAME=3D&q= uot;Ubuntu 22.04.3 LTS"

NAME=3D"Ubu= ntu"

VERSION_ID=3D&qu= ot;22.04"

VERSION=3D"= 22.04.3 LTS (Jammy Jellyfish)"

 

In my vpp startup.c= onf, which is calling setup.gate and, in turn, runs setup.tmpl I get an err= or on systemd in bold below.

 

Jan 18 04:23:34 = PXC-SM-002 vpp[224896]: set interface l2 bridge: unknown interface `Gigabit= Ethernetb7/0/0 1'

Jan 18 04:23:34 = PXC-SM-002 vpp[224896]: exec: CLI line error: GigabitEthernetb7/0/0 1 (this= is related to setup.tmpl section)

Jan 18 04:23:34 = PXC-SM-002 vpp[224896]: exec: CLI line error:

 

setup.gate runs

 

define HOSTNAME Gat= e-001

define TRUNK Gigabi= tEthernet65/0/0

 

comment { Specific = MAC address yields a constant IP address }

define TRUNK_MACADD= R 3c:ec:ef:da:89:58

define BVI_MACADDR = 3c:ce:fe:ad:01:02

 

comment { inside su= bnet 192.168.<inside_subnet>.0/24 }

define INSIDE_SUBNE= T 1

 

comment { Adjust as= needed to match PCI addresses of inside network ports }<= /p>

define INSIDE_PORT1= GigabitEthernet65/0/1

define INSIDE_PORT2= GigabitEthernet65/0/2

define INSIDE_PORT3= GigabitEthernet65/0/3

define INSIDE_PORT4= GigabitEthernetb7/0/0

define INSIDE_PORT5= GigabitEthernetb7/0/1

define INSIDE_PORT6= GigabitEthernetb7/0/3

 

comment { feature s= elections }

define FEATURE_ADL = uncomment

define FEATURE_NAT4= 4 uncomment

define FEATURE_CNAT= comment

define FEATURE_DNS = comment

define FEATURE_IP6 = comment

define FEATURE_IKE_= RESPONDER comment

define FEATURE_MACT= IME uncomment

define FEATURE_OVPN= uncomment

define FEATURE_MODE= M_ROUTE uncomment

 

exec /home/pxcghost= /VPP/pxc-gate/setup.tmpl

 

The setup.tmpl trie= s to create inside ports and, for some reason, fails on one port and stops = processing.

 

show macro

 

set int mac address= $(TRUNK) $(TRUNK_MACADDR)

set dhcp client int= fc $(TRUNK) hostname $(HOSTNAME)

set int state $(TRU= NK) up

 

bvi create instance= 0

set int mac address= bvi0 $(BVI_MACADDR)

set int l2 bridge b= vi0 1 bvi

set int ip address = bvi0 192.168.$(INSIDE_SUBNET).1/24

set int state bvi0 = up

 

set int l2 bridge $= (INSIDE_PORT1) 1

set int state $(INS= IDE_PORT1) up

set int l2 bridge $= (INSIDE_PORT2) 1

set int state $(INS= IDE_PORT2) up

set int l2 bridge $= (INSIDE_PORT3) 1

set int state $(INS= IDE_PORT3) up

set int l2 bridge $= (INSIDE_PORT4) 1

set int state $(INS= IDE_PORT4) up

set int l2 bridge $= (INSIDE_PORT5) 1

set int state $(INS= IDE_PORT5) up

set int l2 bridge $= (INSIDE_PORT6) 1

set int state $(INS= IDE_PORT6) up

 

 

 

comment { dhcp serv= er and host-stack access }

create tap host-if-= name lstack host-ip4-addr 192.168.$(INSIDE_SUBNET).2/24 host-ip4-gw 192.168= .$(INSIDE_SUBNET).1

set int l2 bridge t= ap0 1

set int state tap0 = up

 

service restart isc= -dhcp-server

 

$(FEATURE_ADL) { bi= n adl_interface_enable_disable $(TRUNK) }

$(FEATURE_ADL) { ip= table 1 }

$(FEATURE_ADL) { ip= route add table 1 0.0.0.0/0 via local }

 

$(FEATURE_NAT44) { = nat44 forwarding enable }

$(FEATURE_NAT44) { = nat44 plugin enable sessions 63000 }

$(FEATURE_NAT44) { = nat44 add interface address $(TRUNK) }

$(FEATURE_NAT44) { = set interface nat44 in bvi0 out $(TRUNK) }

 

comment { iPhones s= eem to need lots of RA messages... }

$(FEATURE_IP6) { ip= 6 nd bvi0 ra-managed-config-flag ra-other-config-flag ra-interval 30 20 ra-= lifetime 180 }

comment { ip6 nd bv= i0 prefix 0::0/0  ra-lifetime 100000 }

 

 

comment { if using = the mactime plugin, configure it }

$(FEATURE_MACTIME) = { bin mactime_add_del_range name roku mac 3c:ec:ef:da:89:58 allow-static }<= o:p>

$(FEATURE_MACTIME) = { bin mactime_enable_disable $(INSIDE_PORT1) }

$(FEATURE_MACTIME) = { bin mactime_enable_disable $(INSIDE_PORT2) }

$(FEATURE_MACTIME) = { bin mactime_enable_disable $(INSIDE_PORT3) }

$(FEATURE_MACTIME) = { bin mactime_enable_disable $(INSIDE_PORT4) }

 

$(FEATURE_MODEM_ROU= TE) { ip route add 192.168.1.1/23 via $(TRUNK) }

for some reason, po= rt4 fails as per the system, and I think it fails on the DHCP part of the s= cript; any pointers are appreciated. I can bind ports and unbind back to ke= rnel with no problem, and I can see the interfaces inside vpp and bvi look ok.

 

sudo vppctl show in= terface, ip addresses not assigned as I think that=92s because the script d= oesn=92t process the lstack and dhcp portion due to crashing.

 

   &= nbsp;          Name  = ;             I= dx    State  MTU (L3/IP4/IP6/MPLS)   &nb= sp; Counter          Count&nbs= p;   

GigabitEthernet65/0= /0             = 1      up       = ;   9000/0/0/0     rx packets  &nbs= p;            &= nbsp;   585

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  rx bytes         &nbs= p;         72405<= /p>

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  tx packets         &n= bsp;           3

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  tx bytes         &nbs= p;          1002

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  drops          &= nbsp;           &nbs= p; 585

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  ip4          &nb= sp;            =    228

   &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;  ip6          &nb= sp;            =     26

GigabitEthernet65/0= /1             = 2      up       = ;   9000/0/0/0    

GigabitEthernet65/0= /2             = 3      up       = ;   9000/0/0/0    

GigabitEthernet65/0= /3             = 4      up       = ;   9000/0/0/0    

TenGigabitEthernetb= 7/0/0          5  &n= bsp;  down         9000/0/0/0&= nbsp;   

TenGigabitEthernetb= 7/0/1          6  &n= bsp;  down         9000/0/0/0&= nbsp;   

TenGigabitEthernetb= 7/0/3          7  &n= bsp;  down         9000/0/0/0&= nbsp;   

bvi0  &nb= sp;            =             &nb= sp;  8      up     &= nbsp;    9000/0/0/0    

local0  &= nbsp;           &nbs= p;             = 0     down       &nb= sp;  0/0/0/0      

 

 

Network devices usi= ng DPDK-compatible driver

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

0000:65:00.0 'I350 = Gigabit Network Connection 1521' drv=3Dvfio-pci unused=3Digb,igb_uio,uio_pc= i_generic

0000:65:00.1 'I350 = Gigabit Network Connection 1521' drv=3Digb_uio unused=3Digb,vfio-pci,uio_pc= i_generic

0000:65:00.2 'I350 = Gigabit Network Connection 1521' drv=3Digb_uio unused=3Digb,vfio-pci,uio_pc= i_generic

0000:65:00.3 'I350 = Gigabit Network Connection 1521' drv=3Digb_uio unused=3Digb,vfio-pci,uio_pc= i_generic

0000:b7:00.0 'Ether= net Connection X722 for 10GBASE-T 37d2' drv=3Digb_uio unused=3Di40e,vfio-pc= i,uio_pci_generic

0000:b7:00.1 'Ether= net Connection X722 for 10GBASE-T 37d2' drv=3Digb_uio unused=3Di40e,vfio-pc= i,uio_pci_generic

0000:b7:00.3 'Ether= net Connection X722 for 10GbE SFP+ 37d0' drv=3Digb_uio unused=3Di40e,vfio-p= ci,uio_pci_generic

 

Network devices usi= ng kernel driver

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

0000:b7:00.2 'Ether= net Connection X722 for 10GbE SFP+ 37d0' if=3Deno7 drv=3Di40e unused=3Digb_= uio,vfio-pci,uio_pci_generic *Active*

 

No 'Baseband' devic= es detected

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

Crypto devices usin= g kernel driver

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

0000:b5:00.0 'C62x = Chipset QuickAssist Technology 37c8' drv=3Dc6xx unused=3Dqat_c62x,igb_uio,v= fio-pci,uio_pci_generic

0000:b6:00.0 'C62x = Chipset QuickAssist Technology 37c8' drv=3Dc6xx unused=3Dqat_c62x,igb_uio,v= fio-pci,uio_pci_generic

 

DMA devices using k= ernel driver

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

0000:00:04.0 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.1 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.2 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.3 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.4 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.5 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.6 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

0000:00:04.7 'Sky L= ake-E CBDMA Registers 2021' drv=3Dioatdma unused=3Digb_uio,vfio-pci,uio_pci= _generic

 

No 'Eventdev' devic= es detected

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

No 'Mempool' device= s detected

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<= /o:p>

 

No 'Compress' devic= es detected

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

No 'Misc (rawdev)' = devices detected

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D

 

No 'Regex' devices detected

 

Bus info  = ;        Device     = Class          Description

=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

pci@0000:65:00.0      &n= bsp;      network     &nb= sp;  I350 Gigabit Network Connection

pci@0000:65:00.1      &n= bsp;      network     &nb= sp;  I350 Gigabit Network Connection

pci@0000:65:00.2      &n= bsp;      network     &nb= sp;  I350 Gigabit Network Connection

pci@0000:65:00.3      &n= bsp;      network     &nb= sp;  I350 Gigabit Network Connection

pci@0000:b7:00.0      &n= bsp;      network     &nb= sp;  Ethernet Connection X722 for 10GBASE-T

pci@0000:b7:00.1      &n= bsp;      network     &nb= sp;  Ethernet Connection X722 for 10GBASE-T

pci@0000:b7:00.2  eno7    &nb= sp;  network        Ethernet Connec= tion X722 for 10GbE SFP+

pci@0000:b7:00.3      &n= bsp;      network     &nb= sp;  Ethernet Connection X722 for 10GbE SFP+

 

eno7 is reserved to= allow me remote access on kernel.

 

Any pointers greatl= y appreciated

--_000_CWLP123MB70284ED45DDE9027CCEFBE62DF722CWLP123MB7028GBRP_--