Re: [ovs-dev] [PATCH 4/5] lib/dp-packet: copy multi-segments data from DPDK mbuf

2017-05-03 Thread
在 2017年5月3日,下午11:37,Kavanagh, Mark B 写道: >> >> From: Michael Qiu >> >> When doing packet clone, if packet source is from DPDK driver, >> multi-segment must be considered, and copy the segment's >> data one by one. >> >> Signed-off-by: Michael Qiu >> --- >> lib/dp-packet.c | 27 ++

Re: [ovs-dev] [PATCH 2/5] lib/dp-packet: copy additional packet info when do packet copy

2017-05-03 Thread
在 2017年5月3日,下午11:32,Kavanagh, Mark B 写道: >> >> From: Michael Qiu >> >> Currently, when doing packet copy, lots of DPDK mbuf's info >> will be missed, like packet type, ol_flags, etc. >> Those information is very important for DPDK to do >> packets processing. >> >> Signed-off-by: Michael Qiu

Re: [ovs-dev] [PATCH 3/5] lib/dp-packet: Fix data_len issue with multi-segments

2017-05-03 Thread
在 2017年5月3日,下午11:33,Kavanagh, Mark B 写道: >> From: Michael Qiu >> >> When a packet is from DPDK source, and it contains >> multiple segments, data_len is not equal to the >> packet size. This patch fix this issue. >> >> Signed-off-by: Michael Qiu >> Signed-off-by: Marcin Ksiadz >> Signed-off