From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 766B69267 for ; Mon, 5 Oct 2015 19:57:45 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so125862156wic.0 for ; Mon, 05 Oct 2015 10:57:45 -0700 (PDT) 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=kiuB8yE3ez1qHMsUJcW9qY1lVSEpo1RfeuMDO+46CpCeLsghaDl9VXwRvSIn1y3hE0 Mrw88MukwaLPzi2bJ5oYk+Fga7RkYEtIK/t5jbjYkJWh0l1cs1HRny6/ryZHp2L8uMA6 D6b0AkvhGH/NsJT6sIzZGTVIsRWR5RAzEAl9eMPwgkXGCMdTLC0h6zgZ25ZJX3NhRFCY XvPoc5yX25zgV2t8zCnHWF3BcSQNtfNSG58ctzK86YK7vSijJfXgt04AAwd0ob332Im9 3edvD+Y6pxxh0wUkji7EIrJ5ur2/P4J3FzYZn4ltXQm7aWMFB8I+WZ17LRUBguni4GPl F1vw== X-Gm-Message-State: ALoCoQmSkoOG1rLOoYUTiRLqZN6lzsS6njeKLmhkGfmHInR+gLa+J/yAjZYrBThjBDYfbWe9DqtC X-Received: by 10.180.8.232 with SMTP id u8mr12311588wia.26.1444067865255; Mon, 05 Oct 2015 10:57:45 -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 qq4sm28031548wjc.14.2015.10.05.10.57.44 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 Oct 2015 10:57:44 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Mon, 5 Oct 2015 19:57:21 +0200 Message-Id: <1444067842-29832-3-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1444067842-29832-1-git-send-email-adrien.mazarguil@6wind.com> References: <1444067842-29832-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH 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: Mon, 05 Oct 2015 17:57:45 -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