[dpdk-dev] [PATCH v1] ixgbe: fix link issue in loopback mode

2015-02-09 Thread Patrick Lu
t;mac.type == ixgbe_mac_82599EB && > - dev->data->dev_conf.lpbk_mode == IXGBE_LPBK_82599_TX_RX) > - goto skip_link_setup; > - > err = ixgbe_check_link(hw, , _up, 0); > if (err) > goto error; > -- > 1.8.1.4 > Acked-by: Patrick Lu

[dpdk-dev] [PATCH] Add an API to query enabled core index

2014-06-13 Thread Patrick Lu
On Thu, Jun 12, 2014 at 08:54:11AM -0700, Richardson, Bruce wrote: > > > > -Original Message- > > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > > Sent: Thursday, June 12, 2014 1:20 AM > > To: Richardson, Bruce; Thomas Monjalon; Lu, Patrick > > Cc: dev at dpdk.org > > Subject:

[dpdk-dev] [PATCH] Add an API to query enabled core index

2014-06-11 Thread Patrick Lu
EAL -c option allows the user to enable any lcore in the system. Oftentimes, the user app wants to know 1st enabled core, 2nd enabled core, etc, rather than phyical core ID (rte_lcore_id().) The new API rte_lcore_id2() will return an index from enabled lcores starting from zero. ---