From: Wenjing Qiao
Add TDI implementation to a flow engine.
Signed-off-by: Wenjing Qiao
---
doc/guides/nics/cpfl.rst| 10 +
doc/guides/nics/features/cpfl.ini |1 +
drivers/net/cpfl/cpfl_ethdev.h |8 +
drivers/net/cpfl/cpfl_flow.c|5
From: Wenjing Qiao
To supporting P4-programmed network controller, reuse devargs
"flow_parser" to specify the path of a p4 context JSON configure
file. The cpfl PMD use the JSON configuration file to translate
rte_flow tokens into low level hardware representation.
Note, the p4 co
From: Wenjing Qiao
Enable TDI flow engine which can program hardware offloading rules
for a P4 programmable network controller.
Wenjing Qiao (2):
net/cpfl: parse flow offloading hint from P4 context file
net/cpfl: add TDI to flow engine
v2:
- fix typos.
- parse vsi id for key.
doc/guides
From: Wenjing Qiao
Add TDI implementation to a flow engine.
Signed-off-by: Wenjing Qiao
---
doc/guides/nics/cpfl.rst| 10 +
doc/guides/nics/features/cpfl.ini |1 +
drivers/net/cpfl/cpfl_ethdev.h |8 +
drivers/net/cpfl/cpfl_flow.c|5
From: Wenjing Qiao
To supporting P4-programmed network controller, reuse devargs
"flow_parser" to specify the path of a p4 context JSON configure
file. The cpfl PMD use the JSON configuration file to translate
rte_flow tokens into low level hardware representation.
Note, the p4 co
From: Wenjing Qiao
Enable TDI flow engine which can program hardware offloading rules
for a P4 programmable network controller.
Wenjing Qiao (2):
net/cpfl: parse flow offloading hint from P4 context file
net/cpfl: add TDI to flow engine
doc/guides/nics/cpfl.rst| 10
From: Wenjing Qiao
Use strncpy instead of memcpy for string copy and rename macro.
Coverity issue: 405350
Fixes: 6cc97c9971d7 ("net/cpfl: build action mapping rules from JSON")
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_flow_parser.c | 34 +++--
driver
From: Wenjing Qiao
Fix integer handling issues, tainted_scalar issues, uninit issues,
overrun issues and control flow issues reported by coverity scan.
Coverity issue: 403259
Coverity issue: 403261
Coverity issue: 403266
Coverity issue: 403267
Coverity issue: 403271
Coverity issue: 403274
Fixes
From: Wenjing Qiao
Refine vxlan encap content of all protocol headers with default
configuration.
Fixes: 6cc97c9971d7 ("net/cpfl: build action mapping rules from JSON")
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_flow_parser.c | 63 -
driver
From: Wenjing Qiao
Parse JSON file and generate rules that instruct PMD to map an
RTE_FLOW_ACTION_TYPE_PROG to a low-level FXP representation, the
matching follows below guidelines.
Use rte_flow_action_prog->name to match the name of a P4 action
type when provided in the JSON file. In ca
From: Wenjing Qiao
Parse JSON file and generate rules that instruct PMD to map an
RTE_FLOW_ACTION_TYPE_PROG to a low-level FXP representation, the
matching follows below guidelines.
Use rte_flow_action_prog->name to match the name of a P4 action
type when provided in the JSON file. In ca
From: Wenjing Qiao
Parse JSON file and generate rules that instruct PMD to map an
RTE_FLOW_ACTION_TYPE_PROG to a low-level FXP representation, the
matching follows below guidelines.
Use rte_flow_action_prog->name to match the name of a P4 action
type when provided in the JSON file. In ca
From: Wenjing Qiao
Parse JSON file and generate rules that instruct PMD to map an
RTE_FLOW_ACTION_TYPE_PROG to a low-level FXP representation, the
matching follows below guidelines.
Use rte_flow_action_prog->name to match the name of a P4 action
type when provided in the JSON file. In ca
From: Wenjing Qiao
"program" action should also be added in structure rte_flow_desc_action.
Fixes: 8f1953f1914d ("ethdev: add flow API for P4-programmable devices")
Signed-off-by: Wenjing Qiao
---
lib/ethdev/rte_flow.c | 2 ++
1 file changed, 2 insertions(+)
dif
From: Wenjing Qiao
Fix logically dead code and dereference before null check
issues reported in coverity scan.
Coverity issue: 403269
Coverity issue: 403270
Coverity issue: 403272
Fixes: 41f20298ee8c ("net/cpfl: parse flow offloading hint from JSON")
Fixes: 6cc97c9971d7 ("net/cpf
From: Yuying Zhang
Refine vxlan encap content of all protocol headers.
Fixes: 1960be7d32f8 ("app/testpmd: add VXLAN encap/decap")
Cc: sta...@dpdk.org
Signed-off-by: Yuying Zhang
---
app/test-pmd/cmdline_flow.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/a
From: Yuying Zhang
Add flow support for representor, so representor can
create, destroy, validate and flush rules.
Signed-off-by: Yuying Zhang
---
doc/guides/nics/cpfl.rst| 13
doc/guides/rel_notes/release_23_11.rst | 1 +
drivers/net/cpfl/cpfl_flow_engine_fxp.c | 90 +++
From: Yuying Zhang
Adapt fxp low level as a flow engine.
Signed-off-by: Yuying Zhang
---
drivers/net/cpfl/cpfl_ethdev.h | 27 ++
drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583
drivers/net/cpfl/meson.build| 1 +
3 files changed, 611 insertions(+)
From: Yuying Zhang
Added low level fxp module for rule packing / creation / destroying.
Signed-off-by: Yuying Zhang
---
drivers/net/cpfl/cpfl_controlq.c | 424 +++
drivers/net/cpfl/cpfl_controlq.h | 24 ++
drivers/net/cpfl/cpfl_ethdev.c | 31 +++
drivers/net/cpf
From: Yuying Zhang
Set up the rte_flow backend skeleton. Introduce the framework
to support different engines as rte_flow backend. Bridge rte_flow
driver API to flow engines.
Signed-off-by: Yuying Zhang
---
drivers/net/cpfl/cpfl_ethdev.c | 54 ++
drivers/net/cpfl/cpfl_ethdev.h | 5 +
dr
Setup the control vport and control queue for flow offloading.
Signed-off-by: Yuying Zhang
Signed-off-by: Beilei Xing
Signed-off-by: Qi Zhang
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 267 +
drivers/net/cpfl/cpfl_ethdev.h | 14
Add FXP low level implementation for CPFL rte_flow to
create/delete rules.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_actions.h | 858 +++
drivers/net/cpfl/cpfl_controlq.c | 379 ++
drivers/net/cpfl/cpfl_controlq.h | 51 ++
drivers/net/cpfl
A JSON file will be used to direct DPDK CPF PMD to
parse rte_flow tokens into low level hardware resources
defined in a DDP package file.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.h | 70 +
drivers/net/cpfl/cpfl_flow_parser.c | 1910 +++
drivers
Add devargs "flow_parser" for rte_flow json parser.
Signed-off-by: Wenjing Qiao
---
doc/guides/nics/cpfl.rst | 32
drivers/net/cpfl/cpfl_ethdev.c | 38 +-
drivers/net/cpfl/cpfl_ethdev.h | 3 +++
drivers/net/cpfl/m
This patchset add rte flow support for cpfl driver.
It depends on the following patch set:
http://patchwork.dpdk.org/project/dpdk/cover/20230816150541.144532-1-beilei.x...@intel.com/
Wenjing Qiao (4):
net/cpfl: parse flow parser file in devargs
net/cpfl: add flow json parser
net/cpfl: add
rg
Signed-off-by: Wenjing Qiao
---
drivers/net/iavf/iavf_ethdev.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index 00b963128b..bdfc0ed098 100644
--- a/drivers/net/iavf/iavf_ethdev.c
+++ b/driver
Setup the control vport and control queue for flow offloading.
Signed-off-by: Yuying Zhang
Signed-off-by: Beilei Xing
Signed-off-by: Qi Zhang
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_ethd
Add common library support for CPFL rte_flow to
create/delete rules.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_actions.h | 858 +++
drivers/net/cpfl/cpfl_contro
A JSON file will be used to direct DPDK CPF PMD to
parse rte_flow tokens into low level hardware resources
defined in a DDP package file.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_flow_parse
Add devargs "flow_parser" for rte_flow json parser.
Signed-off-by: Wenjing Qiao
---
Depends-on: series-29139 ("net/cpfl: support port representor")
---
drivers/net/cpfl/cpfl_ethdev.c | 30 +-
drivers/net/cpfl/cpfl_ethdev.h | 3 +++
drivers/
This patchset adds basic support for rte_flow.
---
Depends-on: series-29139 ("net/cpfl: support port representor")
Wenjing Qiao (4):
net/cpfl: parse flow parser file in devargs
net/cpfl: add flow json parser
net/cpfl: introduce CPF common library
net/cpfl: setup ctrl path
d
Setup the control vport and control queue for flow offloading.
Signed-off-by: Yuying Zhang
Signed-off-by: Beilei Xing
Signed-off-by: Qi Zhang
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 270 -
drivers/net/cpfl/cpfl_ethdev.h | 14
Add common library support for CPFL rte_flow to
create/delete rules.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_actions.h | 858 +++
drivers/net/cpfl/cpfl_controlq.c | 380 ++
drivers/net/cpfl/cpfl_controlq.h | 51 ++
drivers/net/cpfl
A JSON file will be used to direct DPDK CPF PMD to
parse rte_flow tokens into low level hardware resources
defined in a DDP package file.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_flow_parser.c | 1758 +++
drivers/net/cpfl/cpfl_flow_parser.h | 205
Add devargs "flow_parser" for rte_flow json parser.
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 30 +-
drivers/net/cpfl/cpfl_ethdev.h | 3 +++
drivers/net/cpfl/meson.build | 6 ++
3 files changed, 38 insertions(+), 1 deletio
This patchset adds basic support for rte_flow.
---
Depends-on: series-29139 ("net/cpfl: support port representor")
Wenjing Qiao (4):
net/cpfl: parse flow parser file in devargs
net/cpfl: add flow json parser
net/cpfl: introduce CPF common library
net/cpfl: setup ctrl path
d
From: Simei Su
Instead of splitting the function name and function type into
multiple lines, use then in a single line.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 5 ++---
drivers/common/idpf/base/idpf_controlq_setup.c | 5 ++-
From: Simei Su
Refine the macros and definitions by using 'tab' spaces and new
lines whereever necessary. Also refine the comment in
'idpf_ctlq_setup_regs'.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 2 +-
drivers/common/idpf/b
From: Simei Su
Instead of using a custom defined macro for generating a mask,
use the standard GENMASK macro.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++---
drivers/common/idpf/base/idpf_lan_txrx.h| 116 +--
From: Simei Su
Conditional check is not necessary to strip and get status bits
from the descriptor.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/common/i
From: Simei Su
As idpf_ctlq_deinit always returns success, make it 'void' instead
of returning only success. This also changes the return type for
idpf_deinit_hw as 'void'.
Based on the upstream comments, explicit __le16 typecasting is not
necessary as CPU_TO_LE16 is already being used.
Signed-
From: Simei Su
Instead of updating directly to 'cq_out' double pointer, use a
local pointer and update only when we return success.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 43 +---
1 file changed, 23 insertion
From: Simei Su
Customer has a requirement to use the legacy fixed size, single chunk
structure for ADI creation - one chunk for queue and one chunk for vector.
This is described in detail in customer case
https://issuetracker.google.com/issues/270157802.
On the other hand, upstream code review p
From: Simei Su
Instead of using something like a byte offset, we can add a union to the
struct here to enable direct addressing.
Signed-off-by: Alan Brady
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_controlq_api.h | 5 +
2
From: Simei Su
Add necessary check for payload and message buffer.
Signed-off-by: Julianx Grajkowski
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_common.c | 6 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.mai
From: Simei Su
a) Add maximum ADI count in capabilities message
b) Add PF side ADI index to create_adi message
c) Define another constant to indicate 'Function active' state of ADI
Signed-off-by: Shailendra Bhatnagar
Signed-off-by: Simei Su
---
.mailmap | 1 +
driv
From: Simei Su
Removing mailbox register offsets as the mapping to device register
offsets are different between CVL and MEV (they are swapped out)
individual drivers will define the offsets based on how registers
are hardware addressed. However the it will begin with VDEV_MBX_START
offset.
Sign
From: Simei Su
Adding a few PTP capabilities to determine which PTP features are
enabled - legacy cross time, ptm, device clock control, PTP Tx
timestamp with direct registers access, PTP Tx timestamp using
virtchnl messages.
Creating structures and opcodes to support feautres introduced by
capa
From: Simei Su
Add miss completion tag to other capabilities list, to indicate support for
detecting a miss completion based on the upper bit of the completion tag.
Signed-off-by: Josh Hay
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/virtchn
From: Simei Su
Add support to indicate physical port representor and query its statistics.
Signed-off-by: Zhenning Xiao
Signed-off-by: Jayaprakash Shanmugam
Signed-off-by: Simei Su
---
.mailmap | 2 +
drivers/common/idpf/base/virtchnl2.h | 80
This patch set updates idpf base code.
Simei Su (14):
common/idpf/base: enable support for physical port stats
common/idpf/base: add miss completion capabilities
common/idpf/base: initial PTP support
common/idpf/base: remove mailbox registers
common/idpf/base: add some adi specific field
For i40e in-tree kernel driver, it will set strip on when setting
filter on. To be consistent with dpdk, disable strip again.
Fixes: cb25d4323fbf ("net/avf: enable MAC VLAN and promisc ops")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
Depends-on: patch-129488 ("common/i
Fix hw mac type according to PCI ID list.
Fixes: eb385183edac ("net/iavf/base: update device IDs")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/common/iavf/iavf_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/iavf/iavf_common.c
b/driv
Fix hw mac type according to PCI ID list.
Fixes: eb385183edac ("net/iavf/base: update device IDs")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/common/iavf/iavf_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/iavf/iavf_common.c
b/driv
For i40e in-tree kernel driver, it will set strip on when setting
filter on. To be consistent with dpdk, disable strip again.
Fixes: cb25d4323fbf ("net/avf: enable MAC VLAN and promisc ops")
Signed-off-by: Wenjing Qiao
---
drivers/net/iavf/iavf.h| 1 +
drivers/net/iavf/iav
Due to only support timestamp at port level, adjust
timestamp mbuf register to dev config.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/net/idpf/idpf_ethdev.c | 9 +++--
driver
Due to only support timestamp at port level, adjust
timestamp mbuf register to dev config.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/net/cpfl/cpfl_ethdev.c | 9 +++--
driver
A rxq can be configured with timestamp offload.
So, add timestamp enable flag for rxq.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/common/idpf/idpf_common_rxtx.c | 11 ++-
driv
For ACC, getting main time from MTS registers by shared memory.
Notice: it is a workaround, and it will be removed after generic
solution are provided.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/common
Using alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_
Using alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/idpf/idpf_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/idpf/idpf_
Reading MTS register at first packet will cause timestamp
roll over issue. To support calculating 64b timestamp, need
an alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
--
Using alarm to save main time to solve timestamp roll over issue.
Enhance timestamp offload feature support for ACC. Ajust timestamp
mbuf register to dev config.
*** BLURB HERE ***
Wenjing Qiao (7):
common/idpf: fix 64b timestamp roll over issue
net/idpf: save main time by alarm
net/cpfl
Due to only support timestamp at port level, adjust
timestamp mbuf register to dev config.
Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/ice/ice_ethdev.c | 10 ++
drivers/net/ice/ice_rxt
Due to only support timestamp at port level, adjust
timestamp mbuf register to dev config.
Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
Cc: sta...@intel.com
Signed-off-by: Wenjing Qiao
---
drivers/net/ice/ice_ethdev.c | 10 ++
drivers/net/ice/
more
than 0, code will still calculate timestamp. So fix it.
Fixes: f9c561ffbccc ("net/ice: fix performance for Rx timestamp")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/ice/ice_rxtx.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/d
Update license and README
Signed-off-by: Wenjing Qiao
---
.mailmap | 8
drivers/common/idpf/base/README| 4 ++--
drivers/common/idpf/base/idpf_alloc.h | 2 +-
drivers/common/idpf/base/idpf_common.c | 2 +-
drivers
Add 'idpf_ctlq_clean_sq_force' which will clean all descriptors on
given control queue. It is needed in case control plane is not
running and we need to do proper driver cleanup.
Signed-off-by: NorbertX Ciosek
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.
Replace MAKEMASK to IDPF_M to avoid conflicts with MAKEMASK
redefinition from various subcomponents.
Signed-off-by: Priyalee Kushwaha
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.h | 3 --
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 +--
drivers
Add types for new two virtchnl commands: add & delete queue group
Signed-off-by: Nizan Zorea
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 189 +++
1 file changed, 189 insertions(+)
diff --git a/drivers/common/idpf/base/virtchnl2.h
b/dri
Some OSs don't allow allocating DMA memory at runtime. So create an
initial static buffer at initialization to hold this data.
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_common.c | 26 +++---
1 file changed, 15 inser
idpf_init_hw needs to free it's q_info.
idpf_clean_arq_element needs to return buffers via post_rx_buffs
Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
Cc: sta...@dpdk.org
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idp
Virtchnl2 opcodes are no longer in the enum virtchnl_ops. So change
these parameters to allow int rather that compiler enum type checking.
Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
Cc: sta...@dpdk.org
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
--
To make the code more readable and make it clearer that the opcode goes
in cookie_high and retval goes in cookie_low.
Add macro definitions for filling opcode and retval.
Signed-off-by: Charles Stoll
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.c | 2 ++
drivers
codes wherever necessary.
Signed-off-by: Kazatsker Kirill
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 40 +---
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/drivers/common/idpf/base/virtchnl2.h
should be
negotiated.
Remove all the above said fields and mark them as reserved.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/drivers/common
Move the existing OEM capability in VIRTCHNL2_OTHER_CAPS to
the last bit. This should not break any backward compatibility
as it is not used yet.
And VIRTCHNL2_MEV_DEVICE is no longer upstreamed.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base
get version comments where it
should be PF/VF.
Note: qregion variables will be added once the requirements
are defined properly.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 27 +++
1 file changed, 11 insertions
Fix ITR register definitions for AVF1.0 and AVF2.0
Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
Cc: sta...@dpdk.org
Signed-off-by: Priyalee Kushwaha
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_lan_pf_regs.h | 9 +++--
drivers/common
")
Cc: sta...@dpdk.org
Signed-off-by: Charles Stoll
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/common/idpf/base/idpf_controlq.c
b/drivers/common/idpf/base/idpf_contro
Since virtchnl related base code of iavf and idpf has
the same sourse, so remove virtual related base code
of idpf.
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_common.c|2 +-
drivers/common/idpf/base/idpf_prototype.h |2 +-
drivers/common/idpf/base
This patch set updates idpf base code.
Wenjing Qiao (15):
common/idpf/base: remove virtchnl related base code
common/idpf/base: fix ctlq message send and receive
common/idpf/base: fix ITR register definitions for AVF
common/idpf/base: remove qregion struct variables
common/idpf/base
Due to only support timestamp at port level, registering
timestamp mbuf should be at dev start stage.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/net/idpf/idpf_ethdev.c | 7 +++
d
Due to only support timestamp at port level, registering
timestamp mbuf should be at dev start stage.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/net/cpfl/cpfl_ethdev.c | 7 +++
d
A rxq can be configured with timestamp offload.
So, add timestamp enable flag for rxq.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
Suggested-by: Jingjing Wu
---
drivers/common/idpf/idpf_common_rxtx.c | 3 ++-
drivers/c
For ACC, getting main time from MTS registers by shared memory.
Notice: it is a workaround, and it will be removed after generic
solution are provided.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
config/m
Using alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/cpfl/cpfl_ethdev.c | 12
1 file changed, 12 insertions(+)
diff --git a/driver
Using alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
---
drivers/net/idpf/idpf_ethdev.c | 12
1 file changed, 12 insertions(+)
diff --git a/driver
Reading MTS register at first packet will cause timestamp
roll over issue. To support calculating 64b timestamp, need
an alarm to save main time from registers every 1 second.
Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path")
Cc: sta...@dpdk.org
Signed-off-by: Wenjing Qiao
--
Using alarm to save main time to solve timestamp roll over issue.
Enhance timestamp offload feature support for ACC. Ajust timestamp
mbuf registering at dev start.
Wenjing Qiao (7):
common/idpf: fix 64b timestamp roll over issue
net/idpf: save main time by alarm
net/cpfl: save main time by
Update license and README
Signed-off-by: Wenjing Qiao
---
.mailmap | 8
drivers/common/idpf/base/README| 4 ++--
drivers/common/idpf/base/idpf_alloc.h | 2 +-
drivers/common/idpf/base/idpf_common.c | 2 +-
drivers
Add 'idpf_ctlq_clean_sq_force' which will clean all descriptors on
given control queue. It is needed in case control plane is not
running and we need to do proper driver cleanup.
Signed-off-by: NorbertX Ciosek
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.
Add types for new two virtchnl commands: add & delete queue group
Signed-off-by: Nizan Zorea
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 189 +++
1 file changed, 189 insertions(+)
diff --git a/drivers/common/idpf/base/virtchnl2.h
b/dri
Replace MAKEMASK to IDPF_M to avoid conflicts with MAKEMASK
redefinition from various subcomponents.
Signed-off-by: Priyalee Kushwaha
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.h | 3 --
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 +--
drivers
Some OSs don't allow allocating DMA memory at runtime. So create an
initial static buffer at initialization to hold this data.
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_common.c | 26 +++---
1 file changed, 15 inser
idpf_init_hw needs to free it's q_info.
idpf_clean_arq_element needs to return buffers via post_rx_buffs
Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
Cc: sta...@dpdk.org
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idp
Virtchnl2 opcodes are no longer in the enum virtchnl_ops. So change
these parameters to allow int rather that compiler enum type checking.
Fixes: fb4ac04e9bfa ("common/idpf: introduce common library")
Cc: sta...@dpdk.org
Signed-off-by: Christopher Pau
Signed-off-by: Wenjing Qiao
--
To make the code more readable and make it clearer that the opcode goes
in cookie_high and retval goes in cookie_low.
Add macro definitions for filling opcode and retval.
Signed-off-by: Charles Stoll
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/idpf_controlq.c | 2 ++
drivers
codes wherever necessary.
Signed-off-by: Kazatsker Kirill
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 40 +---
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/drivers/common/idpf/base/virtchnl2.h
should be
negotiated.
Remove all the above said fields and mark them as reserved.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Wenjing Qiao
---
drivers/common/idpf/base/virtchnl2.h | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/drivers/common
1 - 100 of 144 matches
Mail list logo