[dpdk-dev] [PATCH]i40e: move the fdir_setup from dev_init to dev_configure

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Dec 5 17:13:58 CET 2014


> > 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>

Applied

A lot of commit titles need rewording. This one is a good example to explain.
We don't need to see the function or structure names in a title.
The global idea is a lot more interesting and easy to read.
Here, I changed
	i40e: move the fdir_setup from dev_init to dev_configure
to
	i40e: setup flow director only if enabled

Thanks
-- 
Thomas


More information about the dev mailing list