From owner-freebsd-net@freebsd.org Mon Jan 15 05:55:18 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F08EE7FE3B for ; Mon, 15 Jan 2018 05:55:18 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8DE68083D for ; Mon, 15 Jan 2018 05:55:17 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id 143so22413138wma.5 for ; Sun, 14 Jan 2018 21:55:17 -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=3bf465rNK6yIcodPlr1WyWDpmc+S8t+iDXEXbIyQMGI=; b=Fc7z3XB2OuOqXK9qxfihAge2pYziLOhxIhODkd9+HnhXRaH3UpfR024F8ymAQSbsKa uK7UOdK0i0udOXH+UCKO82UjuceHMbxTh98DQbGAkB7ha+oWa3FqSG4yRfkOtwWRpgx9 Ihgit2y1DgpNvRbZiDYzX9YZEEyEv1Ad0p006uUJ3A2a6CjsTBC1rS0RYdO53DlXwXIc YESej3w/a8Vn4axR9lvMW8ezP/Y1gKdQqy16gDox43/NtVuNZYAIP7MHjB4W93ZolCvn NBH8z1aQkZSp3izRl25lxbAqE4Yd/AFWcf3qlDzm/LAVN1aoUjjQoOrhHI8KnerQRKyD 95Yg== 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=3bf465rNK6yIcodPlr1WyWDpmc+S8t+iDXEXbIyQMGI=; b=Wq/BnYaH2fni5r6zodaXrbJ8oOmFgV6zyvdxuwYBoEZ73pZuvCVZ1ZvT4yuE4mNeGb QnvLVzLg5W41kvfT4upU9Lr1dqBev6NAU94S9v5CMdjje7bO7J76hce+9/k/ikyXWJX3 9lDDixFtOgpJXn8rp1OTvZgC7nuAz+H/zyCx2je1lkyIt8jh6yT9e/uP4qTVCRqgIEsP wgfWkDNlyHKn8EdKTVJXrHsN5y3jHpFd2yo1kt7nuWCBytnC+p33St4gTYScYEOqRNkT tWrHqtb4IG1xoZpjMZgzGt9gr6I6IGcoknPBqQLva1DPPLm7ZUldosj3yal0+dQeL0iv jb9g== X-Gm-Message-State: AKGB3mKRHIkByv0mWNIeklD2VtcxfhTMnch5PuMnL+CuEvdZbYKzD3Uk p+Md/lSJRchGuohTWUkfBoG+y/zk1aXkLX2/glM3 X-Google-Smtp-Source: ACJfBosdcWwyQ7CQbBlrjJ72pV7fZGPM7Wqd1k69ENUMjXWQ5apXl1fBVDv89qgWAV8d9XfJyt8JC4pTHn9CNQHlTGk= X-Received: by 10.80.164.233 with SMTP id x38mr47085333edb.293.1515995715097; Sun, 14 Jan 2018 21:55:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.141.135 with HTTP; Sun, 14 Jan 2018 21:55:14 -0800 (PST) From: Zaphod Beeblebrox Date: Mon, 15 Jan 2018 00:55:14 -0500 Message-ID: Subject: FreeBSD11 bge and bce interfaces showing packet loss with older Cisco. To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 05:55:18 -0000 I've been trying to track this problem down for awhile now. I have two different router servers with two different chipset on board NICs. One server has BGE and the other server has BCE. Both are running a full 650k-odd route BGP table with quagga and they're joined internally with OSPF (also quagga). Anyways, I'm seeing, under load (in the netstat -in output): bge1 1500 00:19:b9:f9:ad:13 592048810 2127231 0 576341766 0 0 ... indicating 2127231 error packets out of 592048810 packets. Somewhere around 0.3% in total ... but this rises to about 1% as traffic increases. My first problem is that I don't see any number of packets in any of the netstat -s outputs. How do I track this down to something more specific than the netstat -i output? Now the other end of the dedicated, newly purchased cat6 cable is a Cisco WS-C3550-12G ... a 12 port GigE switch with 10 GBICs and two copper ports. In my case, it's mostly full of copper GBICs and has one SMF GBIC for the uplink. The GBICs show up two ways on the switch: "a-full a-1000 1000BaseTX" for the "older" ones and "a-full a-1000 10/100/1000BaseTX" for the "newer" ones. Since Cisco doesn't allow setting duplex or speed on any of them, I have the problem server connected to the 1000BaseT-only GBIC and I have the server hard set to full-duplex and 1000BaseT. This doesn't seem to change the nature of the problem for better or worse. That is to say both "auto" and hardwired settings have the same failures. Now... I'm fully willing to swap out the switch, but I also have trouble believing that anything has changed with GigE 1000BaseT recently... so I'm also sensitive that it may not be the fix either. Help? Suggestions?