From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id 0E99193C2 for ; Fri, 30 Oct 2015 19:59:27 +0100 (CET) Received: by wijp11 with SMTP id p11so17206387wij.0 for ; Fri, 30 Oct 2015 11:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3iCwPlS7JUhXmD/lGe44lcsnGo9LnVWAe4ajVcg/bxY=; b=xhiyCAfCgd+sLS1nsfTvfNicVGXq4/Zbdp0t1CSSfRF1N0YRbr+XBMwCxYYK6mQRsP x76v1g+bzimnFHx3NxQEovvVspc+UchtYITvkVHdVQL21lQqYhtc4OAdNRPq3RPebeVW mZX2Tnz3mra4WqDTa655HN2gBJtl4XBTRtvR6xoUwr0WUZA1n3sW/lDrrH6owDMx3zj2 0x20SNxewW02Zos/JvMFi/A6PV0qD8AUASDEEvKvRQGg/bLgv/RddBWAkpB4dsFEMTQ2 C4NyYkVReB7thXJD7q2tymhn7h243A+ryT1hEu2+z4sTy+yA1H5z1Jj2t+5qzA6VHReA tsfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3iCwPlS7JUhXmD/lGe44lcsnGo9LnVWAe4ajVcg/bxY=; b=fdkwgDywCAPLRtUMES3DKjz9ou3MM7IvFtB0WXtbJjbhZCmxwjwvyPKWpf7MxAaNi/ ow/HpnfhiMCS409gYLpLIjkKBfNYkd/LNXZSVHeZxK554giW4Z6/DYC2wbmk4U0Lqma0 95EYQRL0h5bdPZg+VZlTIj2c+hTVUIhh0NNxtlsTvdfqXygNfouhHAs46kKUaxsvjxRF n3zZPiRJQL5BGVvfgJKYEQpmxUmvqTW+cFmeOIFuEfY/gX8FrTywfITrkIkq5XLQG+TB FaUYtONmwepNkNXX/NQxnHcgB6XtcqWDGDtbZ27Wn9nnE/r1tT1ONf8qEIE3XMg8nN/p Krlw== X-Gm-Message-State: ALoCoQlN0uUQG+yilK3LzzLoOeC3O0/C1n6lRPor+/Fuzun3GN6onb8bZEpH7/QqMn3+ivZA7ukw X-Received: by 10.194.189.133 with SMTP id gi5mr10372929wjc.13.1446231566941; Fri, 30 Oct 2015 11:59:26 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id d10sm8415190wje.14.2015.10.30.11.59.25 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 Oct 2015 11:59:26 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Fri, 30 Oct 2015 19:58:56 +0100 Message-Id: <1446231537-8380-3-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1446231537-8380-1-git-send-email-adrien.mazarguil@6wind.com> References: <1444067842-29832-1-git-send-email-adrien.mazarguil@6wind.com> <1446231537-8380-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v2 2/3] ethdev: change RETA type in rte_eth_rss_reta_entry64 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, 30 Oct 2015 18:59:27 -0000 From: Nelio Laranjeiro Several NICs can handle 512 entries in their RETA table, an 8 bit field is not large enough for them. Signed-off-by: Nelio Laranjeiro --- lib/librte_ether/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 8a8c82b..560f4e8 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -516,7 +516,7 @@ struct rte_eth_mirror_conf { struct rte_eth_rss_reta_entry64 { uint64_t mask; /**< Mask bits indicate which entries need to be updated/queried. */ - uint8_t reta[RTE_RETA_GROUP_SIZE]; + uint16_t reta[RTE_RETA_GROUP_SIZE]; /**< Group of 64 redirection table entries. */ }; -- 2.1.0