From owner-freebsd-net@freebsd.org Tue May 16 21:23:52 2017 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 22A34D70EB7; Tue, 16 May 2017 21:23:52 +0000 (UTC) (envelope-from avv314@gmail.com) Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::231]) (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 D1F4516B6; Tue, 16 May 2017 21:23:51 +0000 (UTC) (envelope-from avv314@gmail.com) Received: by mail-yw0-x231.google.com with SMTP id b68so59427696ywe.3; Tue, 16 May 2017 14:23:51 -0700 (PDT) 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=4q/cw3bDKIbWzwT3ItU20Dmmin/7ZzxXZqUwl2lExHM=; b=g7HtTpGvS/lPBpkgQbDsM6QizxpCQBI97kZ3LFbG1quBtKhWFp8au0mKYBiJmJN/UY S4BEPbwHBI/FcFDWLkWO8jbLbni2LgkltFweEI6/vnoQdzGFw55rQjdJ4jWmt0FYmlOO c5Q7Nph1XYEcffVsKWnHVkKDv55r+n0I/83J54QFq4EVX3ZGY2Kq9Xl6PDRk6oDcceI7 EERpH27aWpekfWZpINaBaDlIqDx3XlIFJPArySHyQbCYybjH/DisoO07QPkLqnrebJQK 3J1SFTETpJNKl6S7e8wYK3q44jAU4zNkVu7BsZCkiY6j4Wb3xIV9c5p+nHYfxYm3Mlut vkkw== 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=4q/cw3bDKIbWzwT3ItU20Dmmin/7ZzxXZqUwl2lExHM=; b=acB26KSW08163Ox0lAc7bcEXecdBNnfU+HITpGbq5h23YsDPsEd2yGk58L+MdK3xBX kUJO+ZZ+CBNO/iBE4CvoW3/7y7be3bRSg8NUKciZmY3anygrY0KbhcUelxUxAr2WxwET isiTO6IgpOIYVKtlUSu5HjGkhueBiHyrem6dlQKogs+ZaDksLrQxd2Ai/DyXrRHHClMf pLwOBFPCtn3n/8dmfsRUIjm0ug+/UjA41QQXepnI32KtlQkrTLBJ9IgNrpWo06UVbUHH GBQ7j3afYQmEH2omQmCaTOxMU8MoDByHyz3bMqfBOSEmpnmIsVBotSLPor43w95kV2E3 chgg== X-Gm-Message-State: AODbwcDYC3LVtfJkbQDevAgJ9lWFdymN0piSsdCzqpSg+wdNjsbGPEez WmLpxC3GM+Ebnb0mHwNYUEIy/wShNw3g X-Received: by 10.13.235.86 with SMTP id u83mr28253ywe.226.1494969830573; Tue, 16 May 2017 14:23:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.253.133 with HTTP; Tue, 16 May 2017 14:23:50 -0700 (PDT) From: Andrew Vylegzhanin Date: Wed, 17 May 2017 00:23:50 +0300 Message-ID: Subject: vmx bug? To: freebsd-net@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2017 21:23:52 -0000 Hi! Recently I found a bug with numbering four (and probably more) vmxnet3 interfaces under ESXi 6.5 (FreeBSD 11.0-RELASE, 10.0-RELEASE and ESXi 5.5U1 reproduced). It seems that this is an old bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198406 : ====> Just reproduced this bug on ESXi 6.5 with FreeBSD 11.0-RELEASE-p9 with four vmxnet3 interfaces Obviously problem goes from wrong FreeBSD vmx interface numbering in compare to VM ethernet interface order. In my case mapping was follows: ethernet0 -> vmx1 ethernet1 -> vmx2 ethernet2 -> vmx3 ethernet3 -> vmx0 I think something goes wrong on PCI probing/mapping stage. I've tried (not all options) to change pci bus numbers for ethernet interfaces in vmx config but without success. ====> Is any chance to fix it? If I fix it by taking into account vmx renumbering, VM migration will problem in future, if this is pci probe issue. WBR, -- Andrew