[dpdk-dev] [PATCH v3 1/2] librte_ether: add internal callback functions

2016-10-03 Thread Iremonger, Bernard
Hi Stephen, From: Stephen Hemminger [mailto:step...@networkplumber.org] Sent: Sunday, October 2, 2016 10:13 AM To: Iremonger, Bernard Cc: dev at dpdk.org; Lu, Wenzhuo ; jerin.jacob at caviumnetworks.com; az5157 at att.com; Shah, Rahul R Subject: Re: [dpdk-dev] [PATCH v3 1/2] librte_ether: add

[dpdk-dev] [PATCH v3 1/2] librte_ether: add internal callback functions

2016-10-02 Thread Stephen Hemminger
I know callbacks are needed, in fact even more are necessary. That is why I don't like this design. It expands the API for each event. I think something like the Linux kernel netlink callback mechanism that passes an event and device handle.