Re: [dpdk-dev] [PATCH] net/failsafe: add Rx interrupts

2017-12-13 Thread Mordechay Haimovsky
g > Subject: Re: [dpdk-dev] [PATCH] net/failsafe: add Rx interrupts > > On Mon, 11 Dec 2017 14:41:47 +0200 > Moti Haimovsky wrote: > > > + for (i = 0; i < n; i++) { > > + rxq = (struct rxq *)events[i].epdata.data; > > Minor nit. events[i].epdata.data is "void *" therefore cast is unnecessary.

Re: [dpdk-dev] [PATCH] net/failsafe: add Rx interrupts

2017-12-11 Thread Stephen Hemminger
On Mon, 11 Dec 2017 14:41:47 +0200 Moti Haimovsky wrote: > + for (i = 0; i < n; i++) { > + rxq = (struct rxq *)events[i].epdata.data; Minor nit. events[i].epdata.data is "void *" therefore cast is unnecessary.

[dpdk-dev] [PATCH] net/failsafe: add Rx interrupts

2017-12-11 Thread Moti Haimovsky
This patch adds support for registering and waiting for Rx interrupts in failsafe PMD. This allows applications to wait for Rx events from the PMD using the DPDK rte_epoll subsystem. The failsafe PMD presents to the application a facade of a single device to be handled by the application while inte