From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2FAB6A04DC; Mon, 26 Oct 2020 13:29:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1BE742BF9; Mon, 26 Oct 2020 13:29:57 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by dpdk.org (Postfix) with ESMTP id 737C82BA3; Mon, 26 Oct 2020 13:29:54 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id EE8017F583; Mon, 26 Oct 2020 15:29:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru EE8017F583 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1603715393; bh=pSyzL3fp2BHURy2rmtFFBQeqts/uLnM862KeooJPZ84=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=Q7wHRCytFgJk4kkve8siMdIv0QSx1EkHO0/WPZg5Uei8/VvbozSR6AIVmyw8JSzUv rL2iRHebMeMkFfmmNHWMSqBJDX9prqJbOJNx/n2Ef4v32q24XSgRrd3OkVQxXGqeZZ 4q9aau5uvcgILNgOnulCqf557qPmoS+IckXAiHxo= To: wangyunjian , dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, jerry.lilijun@huawei.com, xudingke@huawei.com, stable@dpdk.org References: From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <74d8f616-9078-933e-2d79-468069ac133c@oktetlabs.ru> Date: Mon, 26 Oct 2020 15:29:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] ethdev: fix data type for port id 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/26/20 3:24 PM, wangyunjian wrote: > From: Yunjian Wang > > The ethdev port id should be 16 bits now. This patch fixes the data > type of the variable for 'pid', changing from uint32_t to uint16_t. > > Fixes: 5b7ba31148a8 ("ethdev: add port ownership") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang Reviewed-by: Andrew Rybchenko