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 6B81142870 for ; Thu, 30 Mar 2023 14:54:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D37242686; Thu, 30 Mar 2023 14:54:17 +0200 (CEST) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) by mails.dpdk.org (Postfix) with ESMTP id E715B41138 for ; Thu, 30 Mar 2023 14:54:16 +0200 (CEST) Received: by mail-lj1-f180.google.com with SMTP id h9so19497306ljq.2 for ; Thu, 30 Mar 2023 05:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680180856; x=1682772856; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ZT3il3XlvzIHnwKAOnpB5M1540z2UV5O3qShWVsN6xM=; b=iHfApTTfCm/61wN3/g5fMr5fVol3ktvaJUzFyhoq5kPGiQQShvFv6VqzB0oEjKxGYP a/6yVL2/5fcKCDEphGNE/iKHNIMEIdbuF2yR1G9+dWsvX8Qxk42zouTXXgugQAgj7RkI LEjR8jeitMwn2D+xghGbDzN5FFV3Hsij2HSh/sxStZCTHMmZQrOHYREi0D3btUjTBhqi fC0dfWTiz2c3chVznm6NduX9+W7MArX2iVDA6VD8WM+6N7hQOtDgaSCSoAVkJbD1IpFe 8vEtL0Udrjk812rxcP2ZfWadn6n9GjvTDeQ/e7XVB8LNbWKFuC1OPpH3KyCma4+CLypJ sASA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680180856; x=1682772856; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZT3il3XlvzIHnwKAOnpB5M1540z2UV5O3qShWVsN6xM=; b=wWDwWmDTFrV46b1HSuOwEzqHAyZdOLBktSdkQPbnaMEhVr4OPFgJFvPlI7orwy/f14 80R1Cm+i2m67nN80LNw9ZNy0Bz4EONrk9m9cA3uxB6ZbwIA8zoOxmX9DHzYsFKa5K4CJ 7gE6E/ntnCvQnlTkdaN0LneKanzLDPZcfGM5IS/3SQbQf4gxLf9PYju4ZgAtYTBR/veA 1teJpXDj18hVKLacm82u5DVk7s0j0gp2vNy5y9sUa8J17x0JwWyFx/31SJzqK40h+511 2IuRRkmVd2j2ymvPuMKo9HgqdJe2cTyrk9bzGGWApiix9AFQEFhy9iMpyjaQDXsE9n5Y gsjw== X-Gm-Message-State: AAQBX9daK+/YHBV42psUN5UWJDafq3DVSFDS9BitcmFzD5LTfJpu8hoq TPl78E809e0aXw3JHrhnWCY= X-Google-Smtp-Source: AKy350YGYKyTi7VPkTkEEbx1Rr06cJaVZolOQ+ReRw+hU3pUm6j4mAsQJklgFaH02Sl2CfXotNdqMQ== X-Received: by 2002:a2e:83d5:0:b0:299:6e0e:3a2a with SMTP id s21-20020a2e83d5000000b002996e0e3a2amr7587656ljh.49.1680180856222; Thu, 30 Mar 2023 05:54:16 -0700 (PDT) Received: from sovereign (broadband-109-173-110-33.ip.moscow.rt.ru. [109.173.110.33]) by smtp.gmail.com with ESMTPSA id a1-20020a05651c010100b00298a8527806sm5911897ljb.93.2023.03.30.05.54.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 05:54:15 -0700 (PDT) Date: Thu, 30 Mar 2023 15:54:14 +0300 From: Dmitry Kozlyuk To: La Rus Cc: users@dpdk.org Subject: Re: Added x710 --- got errno:22 from rte_eth_dev_configure() Message-ID: <20230330155414.2b5d1d26@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi, 2023-03-30 15:01 (UTC+0300), La Rus: > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1378]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : *l_dev_info.tx_offload_capa =3D 0x00119fbf* > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1379]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : *l_port_conf.txmode.offloads =3D 0x00010000* > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1380]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_dev_info.rx_offload_capa =3D 0x0009266f > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1381]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_port_conf.rxmode.offloads =3D 0x00000000 > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1384]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_dev_info.max_tx_queues =3D 320 > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1386]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_nb_tx_queues =3D 8 > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1388]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_dev_info.max_rx_queues =3D 320 > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1390]=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > : l_nb_rx_queues =3D 8 > *Ethdev port_id=3D0 requested Tx offloads 0x10000 doesn't match Tx=20 > offloads capabilities 0x2a03f in rte_eth_dev_configure()* > 30-03-2023 14:49:54.701 145081 [CGWPROC\tootoo2_cgw_start:1396]=20 > %TTR2CGW-F:=C2=A0 _PEA00:, rte_eth_dev_configure()->-22 >=20 > *PEA00 =3D=3D Device:0000:01:00.0* >=20 >=20 > Is there what I'm need to check ? The message says it all: you're requesting Tx offloads not supported by the HW. 0x10000 =3D=3D RTE_BIT(16) =3D=3D RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE, which is supported by i40e but not ixgbe PMD. Can it be that you use rte_eth_dev_info.tx_offload_capa from i40e port to fill txmode.offloads for ixgbe port by mistake?