From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] examples/flow_filtering: add rte_fdir_conf initialization Date: Thu, 26 Jul 2018 19:42:13 +0200 Message-ID: <4562218.vGJ9EyzqYi@xps> References: <1531361387-116027-1-git-send-email-rosen.xu@intel.com> <1532255950-105866-1-git-send-email-rosen.xu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, ferruh.yigit@intel.com, orika@mellanox.com, walter.e.gilmore@intel.com, qi.z.zhang@intel.com, stable@dpdk.org To: Rosen Xu Return-path: In-Reply-To: <1532255950-105866-1-git-send-email-rosen.xu@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 22/07/2018 12:39, Rosen Xu: > Rte_fdir_conf of rte_eth_conf should be initialized before > port initialization. It is a workaround solution when working > with Intel I40e. [...] > + /* > + * Initialize fdir_conf of ete_eth_conf Typo and lack of punctuation. > + * it is a workaround solution when working with Intel I40e > + * and it is not the normal way It is not said why it is needed, and what are we waiting to remove the workaround. > + */ > + .fdir_conf = { > + .mode = RTE_FDIR_MODE_PERFECT, > + .pballoc = RTE_FDIR_PBALLOC_64K, > + .status = RTE_FDIR_REPORT_STATUS, > + .drop_queue = 127, > + }, Please work on a v4 with better explanations.