From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by dpdk.org (Postfix) with ESMTP id 69B50B3D9; Thu, 28 Jan 2016 02:49:42 +0100 (CET) Received: by mail-vk0-f45.google.com with SMTP id n1so15868380vkb.3; Wed, 27 Jan 2016 17:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=d987I+WfS76csT3WhUhRVMGp1CIcQYktvgsQUnyfDuE=; b=uuSApVB5D1RuFT62FrIWQPaRs/aZnK3SbmaFvgiVLXBSDZuHXl6yOwFFfnlOI0zz6c 6V556E1yHxwatbniAy1JSM8qx31S0GEKxGb6zWlge1M9RVoKVOMkurFvnSoCZG+jYKAZ lgUoy6gQLf+1AYD5FXG20OvuFA30JAbnFKAFfSQgPAem0U+Mbicp4lu3qiqa1nNqk4Ux D5E0+jVD0mTkKJuoaVzcylyiHEM9H59NDVddUxeOgFmdeJz/OBakQfyaqA2hSadWM+or /OFN3GfCDbuBlNFELCnfHSvTvTaRooOIK2XQkpfHDe+PB0reVr09bdNuCW5Zhjgyviq6 e5Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=d987I+WfS76csT3WhUhRVMGp1CIcQYktvgsQUnyfDuE=; b=JZ4QladUs+aQYzNp5dvfzkvBiokkDmstiyVD5Xt55ao7mvMJqZNW48zINLU8tAWYi9 0Nzi9LL832vEtyWQzMdMbp1BwynRguSuRJMBt4pZfbAPomaO6LTNPk5oG1HKVvqsiBYH MAuzlBugBXBivzbUmTWmXe78WWVCkUB6bTov5HyxTnF3YK8PW9Pp7AUjdKnxaFkncRNb h6vUulGGMpVrWYE1NakzWVtovvATMTfqt2FyoUAabqEL2N/RBACFfFuqafmYqzQ+xzPM 5nfGdQq8x1sEVXY0b8z9JPNUjwWFXwK54/UO9zBJ+595l8GRgKmbc0C6tD9PJujcrRsS /SSw== X-Gm-Message-State: AG10YOQ923CMSCZMqZIwj4vHrAKZgTzWtJqgFihuPpx97rzTE6IexHQU+ncj8ZYPRNwtYcD3/He9hn6zAJzEvA== MIME-Version: 1.0 X-Received: by 10.31.173.8 with SMTP id w8mr304281vke.42.1453945781839; Wed, 27 Jan 2016 17:49:41 -0800 (PST) Received: by 10.31.152.208 with HTTP; Wed, 27 Jan 2016 17:49:41 -0800 (PST) Date: Wed, 27 Jan 2016 17:49:41 -0800 Message-ID: From: Saurabh Mishra To: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK bnx2x driver link problem X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 01:49:42 -0000 Looks like bnx2x has link problem=E2=80=A6sometime it sees link up and most= of the time it see link down even though the RX/TX counters are going up. Has anybody seen this type of problem? If I don't use DPDK then I don't see this type of link related problem. The counter shows that it=E2=80=99s receiving and transmitting packets. I tried with =E2=80=93n1, -n2 and =E2=80=93n4. *1st Time:* [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=3Dprimary -- = -p 3 --num-procs=3D2 --proc-id=3D0 PMD: bnx2x_print_adapter_info(): Switch : 0 PMD: bnx2x_print_adapter_info(): =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 Checking link status.....................................................................= .....................done Port 0 Link Up - speed 10000 Mbps - full-duplex Port 1 Link Down APP: Finished Process Init. Lcore 1 using ports 0 1 lcore 1 using queue 0 of each port ^C Exiting on signal 2 Port 0: RX - 3, TX - 27, Drop - 0 Port 1: RX - 27, TX - 3, Drop - 0 *Second time:* [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=3Dprimary -- = -p 3 --num-procs=3D2 --proc-id=3D0 PMD: bnx2x_print_adapter_info(): Switch : 0 PMD: bnx2x_print_adapter_info(): =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 Checking link status.....................................................................= .....................done Port 0 Link Down Port 1 Link Down APP: Finished Process Init. Lcore 1 using ports 0 1 lcore 1 using queue 0 of each port ^C Exiting on signal 2 Port 0: RX - 3, TX - 17, Drop - 0 Port 1: RX - 17, TX - 3, Drop - 0 [root@ ~]# *Third time:* [root@ ~]# ./symmetric_mp fakeelf -c 2 -m2048 -n4 --proc-type=3Dprimary -- = -p 3 --num-procs=3D2 --proc-id=3D0 Checking link status.....................................................................= .....................done Port 0 Link Down Port 1 Link Down APP: Finished Process Init. Lcore 1 using ports 0 1 lcore 1 using queue 0 of each port ^C Exiting on signal 2 Port 0: RX - 8, TX - 84, Drop - 0 Port 1: RX - 84, TX - 8, Drop - 0 [root@~]# *4th time:* Checking link status.....................................................................= .....................done Port 0 Link Down Port 1 Link Down APP: Finished Process Init. Lcore 1 using ports 0 1 lcore 1 using queue 0 of each port ^C Exiting on signal 2 Port 0: RX - 2, TX - 14, Drop - 0 Port 1: RX - 14, TX - 2, Drop - 0 [root@ ~]#