Re: [dpdk-dev] [PATCH v3 2/3] net/e1000: e1000 igb support to free consumed buffers

2017-01-23 Thread Lu, Wenzhuo
Hi Billy, Thanks for your explanation. It makes a picture to me ☺ Best regards Wenzhuo Lu From: Billy McFall [mailto:bmcf...@redhat.com] Sent: Monday, January 23, 2017 9:49 PM To: Lu, Wenzhuo Cc: thomas.monja...@6wind.com; dev@dpdk.org Subject: Re: [PATCH v3 2/3] net/e1000: e1000 igb support to

Re: [dpdk-dev] [PATCH v3 2/3] net/e1000: e1000 igb support to free consumed buffers

2017-01-23 Thread Billy McFall
There are two scenarios the APP calls this API (there may be others, but the API was designed with these two in mind): 1) APP receives a packet that needs to be flooded. Instead of making a copy of the packet (whether it is the whole packet, just the header or a clone buffer is used, as done today

Re: [dpdk-dev] [PATCH v3 2/3] net/e1000: e1000 igb support to free consumed buffers

2017-01-21 Thread Lu, Wenzhuo
Hi Billy, > -Original Message- > From: Billy McFall [mailto:bmcf...@redhat.com] > Sent: Saturday, January 21, 2017 12:01 AM > To: thomas.monja...@6wind.com; Lu, Wenzhuo > Cc: dev@dpdk.org; Billy McFall > Subject: [PATCH v3 2/3] net/e1000: e1000 igb support to free consumed > buffers > > A

[dpdk-dev] [PATCH v3 2/3] net/e1000: e1000 igb support to free consumed buffers

2017-01-20 Thread Billy McFall
Add support to the e1000 igb driver for the new API to force free consumed buffers on Tx ring. e1000 igb driver does not implement a tx_rs_thresh to free mbufs, it frees a slot in the ring as needed, so a new function needed to be written. Signed-off-by: Billy McFall --- drivers/net/e1000/e1000_