; dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] ethdev: get rxq interrupt fd
In general, an API is less error prone if it only does return by value. What
about just returning fd or -1?
On Fri, Sep 28, 2018, 5:55 AM Xiaoyun Li
mailto:xiaoyun...@intel.com>> wrote:
Some users want to use the
In general, an API is less error prone if it only does return by value.
What about just returning fd or -1?
On Fri, Sep 28, 2018, 5:55 AM Xiaoyun Li wrote:
> Some users want to use their own epoll instances to control both
> DPDK rxq interrupt fds and their own other fds. So added a function
>
OK. Thanks.
> -Original Message-
> From: Yigit, Ferruh
> Sent: Friday, September 28, 2018 16:33
> To: Li, Xiaoyun ; tho...@monjalon.net; Zhang, Helin
> ; damar...@cisco.com; Kinsella, Ray
> ; dev@dpdk.org
> Subject: Re: [PATCH] ethdev: get rxq interrupt fd
>
> On 9/28/2018 4:43 AM, Xiaoyu
On 9/28/2018 4:43 AM, Xiaoyun Li wrote:
> Some users want to use their own epoll instances to control both
> DPDK rxq interrupt fds and their own other fds. So added a function
> to get rxq interrupt fd based on port id and queue id.
>
> Signed-off-by: Xiaoyun Li
<...>
> @@ -2719,6 +2719,9 @@ i
Some users want to use their own epoll instances to control both
DPDK rxq interrupt fds and their own other fds. So added a function
to get rxq interrupt fd based on port id and queue id.
Signed-off-by: Xiaoyun Li
---
lib/librte_ethdev/rte_ethdev.c | 37 ++
lib/li
5 matches
Mail list logo