From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B5EE12E83 for ; Fri, 10 Apr 2015 10:41:47 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 10 Apr 2015 01:41:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,555,1422950400"; d="scan'208";a="678175513" Received: from unknown (HELO [10.217.248.56]) ([10.217.248.56]) by orsmga001.jf.intel.com with ESMTP; 10 Apr 2015 01:41:46 -0700 Message-ID: <55278CC9.60609@intel.com> Date: Fri, 10 Apr 2015 10:41:45 +0200 From: Pawel Wodkowski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Eric Kinzie , "dev@dpdk.org" References: <1428339685-27686-1-git-send-email-ehkinzie@gmail.com> <1428339685-27686-6-git-send-email-ehkinzie@gmail.com> In-Reply-To: <1428339685-27686-6-git-send-email-ehkinzie@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 5/5] bond mode 4: tests for external state machine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 08:41:48 -0000 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