From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) by dpdk.org (Postfix) with ESMTP id 2941C1B83C for ; Tue, 3 Apr 2018 19:59:44 +0200 (CEST) Received: by mail-qk0-f176.google.com with SMTP id s78so19555579qkl.8 for ; Tue, 03 Apr 2018 10:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=q4rPlfaUZdxjZ1A0l7OJwvhRLYOuvoinf41j4+lz2D0=; b=TKsBt5QOBlJCDubYU/saHbpoYt/qBxnVOZN3d6vNhAho191jIpmUksC8LuyBoqGgKx iGZOHsl198gnkzvRo5q1wXaY5uPIn+vNMaHVikEFSkVH175leSQe3dlUGTmfpl2uwFqj kLd5Uw6vMSsiXccAWhgNArQa3QxN6fsP2h6C2SAW7lXmiFnSJS5MZHpPMJ6Y+Wja/cHy aXFfHm5vlij9hLQWv6M0IG35Ysq4Ez07274ZgQhZosJvl2bU03W0rWd/SNPICTi4mrVe /R6mFZt7/t4wQz/U/G4yOURfWBwVab8UzFI3NVlC85gVXCrum//X0I11vAX2nHfWnLBn sJgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=q4rPlfaUZdxjZ1A0l7OJwvhRLYOuvoinf41j4+lz2D0=; b=hwB2DJP7PPqd1bszNa7vRO4LNm8Qp1yldyenKeXOMqfc7PVyJY+pBvQhV5kKxD2ytv Lk7fTdYV24Xhqsh56cb7neAaCzvBHtgevk9FJbVM/E6PN/wsbf1mJoFxNFUDtZCxQHFJ UMCeC6Q4jcGXV2TLSCOAA12lzCBBowROdiUSiWfBAJ/qiJw+2bJONckvFx5ajP8QSea0 EhBmH41hRfShDo6Npa4C2FP6oYRX520b3qMKEKYC2lfMSwKU7ECqpP/AlY9ssUjcFAhq LVGXzb6R1Q13cYHRGZjq2vg/yiby9rcUkXWnoFT70tLUMr750yS6lU/y9q9iOBl1jlv0 XfnA== X-Gm-Message-State: ALQs6tB6HPKhAdWfwAgk2tTnw/ROS7QVHtqRqK/oLAg5PdpY4IvWDkBv m/WDCiF2mLIwgMlD+KFWm7C2Uw== X-Google-Smtp-Source: AIpwx482xTn8pKfzn9Ht+TO9dTJdzwm9M6nBuLv9LUPn4/bQno5ob2Hu6dHtxJGynAKe/ANi1IYmbw== X-Received: by 10.55.43.234 with SMTP id r103mr19583037qkr.37.1522778383009; Tue, 03 Apr 2018 10:59:43 -0700 (PDT) Received: from localhost.localdomain ([177.10.56.96]) by smtp.gmail.com with ESMTPSA id f14sm2902013qte.70.2018.04.03.10.59.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Apr 2018 10:59:42 -0700 (PDT) Received: by localhost.localdomain (Postfix, from userid 1000) id D2620181352; Tue, 3 Apr 2018 14:59:38 -0300 (-03) Date: Tue, 3 Apr 2018 14:59:38 -0300 From: Marcelo Ricardo Leitner To: dev@dpdk.org Cc: Timothy Redaelli Message-ID: <20180403175938.GA23889@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.2 (2017-12-15) Subject: [dpdk-dev] Question on documentation / Mellanox ConnectX-3 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: , X-List-Received-Date: Tue, 03 Apr 2018 17:59:44 -0000 Hi, http://docs.openvswitch.org/en/latest/howto/dpdk/ says: Some NICs (i.e. Mellanox ConnectX-3) have only one PCI address associated with multiple ports. Using a PCI device like above won’t work. Instead, below usage is suggested: $ ovs-vsctl add-port br0 dpdk-p0 -- set Interface dpdk-p0 type=dpdk \ options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55:01" $ ovs-vsctl add-port br0 dpdk-p1 -- set Interface dpdk-p1 type=dpdk \ options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55:02" But these MACs are 7 bytes long. Seems the idea was to mention the two incremental MAC addresses that the ports have, and thus the ':55' should have been removed from there, right? Reading the code, it doesn't seem prepared to handle the extra byte in any (special) way. Marcelo