From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id 5486D5930 for ; Fri, 25 Jul 2014 19:49:01 +0200 (CEST) Received: by mail-pa0-f41.google.com with SMTP id rd3so6512124pab.0 for ; Fri, 25 Jul 2014 10:50:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-transfer-encoding; bh=Ps8hgsss6mObNAz+AcJrz+dPoJN2QY/JIovlYiUmZEQ=; b=H38g82/2favKTUKohlGKkWu4CEzVZwqnRIwrxrnYZnZtVdhG+Kw0bLIUiyQtEv+w6Y YAdtq0WPgXAAToqZqMk6B5TVbRMuuro8WHPoJmpI0GSwP3u4xKgn0jOEx+TH/uGIPoVs ZZ5PD602SsnHbR47BDNrr1LTsp53RpoBxtcS+/NjiWxnJHlCgBklXj7uIkbAKxlAQM2z 7vgUUXH/3IBHAa6u+SW8so4OBGBkPaNHKdzLmOa6LL/fRDpJM5A7xqaEs4TgK04fulZt v9LA+CI/Aa+kCWsxqpS30VZYMZeDD+Gsh9mwTEBeqXC7Vp5aO+f0Pfjj/mJ2zPOVGYQH yNVw== X-Gm-Message-State: ALoCoQlahLxUVDWtmOPsNV7JhHze0Do1mjXm0rDDrCpxSI9dro/5drbW28VU6TNzMcvJ6mfv5Ogt X-Received: by 10.67.5.3 with SMTP id ci3mr20774941pad.50.1406310634309; Fri, 25 Jul 2014 10:50:34 -0700 (PDT) Received: from haswell.linuxnetplumber.net (static-50-53-72-226.bvtn.or.frontiernet.net. [50.53.72.226]) by mx.google.com with ESMTPSA id hl1sm12523868pdb.41.2014.07.25.10.50.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jul 2014 10:50:34 -0700 (PDT) Date: Fri, 25 Jul 2014 10:50:37 -0700 From: Stephen Hemminger To: Thomas Monjalon Message-ID: <20140725105037.26769945@haswell.linuxnetplumber.net> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH] vmxnet3: initialize receive mode correctly 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: Fri, 25 Jul 2014 17:49:01 -0000 The driver must listen to broadcast packets, like other devices. Otherwise protocols like ARP won't work! Signed-off-by: Stephen Hemminger --- a/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c 2014-07-25 10:49:18.720201127 -0700 +++ b/lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c 2014-07-25 10:49:18.720201127 -0700 @@ -522,7 +522,7 @@ vmxnet3_dev_start(struct rte_eth_dev *de } /* Setting proper Rx Mode and issue Rx Mode Update command */ - vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_ALL_MULTI, 1); + vmxnet3_dev_set_rxmode(hw, VMXNET3_RXM_UCAST | VMXNET3_RXM_BCAST, 1); /* * Don't need to handle events for now