[dpdk-dev] [PATCH v4 00/16] Vector Rx/Tx PMD implementation for fm10k
Hi, Thomas, Best Regards, Mark > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 30, 2015 7:13 AM > To: Chen, Jing D > Cc: dev at dpdk.org; Liang, Cunming > Subject: Re: [dpdk-dev] [PATCH v4 00/16] Vector Rx/Tx PMD implementation > for fm10k > > > > Chen Jing D(Mark) (16): > > > fm10k: add new vPMD file > > > fm10k: add vPMD pre-condition check for each RX queue > > > fm10k: Add a new func to initialize all parameters > > > fm10k: add func to re-allocate mbuf for RX ring > > > fm10k: add 2 functions to parse pkt_type and offload flag > > > fm10k: add Vector RX function > > > fm10k: add func to do Vector RX condition check > > > fm10k: add Vector RX scatter function > > > fm10k: add function to decide best RX function > > > fm10k: add func to release mbuf in case Vector RX applied > > > fm10k: add Vector TX function > > > fm10k: use func pointer to reset TX queue and mbuf release > > > fm10k: introduce 2 funcs to reset TX queue and mbuf release > > > fm10k: Add function to decide best TX func > > > fm10k: fix a crash issue in vector RX func > > > doc: release notes update for fm10k Vector PMD > > > > Acked-by: Cunming Liang > > Sorry, there are some checkpatch warnings and a compilation error: > > SPACING: No space is necessary after a cast > SPACING: spaces preferred around that '+' > LINE_CONTINUATIONS: Avoid unnecessary line continuations > > And more important, with clang: > > fm10k_rxtx_vec.c:69:1: error: unused function 'fm10k_rxq_rearm' Thanks for the comments. I'll fix it.
[dpdk-dev] [PATCH v4 00/16] Vector Rx/Tx PMD implementation for fm10k
> > Chen Jing D(Mark) (16): > > fm10k: add new vPMD file > > fm10k: add vPMD pre-condition check for each RX queue > > fm10k: Add a new func to initialize all parameters > > fm10k: add func to re-allocate mbuf for RX ring > > fm10k: add 2 functions to parse pkt_type and offload flag > > fm10k: add Vector RX function > > fm10k: add func to do Vector RX condition check > > fm10k: add Vector RX scatter function > > fm10k: add function to decide best RX function > > fm10k: add func to release mbuf in case Vector RX applied > > fm10k: add Vector TX function > > fm10k: use func pointer to reset TX queue and mbuf release > > fm10k: introduce 2 funcs to reset TX queue and mbuf release > > fm10k: Add function to decide best TX func > > fm10k: fix a crash issue in vector RX func > > doc: release notes update for fm10k Vector PMD > > Acked-by: Cunming Liang Sorry, there are some checkpatch warnings and a compilation error: SPACING: No space is necessary after a cast SPACING: spaces preferred around that '+' LINE_CONTINUATIONS: Avoid unnecessary line continuations And more important, with clang: fm10k_rxtx_vec.c:69:1: error: unused function 'fm10k_rxq_rearm'
[dpdk-dev] [PATCH v4 00/16] Vector Rx/Tx PMD implementation for fm10k
From: "Chen Jing D(Mark)"v4: - Clear HW/SW ring content after allocating mbuf failed. v3: - Add a blank line after variable definition. - Do floor alignment for passing in argument nb_pkts to avoid memory overwritten. - Only scan max of 32 desc in scatter Rx function to avoid memory overwritten. v2: - Fix a typo issue. - Fix an improper prefetch in vector RX function, in which prefetches un-initialized mbuf. - Remove limitation on number of desc pointer in vector RX function. - Re-organize some comments. - Add a new patch to fix a crash issue in vector RX func. - Add a new patch to update release notes. v1: This patch set includes Vector Rx/Tx functions to receive/transmit packets for fm10k devices. It also contains logic to do sanity check for proper RX/TX function selections. Chen Jing D(Mark) (16): fm10k: add new vPMD file fm10k: add vPMD pre-condition check for each RX queue fm10k: Add a new func to initialize all parameters fm10k: add func to re-allocate mbuf for RX ring fm10k: add 2 functions to parse pkt_type and offload flag fm10k: add Vector RX function fm10k: add func to do Vector RX condition check fm10k: add Vector RX scatter function fm10k: add function to decide best RX function fm10k: add func to release mbuf in case Vector RX applied fm10k: add Vector TX function fm10k: use func pointer to reset TX queue and mbuf release fm10k: introduce 2 funcs to reset TX queue and mbuf release fm10k: Add function to decide best TX func fm10k: fix a crash issue in vector RX func doc: release notes update for fm10k Vector PMD doc/guides/rel_notes/release_2_2.rst |5 + drivers/net/fm10k/Makefile |1 + drivers/net/fm10k/fm10k.h| 45 ++- drivers/net/fm10k/fm10k_ethdev.c | 169 ++- drivers/net/fm10k/fm10k_rxtx_vec.c | 847 ++ 5 files changed, 1039 insertions(+), 28 deletions(-) create mode 100644 drivers/net/fm10k/fm10k_rxtx_vec.c -- 1.7.7.6
[dpdk-dev] [PATCH v4 00/16] Vector Rx/Tx PMD implementation for fm10k
Hi, > -Original Message- > From: Chen, Jing D > Sent: Thursday, October 29, 2015 5:16 PM > To: dev at dpdk.org > Cc: Liang, Cunming; Tao, Zhe; He, Shaopeng; Ananyev, Konstantin; Richardson, > Bruce; Chen, Jing D > Subject: [PATCH v4 00/16] Vector Rx/Tx PMD implementation for fm10k > > From: "Chen Jing D(Mark)" > > v4: > - Clear HW/SW ring content after allocating mbuf failed. > > v3: > - Add a blank line after variable definition. > - Do floor alignment for passing in argument nb_pkts to avoid memory > overwritten. > - Only scan max of 32 desc in scatter Rx function to avoid memory > overwritten. > > v2: > - Fix a typo issue. > - Fix an improper prefetch in vector RX function, in which prefetches >un-initialized mbuf. > - Remove limitation on number of desc pointer in vector RX function. > - Re-organize some comments. > - Add a new patch to fix a crash issue in vector RX func. > - Add a new patch to update release notes. > > v1: > This patch set includes Vector Rx/Tx functions to receive/transmit packets > for fm10k devices. It also contains logic to do sanity check for proper > RX/TX function selections. > > Chen Jing D(Mark) (16): > fm10k: add new vPMD file > fm10k: add vPMD pre-condition check for each RX queue > fm10k: Add a new func to initialize all parameters > fm10k: add func to re-allocate mbuf for RX ring > fm10k: add 2 functions to parse pkt_type and offload flag > fm10k: add Vector RX function > fm10k: add func to do Vector RX condition check > fm10k: add Vector RX scatter function > fm10k: add function to decide best RX function > fm10k: add func to release mbuf in case Vector RX applied > fm10k: add Vector TX function > fm10k: use func pointer to reset TX queue and mbuf release > fm10k: introduce 2 funcs to reset TX queue and mbuf release > fm10k: Add function to decide best TX func > fm10k: fix a crash issue in vector RX func > doc: release notes update for fm10k Vector PMD > > doc/guides/rel_notes/release_2_2.rst |5 + > drivers/net/fm10k/Makefile |1 + > drivers/net/fm10k/fm10k.h| 45 ++- > drivers/net/fm10k/fm10k_ethdev.c | 169 ++- > drivers/net/fm10k/fm10k_rxtx_vec.c | 847 > ++ > 5 files changed, 1039 insertions(+), 28 deletions(-) > create mode 100644 drivers/net/fm10k/fm10k_rxtx_vec.c > > -- > 1.7.7.6 Acked-by: Cunming Liang