[dpdk-dev] [PATCH v13 13/14] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch

2015-07-17 Thread Liang, Cunming
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, July 14, 2015 1:13 AM > To: Liang, Cunming > Cc: dev at dpdk.org; shemming at brocade.com; david.marchand at 6wind.com; > Zhou, Danny; Wang, Liang-min; Richardson, Bruce; Liu, Yong; >

[dpdk-dev] [PATCH v13 13/14] l3fwd-power: enable one-shot rx interrupt and polling/interrupt mode switch

2015-06-19 Thread Cunming Liang
Demonstrate how to handle per rx queue interrupt in a NAPI-like implementation in usersapce. PDK polling thread mainly works in polling mode and switch to interrupt mode only if there is no any packet received in recent polls. Usersapce interrupt notification generally takes a lot more cycles than