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 1ACB7A09EA; Wed, 23 Nov 2022 09:57:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EC492410F2; Wed, 23 Nov 2022 09:57:14 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id B2E9140E5A for ; Wed, 23 Nov 2022 09:57:13 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 93C61A09EB; Wed, 23 Nov 2022 09:57:13 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1132] net/i40e changes recommended Rx ring_size after device start Date: Wed, 23 Nov 2022 08:57:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.rybchenko@oktetlabs.ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 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 https://bugs.dpdk.org/show_bug.cgi?id=3D1132 Bug ID: 1132 Summary: net/i40e changes recommended Rx ring_size after device start Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: andrew.rybchenko@oktetlabs.ru Target Milestone: --- net/i40e changes recommended Rx ring_size after device start NIC is Intel X710 It does not make sense since all Rx queues are typically already configured= and started. It happens because of link_speeds condition above: 790 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7} else { 3791 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7/* For X710 */ 3792 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7dev_info->speed_capa =3D RTE_ETH_LINK_SPEED_1G | RTE_ETH_LINK_SPEED_10G; 3793 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7dev_info->default_rxportconf.nb_queues =3D 1; 3794 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7dev_info->default_txportconf.nb_queues =3D 1; 3795 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7if (dev->data->dev_conf.link_speeds & RTE_ETH_LINK_SPEED_10G) { 3796 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= dev_info->default_rxportconf.ring_size =3D 512; 3797 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= dev_info->default_txportconf.ring_size =3D 256; 3798 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7} else { 3799 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= dev_info->default_rxportconf.ring_size =3D 256; 3800 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= dev_info->default_txportconf.ring_size =3D 256; 3801 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=BB=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7} 3802 =C2=BB=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7} which are updated on device start in i40e_apply_link_speed(). Before start default_rxportconf.ring_size is 256, after start it is 512. Found using [1] [1] https://ts-factory.io/doc/dpdk-ethdev-ts/generated/rst/group_usecases-dev_i= nfo_persistence.html#doxid-group-usecases-dev-info-persistence --=20 You are receiving this mail because: You are the assignee for the bug.=