Re: [dpdk-dev] [PATCH] net/enic: fix memory leak with oversized Tx packets

2017-02-03 Thread Ferruh Yigit
On 2/3/2017 1:18 AM, John Daley wrote: > If a packet send is attempted with a packet larger than the NIC > is capabile of processing (9208) it will be dropped with no > completion descriptor returned or completion index update, which > will lead to an mbuf leak and eventual hang. > > Drop and coun

[dpdk-dev] [PATCH] net/enic: fix memory leak with oversized Tx packets

2017-02-02 Thread John Daley
If a packet send is attempted with a packet larger than the NIC is capabile of processing (9208) it will be dropped with no completion descriptor returned or completion index update, which will lead to an mbuf leak and eventual hang. Drop and count oversized Tx packets in the Tx burst function and