From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by dpdk.org (Postfix) with ESMTP id A46CC68A8 for ; Thu, 17 Oct 2013 15:51:24 +0200 (CEST) Received: by mail-ie0-f181.google.com with SMTP id ar20so4022141iec.12 for ; Thu, 17 Oct 2013 06:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=s3Rvo1/ggRP4eo8IRrSZl5yn5ZxD7JSADUM0QUjNH+4=; b=zwq4ruyXYzPINPylTCFQPEQBipBFaESPgXQbLABZaGvRSDNH0Jbiz3gKniXvSic9Tr KtI+KEl4UYUSaiRQf9BXWFyS6XeDBOlsmmCHfU+wuoXQBTv07zqhwW7mXXimbqzrnIEB bbRJv6cDRFpfw4sBK24LNtKCcrzzwaPIsdUlbc3/iVhof6Lqk3/3rMuHdnWy8GwOb00W mPo3RUszj+5BYMLHE3WLZDqlpOhsBYxkM1e2KE8dBrvu4+7q3b39aKp4RhCSoE4pKTSP Y0tJjhnBcuukxiwO3iqTeZAfqhwJUkAxJiG0ez7KQ49Sea95SAZSMqMvM/LOXNxC3pNi gzHg== MIME-Version: 1.0 X-Received: by 10.42.240.133 with SMTP id la5mr348857icb.78.1382017931377; Thu, 17 Oct 2013 06:52:11 -0700 (PDT) Received: by 10.42.67.205 with HTTP; Thu, 17 Oct 2013 06:52:11 -0700 (PDT) In-Reply-To: <201310171547.41742.thomas.monjalon@6wind.com> References: <201310171547.41742.thomas.monjalon@6wind.com> Date: Thu, 17 Oct 2013 16:52:11 +0300 Message-ID: From: jigsaw To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] 82599 SR-IOV with passthrough 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, 17 Oct 2013 13:51:25 -0000 >>Is it possible to get the number of configured queues via mailbox ? Yes, this is exactly why I need to patch ixgbe PF. Otherwise it always returns 1, even the number is configured as 4. I will make some more experiments before sending the patch for review in one or two days. On Thu, Oct 17, 2013 at 4:47 PM, Thomas Monjalon wrote: > 17/10/2013 14:43, jigsaw : >> I patched both Intel ixgbe PF driver and DPDK 1.5 VF driver, so that >> DPDK gets 4 queues in one VF. It works fine with all 4 Tx queues. The >> only trick is to set proper mac address for all outgoing packets, >> which must be the same mac as you set to the VF. This trick is >> described in the release note of DPDK. >> >> I wonder whether it makes sense to push this patch to DPDK. Any comments? > > Yes I think it makes sense. > Is it possible to get the number of configured queues via mailbox ? > > -- > Thomas