From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BE53AA0525; Fri, 21 Feb 2020 05:30:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E5A358C4; Fri, 21 Feb 2020 05:30:38 +0100 (CET) Received: from mail-vs1-f43.google.com (mail-vs1-f43.google.com [209.85.217.43]) by dpdk.org (Postfix) with ESMTP id 85A0F2B91 for ; Fri, 21 Feb 2020 05:30:36 +0100 (CET) Received: by mail-vs1-f43.google.com with SMTP id b79so432389vsd.9 for ; Thu, 20 Feb 2020 20:30:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=FisbDhFONoI2msOJ7y5yvWXrPRrdJPmfq8ncj5FENGo=; b=VHI5KHEvertkUPeCc4Bt6z0b7q5cP4x9AWT/6oHJ/Uzv35+Z146FIeygL+vKwMssML 0y+spPZDQir4r3SpqFPdF/y4m4iXCnimeQzilqkisTg2BuuoFf1ztOsqY5xn9tuqa4Mp XALJ34fvCWJMikwg54rSgFEWJdNnidL2mxi8NBZ9+Wnj3bRLdtub9XvTGZF1rWwydiZ0 EDUPYYKmJUPifVejvMZClk7+KsFFMd1k6g25A/6pvRf5kS9e41sTh4v5CNVdLWELRtqc M2Oq/8YJe//lWBfI9vI/xTOMRaCHjN8mwP/5LlPB4cvafS9pT/3bWvTu0rkyP1WOLKoe jECA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FisbDhFONoI2msOJ7y5yvWXrPRrdJPmfq8ncj5FENGo=; b=JYO2FZc+m/+3iZyihprHAQaGxOVV6C9DEGOsp+aYu/vZlCTzfpeH0ii8i8fE+HkYom v2E7dzoKwLMfoMrrgDTmz52TZWqsRDapBCF5UOHR6FOY0cBeReJw3eHtv9COE8fg6Goq y4bEayXTtqwoZyyMULxfuo3BB0fQJwLUOT5hnyXEZ+YIe2Yxccw/DeFOxXa6+yr9Xj4/ qQtiQwzrdLQZIiJCdW7Y8GWq9NUN4nGq4kr7o3oUR/4UFE8HgeFvEdZHHVRhw11lsHLS oxYKqEuzOh8O1zrjFRIomCBpQ+mRmyPIvueRU4hcismmu1MpydYNwviecEpoIQTBjvdK dWcg== X-Gm-Message-State: APjAAAXIy0lqbPZMdU6cM53UEx3pwD8KtOgC5c6oXK1hdVxom/92iudC n8xdx+1lMfuoSxp8FEu4rehc3krMOlg7o1k6IBVtKmdY X-Google-Smtp-Source: APXvYqwtjPhtwepvspNFxqolFyZhOAGccoDyVHDnBTbgDhtpexV9h8J5QLWddLKXHx/LipXRJzKe1sScHpHYjr5yuFU= X-Received: by 2002:a67:89c4:: with SMTP id l187mr18254861vsd.31.1582259435394; Thu, 20 Feb 2020 20:30:35 -0800 (PST) MIME-Version: 1.0 From: chetan bhasin Date: Fri, 21 Feb 2020 10:00:24 +0530 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Facing issue with mellanox after increasing number of buffers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, We are using DPDK underneath VPP . We are facing issue when we increase buffers from 100k to 300k after upgrading vpp version (18.01--> 19.08). As per log following error is seen net_mlx5: port %u unable to find virtually contiguous chunk for address (%p). rte_memseg_contig_walk() failed.\n%.0s", ap=ap@entry=0x7f3379c4fac8 Vpp 18.01 uses (dpdk version 17.11.4) Vpp 19.08 uses (dpdk version 19.05) With vpp 20.01 (uses dpdk version 19.08) no issue see till 400k buffers. *Back trace looks like : * format=0x7f3376768df8 "net_mlx5: port %u unable to find virtually contiguous chunk for address (%p). rte_memseg_contig_walk() failed.\n%.0s", ap=ap@entry=0x7f3379c4fac8) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vanilla_1908/build-root/build-vpp-native/external/dpdk-19.05/lib/librte_eal/common/eal_common_log.c:427 #6 0x00007f3375ab2c12 in rte_log (level=level@entry=5, logtype=, format=format@entry=0x7f3376768df8 "net_mlx5: port %u unable to find virtually contiguous chunk for address (%p). rte_memseg_contig_walk() failed.\n%.0s") at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vanilla_1908/build-root/build-vpp-native/external/dpdk-19.05/lib/librte_eal/common/eal_common_log.c:443 #7 0x00007f3375dc47fa in mlx5_mr_create_primary (dev=dev@entry=0x7f3376e9d940 , entry=entry@entry=0x7ef5c00d02ca, addr=addr@entry=69384463936) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vanilla_1908/build-root/build-vpp-native/external/dpdk-19.05/drivers/net/mlx5/mlx5_mr.c:627 #8 0x00007f3375abe238 in mlx5_mr_create (addr=69384463936, entry=0x7ef5c00d02ca, dev=0x7f3376e9d940 ) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vanilla_1908/build-root/build-vpp-native/external/dpdk-19.05/drivers/net/mlx5/mlx5_mr.c:833 #9 mlx5_mr_lookup_dev (dev=0x7f3376e9d940 , mr_ctrl=mr_ctrl@entry=0x7ef5c00d022e, entry=0x7ef5c00d02ca, addr=69384463936) *Crash back-trace looks like :* #0 mlx5_tx_complete (txq=) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/build-root/build-vpp-native/external/dpdk-19.05/drivers/net/mlx5/mlx5_rxtx.h:588 #1 mlx5_tx_burst (dpdk_txq=, pkts=0x7fc85686c000, pkts_n=1) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/build-root/build-vpp-native/external/dpdk-19.05/drivers/net/mlx5/mlx5_rxtx.c:563 #2 0x00007fc852d1912e in rte_eth_tx_burst (nb_pkts=1, tx_pkts=0x7fc85686c000, queue_id=0, port_id=) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/build-root/install-vpp-native/external/include/dpdk/rte_ethdev.h:4309 #3 tx_burst_vector_internal (n_left=1, mb=0x7fc85686c000, xd=0x7fc8568749c0, vm=0x7fc856803800) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/src/plugins/dpdk/device/device.c:179 #4 dpdk_device_class_tx_fn (vm=0x7fc856803800, node=, f=) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/src/plugins/dpdk/device/device.c:376 #5 0x00007fc9585fe0da in dispatch_node (last_time_stamp=, frame=0x7fc85637c780, dispatch_state=VLIB_NODE_STATE_POLLING, type=VLIB_NODE_TYPE_INTERNAL, node=0x7fc85697f440, vm=0x7fc856803800) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/src/vlib/main.c:1255 #6 dispatch_pending_node (vm=vm@entry=0x7fc856803800, pending_frame_index=pending_frame_index@entry=6, last_time_stamp=) at /nfs-bfs/workspace/gkeown/integra/mainline/ngp/mainline/third-party/vpp/vpp_1908/src/vlib/main.c:1430 Thanks, Chetan