[dpdk-dev] [PATCH 5/5] bond mode 4: tests for external state machine

Pawel Wodkowski pawelx.wodkowski at intel.com
Fri Apr 10 10:41:45 CEST 2015


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


More information about the dev mailing list