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 403C9A034F; Fri, 26 Feb 2021 07:32:05 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6AE6407FF; Fri, 26 Feb 2021 07:32:04 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 306FE40692 for ; Fri, 26 Feb 2021 07:32:03 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id F2F12A0547; Fri, 26 Feb 2021 07:32:02 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 26 Feb 2021 06:32:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 20.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: huangying-c@360.cn 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 Subject: [dpdk-dev] =?utf-8?b?W0J1ZyA2NDNdIGFmX3hkcOmpseWKqOmAoOaIkHJ0?= =?utf-8?b?ZV9yeF9xdWV1ZV9zZXR1cOeahGNvcmVkdW1w6Zeu6aKY?= 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D643 Bug ID: 643 Summary: af_xdp=E9=A9=B1=E5=8A=A8=E9=80=A0=E6=88=90rte_rx_queue_= setup=E7=9A=84coredump=E9=97=AE=E9=A2=98 Product: DPDK Version: 20.05 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: huangying-c@360.cn Target Milestone: --- driver/net/af_xdp/rte_eth_af_xdp.c xsk_configure=E4=B8=AD=E8=B0=83=E7=94=A8=E4=BA=86rte_pktmbuf_alloc_bulk,=E5= =BD=93rte_pktmbuf_alloc_bulk=E8=B0=83=E7=94=A8=E5=A4=B1=E8=B4=A5=E5=90=8Exs= k_configure=E4=BB=8D=E7=84=B6=E8=BF=94=E5=9B=9E0=EF=BC=8C=E9=80=A0=E6=88=90= =E8=B0=83=E7=94=A8rte_eth_rx_queue_setup=E6=97=B6=E4=B8=8D=E4=BC=9A=E8=BF= =94=E5=9B=9E=E5=A4=B1=E8=B4=A5=EF=BC=8C=E4=BD=86=E6=98=AF=E5=9C=A8xsk_confi= gure=E4=B8=AD=E5=B7=B2=E7=BB=8F=E8=B0=83=E7=94=A8=E4=BA=86xdp_umem_destroy= =E5=9B=9E=E6=94=B6=E4=BA=86=E5=86=85=E5=AD=98=EF=BC=8C=E5=BD=93=E5=86=8D=E6= =AC=A1=E8=B0=83=E7=94=A8rte_eth_rx_queue_setup=E6=97=B6=E9=80=A0=E6=88=90co= redump=EF=BC=8C=E4=BB=A3=E7=A0=81=E5=A6=82=E4=B8=8B=EF=BC=9A static int xsk_configure(struct pmd_internals *internals, struct pkt_rx_queue *rxq, int ring_size) { struct xsk_socket_config cfg; struct pkt_tx_queue *txq =3D rxq->pair; int ret =3D 0; ........... #if defined(XDP_UMEM_UNALIGNED_CHUNK_FLAG) if (rte_pktmbuf_alloc_bulk(rxq->umem->mb_pool, fq_bufs, reserve_size)) { AF_XDP_LOG(DEBUG, "Failed to get enough buffers for fq.\n"); goto err; } #endif err: xdp_umem_destroy(rxq->umem); return ret; } =E8=BF=99=E8=AE=A9=E4=BD=BF=E7=94=A8=E8=BF=99=E5=9C=A8=E4=BD=BF=E7=94=A8rte= _eth_rx_queue_setup=E6=97=B6=E6=97=A0=E6=B3=95=E6=A0=B9=E6=8D=AE=E8=BF=94= =E5=9B=9E=E7=9A=84=E9=94=99=E8=AF=AF=E8=BF=9B=E8=A1=8C=E7=9B=B8=E5=BA=94=E7= =9A=84=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86 --=20 You are receiving this mail because: You are the assignee for the bug.=