From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pawel Wodkowski Subject: Re: [PATCH 5/5] bond mode 4: tests for external state machine Date: Fri, 10 Apr 2015 10:41:45 +0200 Message-ID: <55278CC9.60609@intel.com> References: <1428339685-27686-1-git-send-email-ehkinzie@gmail.com> <1428339685-27686-6-git-send-email-ehkinzie@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: Eric Kinzie , "dev-VfR2kkLFssw@public.gmane.org" Return-path: In-Reply-To: <1428339685-27686-6-git-send-email-ehkinzie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 2015-04-06 19:01, Eric Kinzie wrote: > > +static void > +lacp_recv_cb(uint8_t slave_id, struct rte_mbuf *lacp_pkt) > +{ > + lacpdu_rx_count[slave_id]++; > + RTE_VERIFY(lacp_pkt != NULL); > + rte_pktmbuf_free(lacp_pkt); > +} > + Would be nice to check here if it is valid LACP packet. -- Pawel