Skip to contentSkip to conversation

fm10k: handle err flags in vector RX func

PATCH Superseded Chen Jing D(Mark) 3 participants 4 messages Jan 28, 2016 – Feb 26, 2016 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fm10k: handle err flags in vector RX func

From: "Chen Jing D(Mark)" <[email protected]>

Using SSE instructions to parse error flags in HW Rx descriptor, then set corresponding bits of mbuf.

---
 doc/guides/rel_notes/release_2_3.rst |    2 +
 drivers/net/fm10k/fm10k_rxtx_vec.c   |   42 +++++++++++++++++++++++++++++++++-
 2 files changed, 43 insertions(+), 1 deletions(-)
doc/guides/rel_notes/release_2_3.rst +2 -0
index 99de186..19e8aa2 100644
@@ -3,7 +3,9 @@ DPDK Release 2.3
 
 New Features
 ------------
+* **Handle error flags in fm10k vector RX func**
 
+  * Parse err flags in Rx desc and set error bits in mbuf with vector instructions.
 
 Resolved Issues
 ---------------
drivers/net/fm10k/fm10k_rxtx_vec.c +41 -1

74 lines not on this page · raw message

Signature · 1 line
1.7.7.6
#1 lore raw

PATCH v2 1/1 fm10k: handle err flags in vector RX func

From: "Chen Jing D(Mark)" <[email protected]>

Using SSE instructions to parse error flags in HW Rx descriptor, then set corresponding bits of mbuf.

---
v2:
- rebase to latest repo
- fix a typo in the processing of HBO and IXE error flags

 doc/guides/rel_notes/release_2_3.rst |    4 +++
 drivers/net/fm10k/fm10k_rxtx_vec.c   |   42 +++++++++++++++++++++++++++++++++-
 2 files changed, 45 insertions(+), 1 deletions(-)
doc/guides/rel_notes/release_2_3.rst +4 -0
index 7945694..6715351 100644
@@ -39,6 +39,10 @@ This section should contain new features added in this release. Sample format:
 
   Enabled virtio 1.0 support for virtio pmd driver.
 
+* **Handle error flags in fm10k vector RX func**
+
+  * Parse err flags in Rx desc and set error bits in mbuf with vector instructions.
+
 
 Resolved Issues
 ---------------
drivers/net/fm10k/fm10k_rxtx_vec.c +41 -1

74 lines not on this page · raw message

Signature · 1 line
1.7.7.6
Acked-by on v2 1/1
#2 lore raw

Hi,

Quoted 7 lines

-----Original Message-----
From: Chen, Jing D
Sent: Saturday, February 06, 2016 2:49 PM
To: Liang, Cunming; He, Shaopeng
Cc: [email protected]; Chen, Jing D
Subject: [PATCH v2] fm10k: handle err flags in vector RX func

Quoted 6 lines

From: "Chen Jing D(Mark)" <[email protected]>

Using SSE instructions to parse error flags in HW Rx descriptor, then set corresponding bits of mbuf.

#3 lore raw
Quoted 9 lines · Cunming

Hi,

Quoted 7 lines

-----Original Message-----
From: Chen, Jing D
Sent: Saturday, February 06, 2016 2:49 PM
To: Liang, Cunming; He, Shaopeng
Cc: [email protected]; Chen, Jing D
Subject: [PATCH v2] fm10k: handle err flags in vector RX func

Quoted 7 lines
Quoted 6 lines

From: "Chen Jing D(Mark)" <[email protected]>

Using SSE instructions to parse error flags in HW Rx descriptor, then set corresponding bits of mbuf.

Applied to dpdk-next-net/rel_16_04

/Bruce