From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id D1B428D3A for ; Wed, 12 Aug 2015 10:22:49 +0200 (CEST) Received: by wicne3 with SMTP id ne3so207945748wic.1 for ; Wed, 12 Aug 2015 01:22:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=JJOv5bIsPqi2fPxkdbO+ul0RZAZzdSO/svQUQj1r1T8=; b=EfJG1q1LstoE3QBhfhz6Sc6rutqdvoef6FA90G+OgQY1z6cJ6X/W3XUcPCP568zuL/ uQgQ9PaFo61nEtduH8bCP7jxQnL5DiqmSRbrtUgYNym36lBA9sjuMQ6gUEic4ICGhTGr 3g5m6DgdAgXnTNuIzsyr0vXNjG+FJNajE4xOBvHSl4IJ8+hgmB9ZLBOKVvEspUMdSa4G uNgTrpuA+C93e8A0eX1NRXSnXCg9IVUxdJBXDRxUYamwO+iwXjt7QENrGvfbPUj2eUaN a/Fz+x774YcQrvGl4HyqsGlkXUUYp3hNNem3fQTOtkSJlFw/yIJcCxHXyUcDRHtg+HXE vfAw== X-Gm-Message-State: ALoCoQnh/ToU+vOPEGWogJP1UGtLIbnvOWyiBYAqYUnHqf8m9xmDmb9PHe5eIlUlJg17JKXOXd1H X-Received: by 10.194.23.194 with SMTP id o2mr67441115wjf.63.1439367769633; Wed, 12 Aug 2015 01:22:49 -0700 (PDT) Received: from saturne.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id b13sm7105620wic.15.2015.08.12.01.22.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 01:22:49 -0700 (PDT) Message-ID: <55CB0259.404@6wind.com> Date: Wed, 12 Aug 2015 10:22:49 +0200 From: Vincent JARDIN Organization: www.6wind.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Ouyang Changchun References: <1434355006-30583-1-git-send-email-changchun.ouyang@intel.com> <1439366567-3402-1-git-send-email-changchun.ouyang@intel.com> <1439366567-3402-2-git-send-email-changchun.ouyang@intel.com> In-Reply-To: <1439366567-3402-2-git-send-email-changchun.ouyang@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 01/12] ixgbe: support VMDq RSS in non-SRIOV environment 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: Wed, 12 Aug 2015 08:22:50 -0000 On 12/08/2015 10:02, Ouyang Changchun wrote: > +#define VMDQ_RSS_RX_QUEUE_NUM_MAX 4 > + > +static int > +rte_eth_dev_check_vmdq_rss_rxq_num(__rte_unused uint8_t port_id, uint16_t nb_rx_q) > +{ > + if (nb_rx_q > VMDQ_RSS_RX_QUEUE_NUM_MAX) > + return -EINVAL; > + return 0; > +} > + it is an ixgbe limitation, so, it should not be a included into librte_ether/rte_ethdev.c