[dpdk-dev] [PATCH]i40e: move the fdir_setup from dev_init to dev_configure
Zhang, Helin
helin.zhang at intel.com
Fri Dec 5 01:57:45 CET 2014
> -----Original Message-----
> From: Wu, Jingjing
> Sent: Thursday, December 4, 2014 11:40 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing; Zhang, Helin; Ananyev, Konstantin
> Subject: [PATCH]i40e: move the fdir_setup from dev_init to dev_configure
>
> In order not to affect the FVL's performance by default setting, this patch moves
> the flow director initialization from i40e_pf_setup to i40e_dev_configure
> according to the mode in fdir configure info.
> Then the resources used for flow director will be only setup if it is enabled.
>
> Signed-off-by: jingjing.wu <jingjing.wu at intel.com>
Acked-by: Helin Zhang <helin.zhang at intel.com>
> ---
> app/test-pmd/cmdline.c | 4 +-
> lib/librte_pmd_i40e/i40e_ethdev.c | 49 ++++++++++++-----------
> lib/librte_pmd_i40e/i40e_fdir.c | 83
> ++++++++++++++++++++-------------------
> 3 files changed, 72 insertions(+), 64 deletions(-)
More information about the dev
mailing list