Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-21 Thread Ferruh Yigit
On 12/21/2016 3:30 PM, Ferruh Yigit wrote: > On 12/17/2016 6:03 PM, Chas Williams wrote: >> This patch initializes the eth_dev->link_intr_cbs queue which is >> used when af_packet is passed into rte_eth_ev_callback_register(). >> >> Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks

Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-21 Thread Ferruh Yigit
On 12/17/2016 6:03 PM, Chas Williams wrote: > This patch initializes the eth_dev->link_intr_cbs queue which is > used when af_packet is passed into rte_eth_ev_callback_register(). > > Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") > > Signed-off-by: Chas Williams <3ch...@gma

Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-21 Thread Ferruh Yigit
On 12/20/2016 8:57 PM, Chas Williams wrote: > On Tue, 2016-12-20 at 14:20 +, Ferruh Yigit wrote: >> On 12/17/2016 6:03 PM, Chas Williams wrote: >>> This patch initializes the eth_dev->link_intr_cbs queue which is >>> used when af_packet is passed into rte_eth_ev_callback_register(). >> >> Why d

Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-20 Thread Chas Williams
On Tue, 2016-12-20 at 14:20 +, Ferruh Yigit wrote: > On 12/17/2016 6:03 PM, Chas Williams wrote: > > This patch initializes the eth_dev->link_intr_cbs queue which is > > used when af_packet is passed into rte_eth_ev_callback_register(). > > Why do you want to register callback to af_packet PMD

Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-20 Thread Ferruh Yigit
On 12/17/2016 6:03 PM, Chas Williams wrote: > This patch initializes the eth_dev->link_intr_cbs queue which is > used when af_packet is passed into rte_eth_ev_callback_register(). Why do you want to register callback to af_packet PMD, it won't be calling them? > > Fixes: 4dc294158cac ("ethdev: s

Re: [dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-17 Thread Stephen Hemminger
On Sat, 17 Dec 2016 13:03:55 -0500 Chas Williams <3ch...@gmail.com> wrote: > This patch initializes the eth_dev->link_intr_cbs queue which is > used when af_packet is passed into rte_eth_ev_callback_register(). > > Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") > > Signed-o

[dpdk-dev] [PATCH] net/af_packet: initialize link interrupt callback queue

2016-12-17 Thread Chas Williams
This patch initializes the eth_dev->link_intr_cbs queue which is used when af_packet is passed into rte_eth_ev_callback_register(). Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks") Signed-off-by: Chas Williams <3ch...@gmail.com> --- drivers/net/af_packet/rte_eth_af_packet.c |