[dpdk-dev] [PATCH] net/enic: move link checking init to probe time

Bruce Richardson bruce.richardson at intel.com
Wed Sep 21 12:59:40 CEST 2016


On Tue, Aug 09, 2016 at 02:42:04PM -0700, Nelson Escobar wrote:
> The enic DMAs link status information to the host and this requires a
> little setup.  This setup was being done as a result of calling
> rte_eth_dev_start().  But applications expect to be able to check link
> status before calling rte_eth_dev_start().
> 
> This patch moves he link status setup to enic_init() which is called
> at device probe time so that link status can be checked anytime.
> 
> Fixes: fefed3d1e62c ("enic: new driver")
> 
> Signed-off-by: Nelson Escobar <neescoba at cisco.com>
> Reviewed-by: John Daley <johndale at cisco.com>

Applied to dpdk-next-net/rel_16_11

/Bruce


More information about the dev mailing list