From: Satheesh Paul
Flow parsing was not handling pattern matching on the
fields of inner VLAN even though MKEX profile could be
extracting inner VLAN fields. Code has been modified
to handle matching fields on two VLAN tags.
Fixes: c34ea71b878 ("common/cnxk: add NPC parsing API")
Cc: sta...@dpd
From: Kiran Kumar K
While configuring ipv6 flow, ipv6 ext ltype should be
matched along with ipv6. Adding changes to fix this issue.
Fixes: 474e275b1bc6 ("common/cnxk: support extensions attributes in IPv6 item")
Cc: sta...@dpdk.org
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
From: Satheesh Paul
When installing flow rule for second pass packets, set the
LA LTYPE to LA_CPT_HDR.
Fixes: 4968b362b63 ("common/cnxk: support CPT second pass flow rules")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc_mcam.c
From: Kiran Kumar K
Limit the configuring RSS key with RTE Flow operations for cnxk
device. Key can be update only with dev operations using
rte_eth_dev_rss_hash_update.
Signed-off-by: Kiran Kumar K
Reviewed-by: Jerin Jacob
---
drivers/common/cnxk/roc_npc.c | 33 ++
From: Kiran Kumar K
Adding support for represented port flow item for cnxk device.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
doc/guides/nics/features/cnxk.ini| 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
drivers/common/cnxk/roc_npc.c| 59 ---
From: Satheesh Paul
Add roc API for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_mbox.h | 24 ++--
drivers/common/cnxk/roc_nix_ops.c | 14 +
drivers/common/cnxk/roc_npc.h
From: Satheesh Paul
Add support for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
doc/guides/nics/cnxk.rst | 169 +++--
drivers/net/cnxk/cnxk_ethdev_devargs.c | 7 +
drivers/net
From: Satheesh Paul
Preallocation of MCAM entries is not valid anymore since the
AF side MCAM allocation scheme has changed. This patch disables
preallocation by changing the default MCAM preallocation size
from 8 to 1.
Fixes: 168c59cfe42 ("net/octeontx2: add flow MCAM utility functions")
Signe
From: Satheesh Paul
Add roc API for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_mbox.h | 24 ++--
drivers/common/cnxk/roc_nix_ops.c | 14 +
drivers/common/cnxk/roc_npc.h
From: Satheesh Paul
Add support for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
doc/guides/nics/cnxk.rst | 37 +-
drivers/net/cnxk/cnxk_ethdev_devargs.c | 7 +
drivers/
From: Satheesh Paul
Add roc API for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_mbox.h | 24 ++--
drivers/common/cnxk/roc_nix_ops.c | 14 +
drivers/common/cnxk/roc_npc.h
From: Satheesh Paul
Add support for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
doc/guides/nics/cnxk.rst | 37 +-
drivers/net/cnxk/cnxk_ethdev_devargs.c | 7 +
drivers/
From: Satheesh Paul
Add ROC API to free the given MCAM entry. If the MCAM
entry has flow counter associated, this API will clear
and free the flow counter.
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob
---
v2:
* Removed unnecessary variable initialization
drivers/common/cnxk/roc_npc.
From: Satheesh Paul
Added support to create flow rules with count, mark and
security actions and mark pattern.
Signed-off-by: Satheesh Paul
---
v4:
* Added more description in documenation for flow rule options.
v3:
* Fixed IPv4 and IPv6 dst addr setting in flow pattern spec
v2:
* Updated docum
From: Satheesh Paul
Added support to create flow rules with count, mark and
security actions and mark pattern.
Signed-off-by: Satheesh Paul
---
v5:
* Rebased the patch.
v4:
* Added more description in documenation for flow rule options.
v3:
* Fixed IPv4 and IPv6 dst addr setting in flow pattern
From: Satheesh Paul
After parsing GRE tunnel, parse subsequent protocols
(for example, TCP or UDP) as tunneled versions.
Fixes: c34ea71b878 ("common/cnxk: add NPC parsing API")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc_parse.c
From: Satheesh Paul
Changed log level from info to debug for a log message
printed during MCAM allocation.
Fixes: 1f66919817ee ("common/cnxk: improve MCAM entries management")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_n
From: Kiran Kumar K
Adding changes to configure switch header type pre_L2 for cnxk.
pre_L2 headers are custom headers placed before the ethernet
header. Along with switch header type, user needs to provide the
offset within the custom header that holds the size of the
custom header and mask for t
From: Kiran Kumar K
Add roc API for parsing custom pre L2 headers as raw data.
Only relative offset is supported and search and limit is
not supported with this raw item type.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 8 +-
drivers
From: Satheesh Paul
Support matching existence of VLAN after
RTE_FLOW_ITEM_TYPE_ETH and RTE_FLOW_ITEM_TYPE_VLAN items.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc.h | 56 -
drivers/common/cnxk/roc_npc_mca
From: Satheesh Paul
Support matching existence of specific extension headers
after RTE_FLOW_ITEM_TYPE_IPV6 item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/hw/npc.h| 17
drivers/common/cnxk/roc_npc.h | 33 +++
From: Satheesh Paul
Added null check in IPv6 flow pattern parsing.
Fixes: a55dc02af5 ("common/cnxk: support extensions attributes in IPv6 item")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob Kollanukkaran
---
drivers/common/cnxk/roc_npc_parse.c | 8 +---
1 fil
From: Satheesh Paul
Added code to clear and delete counters upon flow deletion.
Fixes: a07f7ced43 ("common/cnxk: add NPC init and fini")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob Kollanukkaran
---
drivers/common/cnxk/roc_npc.c | 10 ++
1 file changed,
From: Satheesh Paul
Changed log level from info to debug for a couple of log
messages printed during MCAM allocation.
Fixes: 1f66919817 ("common/cnxk: improve MCAM entries management")
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc_utils.c
From: Satheesh Paul
When creating flow rule, merge base steering rule only
for ingress rules.
Fixes: f9af9080746 ("common/cnxk: add mcam utility API")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc_mcam.c | 2 +-
1 file
From: Kiran Kumar K
Adding changes to enable keep flow rule device capability.
With this change, flow rules will be kept across device restart.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 8
drivers/common/cnxk/roc_npc.h | 2
From: Satheesh Paul
When Rx/Tx functions are updated such as in an rte flow
rule creation with VLAN stripping or marking action,
update the fastpath ops table as well.
Fixes: b951c2efcb1 ("net/cnxk: add Rx burst for CN9K")
Fixes: f742a9a6681 ("net/cnxk: add Rx burst for CN10K")
Signed-off-by: S
From: Kiran Kumar K
Adding changes to enable keep flow rule device capability.
With this change, flow rules will be kept across device restart.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
v2:
* Allow creating flow rule before device start.
drivers/common/cnxk/roc_npc.c |
From: Kiran Kumar K
Adding changes to enable keep flow rule device capability.
With this change, flow rules will be kept across device restart.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
v2:
* Allow creating flow rule before device start.
drivers/common/cnxk/roc_npc.c |
From: Satheesh Paul
Adding changes to accommodate the following requirements
while masking the channel number.
1. For CN10K device, channel number should not be masked
for first pass rules with RTE_FLOW_ACTION_TYPE_SECURITY
action. And channel number should be masked for all
other flow r
From: Satheesh Paul
When dumping flow data, read hardware MCAM entry corresponding
to the flow and print that data also.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc_mcam_dump.c | 26 -
1 file changed, 25 insertions
From: Satheesh Paul
Added support to create flow rules with count, mark and
security actions and mark pattern.
Signed-off-by: Satheesh Paul
---
v2:
* Updated documentation in ipsec_secgw.rst
doc/guides/sample_app_ug/ipsec_secgw.rst | 58 -
examples/ipsec-secgw/flow.c | 280 +
From: Satheesh Paul
Added support to create flow rules with count, mark and
security actions and mark pattern.
Signed-off-by: Satheesh Paul
---
v3:
* Fixed IPv4 and IPv6 dst addr setting in flow pattern spec
v2:
* Updated documentation in ipsec_secgw.rst
doc/guides/sample_app_ug/ipsec_secgw.r
From: Satheesh Paul
Add ROC API to free the given MCAM entry. If the MCAM
entry has flow counter associated, this API will clear
and free the flow counter.
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob Kollanukkaran
---
drivers/common/cnxk/roc_npc.c | 63 +++-
From: Satheesh Paul
This patch adds ROC API to support rte flow port ID action type.
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 35 +
drivers/common/cnxk/roc_npc.h | 9 +
drivers/common/cnxk/version.map | 1 +
3 files changed,
From: Satheesh Paul
This patch adds support for rte flow action type port_id to
enable directing packets from an input port PF to an output
port which is a VF of the input port PF.
Signed-off-by: Satheesh Paul
---
doc/guides/nics/cnxk.rst | 5 +
doc/guides/nics/features/cnxk.ini
From: Satheesh Paul
Added support to specify maximum flow priority option. When
this option is given, each flow will be created with the
priority attribute and the priority will be random between
0 to max-flow-priority. This is useful to measure performance
on NICs which may have to rearrange flo
From: Satheesh Paul
Added support to create flows with priority attribute set
randomly between 0 and a user supplied maximum value. This
is useful to measure performance on NICs which may have to
rearrange flows to honor flow priority.
Removed the lower limit of 10 flows per batch.
Signed-o
From: Satheesh Paul
Added support to create flows with priority attribute set
randomly between 0 and a user supplied maximum value. This
is useful to measure performance on NICs which may have to
rearrange flows to honor flow priority.
Removed the lower limit of 10 flows per batch.
Signed-o
From: Satheesh Paul
ROC changes to support setting channel mask for SDP interfaces.
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 13 +
drivers/common/cnxk/roc_npc.h | 3 +++
drivers/common/cnxk/roc_npc_mcam.c | 10 ++
drivers/common/cnxk/roc_n
From: Satheesh Paul
This patch adds support to configure channel mask which will
be used by rte flow when adding flow rules on SDP interfaces.
Signed-off-by: Satheesh Paul
---
doc/guides/nics/cnxk.rst | 21 ++
drivers/net/cnxk/cnxk_ethdev_devargs.c | 40 ++
From: Satheesh Paul
Upon MCAM allocation failure, free counters only if counters
were allocated earlier for the flow rule.
Fixes: f9af9080746 ("common/cnxk: add mcam utility API")
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc_mcam.c | 3 ++-
1 file changed, 2 insertions(+), 1 d
From: Satheesh Paul
Add roc API for rte_flow_item_raw to parse custom L2 and L3 protocols.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_mbox.h | 24 ++--
drivers/common/cnxk/roc_nix_ops.c | 14 +
drivers/common/cnxk/roc_npc.h
From: Satheesh Paul
Add support for rte_flow_item_raw to parse custom L2 and L3
protocols.
Signed-off-by: Satheesh Paul
---
doc/guides/nics/cnxk.rst | 37 +-
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/
From: Satheesh Paul
Add roc API to configure dual VLAN tag addition and removal.
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 339 ++---
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_priv.h | 11 +-
3 files changed, 26
From: Satheesh Paul
Fix the order in which layer flags and layer type fields
are parsed when dumping the MCAM data.
Fixes: 9869c39918 ("common/cnxk: support flow entry dump")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc_mcam_dump.c | 40
From: Kiran Kumar K
Adding changes to configure switch header type pre L2 for cnxk.
Along with switch header type user needs to provide the
offset with in the custom header that holds the size of the
custom header and mask for the size with in the size offset.
ci: skip_roc_check skip_checkformat
From: Kiran Kumar K
Add roc API for parsing custom pre L2 headers as raw data.
Only relative offset is supported and search and limit is
not supported with this raw item type.
ci: skip_klocwork
Signed-off-by: Kiran Kumar K
Change-Id: I2840244715e2c849e8b96145dc1b642dd8e3583b
Reviewed-on: https
From: Satheesh Paul
Support matching existence of VLAN after
RTE_FLOW_ITEM_TYPE_ETH and RTE_FLOW_ITEM_TYPE_VLAN items.
ci: skip_checkformat
Signed-off-by: Satheesh Paul
Change-Id: Ieebeaee5f13e58e7db20a171ea878bb33ddd57bb
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpdk/+/67088
T
From: Satheesh Paul
Support matching existence of specific extension headers
after RTE_FLOW_ITEM_TYPE_IPV6 item.
Signed-off-by: Satheesh Paul
Change-Id: I8c7d58af242d6d991b718787a6c9b8e79c6ff409
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpdk/+/66900
Tested-by: sa_ip-toolkits-Jen
From: Kiran Kumar K
Adding changes to configure switch header type pre L2 for cnxk.
Along with switch header type user needs to provide the
offset with in the custom header that holds the size of the
custom header and mask for the size with in the size offset.
Signed-off-by: Kiran Kumar K
Revie
From: Kiran Kumar K
Add roc API for parsing custom pre L2 headers as raw data.
Only relative offset is supported and search and limit is
not supported with this raw item type.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 8 +-
drivers
From: Satheesh Paul
Support matching existence of VLAN after
RTE_FLOW_ITEM_TYPE_ETH and RTE_FLOW_ITEM_TYPE_VLAN items.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/roc_npc.h | 56 -
drivers/common/cnxk/roc_npc_mca
From: Satheesh Paul
Support matching existence of specific extension headers
after RTE_FLOW_ITEM_TYPE_IPV6 item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar Kokkilagadda
---
drivers/common/cnxk/hw/npc.h| 17
drivers/common/cnxk/roc_npc.h | 33 +++
From: Satheesh Paul
Add support to dump hardware internal representation information of
rte flow to file.
Every flow rule added will be dumped in the below format.
MCAM Index:1881
Interface :NIX-RX (0)
Priority :1
NPC RX Action:0X404001
ActionOp:NIX_RX_ACTIONOP_UCAST (1)
From: Satheesh Paul
This patch fixes incorrect MCAM key preparation when creating
MCAM entry to allow VLAN IDs after vlan filtering is enabled on port.
Fixes: ba1b3b081e ("net/octeontx2: support VLAN offloads")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
---
drivers/net/octeontx2/otx2_vl
From: Satheesh Paul
Fix channel mask of SDP interfaces on CN10K.
Fixes: f137566333 ("common/cnxk: support setting channel mask for SDP
interfaces")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.c | 9 +++--
drivers/commo
From: Satheesh Paul
When dumping flow data, dump preallocated IPsec rules also.
Fixes: 1aa86a170e ("drivers: support IPsec rule reservation scheme")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.c
From: Satheesh Paul
Use inline IPsec device to create IPsec rules irrespective
of RTE_ETH_RX_OFFLOAD_SECURITY offload flag.
Fixes: 1aa86a170e ("drivers: support IPsec rule reservation scheme")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Nithin Dabilpuram
Reviewed-by: Kiran K
From: Satheesh Paul
Fix channel mask of SDP interfaces on CN10K.
Fixes: f1375660 ("common/cnxk: support setting channel mask for SDP
interfaces")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Corrected "Fixes:" tag with 12 char sha1
drivers/commo
From: Satheesh Paul
When dumping flow data, dump preallocated IPsec rules also.
Fixes: 1aa86a170e27 ("drivers: support IPsec rule reservation scheme")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.c
From: Satheesh Paul
Use inline IPsec device to create IPsec rules irrespective
of RTE_ETH_RX_OFFLOAD_SECURITY offload flag.
Fixes: 1aa86a170e27 ("drivers: support IPsec rule reservation scheme")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Nithin Dabilpuram
Reviewed-by: Kiran
From: Satheesh Paul
CN103xx has the field hash feature which can hash 128 bit values
to 32 bit values. The hashed value can be used in MCAM keys thereby
freeing up space in the key. This patch adds support to make use of
this hardware feature to hash IPv6 addresses and put them in
the MCAM keys.
From: Satheesh Paul
RTE_FLOW_ITEM_TYPE_IPV6_EXT and RTE_FLOW_ITEM_TYPE_IPV6_FRAG_EXT
pattern items can be specified following a RTE_FLOW_ITEM_TYPE_IPV6.
Modified layer C parsing logic to handle this.
Fixes: a800675b06f9 ("net/cnxk: support IPv6 fragment flow pattern item")
Cc: sta...@dpdk.org
S
From: Satheesh Paul
Channel mask for SDP interfaces are by default set to
a constant value. Fix this by setting mask calculated
from the channel base and channel count configured in
NIX LF.
Fixes: f1375660 ("common/cnxk: support setting channel mask for SDP
interfaces")
Cc: sta...@dpdk.org
From: Satheesh Paul
Fix uninitialized pointer read reported in coverity scan.
Coverity issue: 375811
Fixes: 84d2ea9d4fb3 ("common/cnxk: support custom pre L2 header parsing as raw")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc_pa
From: Satheesh Paul
Added ROC API changes to support Tx queue flow
pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
Depends-on: series-28056 ("ethdev: add Tx queue flow matching item")
drivers/common/cnxk/roc_npc.c | 16 +---
drivers/common/cnxk/roc_npc.h
From: Satheesh Paul
Added support for Tx queue flow pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/net/cnxk/cnxk_flow.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cnxk_flow.c b/drivers/net/cnxk/cnxk_flow.c
index f
From: Satheesh Paul
Added ROC API changes to support Tx queue flow
pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated documentation for Tx queue pattern item and
verified generated documents as well.
drivers/common/cnxk/roc_npc.c | 16 +---
dr
From: Satheesh Paul
Added support for Tx queue flow pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
doc/guides/nics/features/default
From: Satheesh Paul
Added ROC API changes to support Tx queue flow
pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated documentation for Tx queue pattern item and
verified generated documents as well.
drivers/common/cnxk/roc_npc.c | 16 +---
dr
From: Satheesh Paul
Added support for Tx queue flow pattern item.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
doc/guides/nics/features/default
From: Satheesh Paul
Fix Out-of-bounds access and remove dead code
reported by Coverity.
Coverity issue: 384431, 384439, 380992
Fixes: 585bb3e538f9 ("common/cnxk: add VF support to base device class")
Fixes: da1ec39060b2 ("common/cnxk: delay inline device RQ enable to dev start")
Cc: sta...@dpdk.
From: Satheesh Paul
Removed dead code reported by Coverity.
Coverity issue: 380992
Fixes: da1ec39060b2 ("common/cnxk: delay inline device RQ enable to dev start")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
Reviewed-by: Nithin Dabilpuram
---
v2:
* Split the patch and updated commit messa
From: Satheesh Paul
The subtraction expression in mbox_memcpy() can wrap around
causing an out-of-bounds access. Added a check on 'size' to
fix this.
Coverity issue: 384431, 384439
Fixes: 585bb3e538f9 ("common/cnxk: add VF support to base device class")
Cc: sta...@dpdk.org
Signed-off-by: Sathee
From: Satheesh Paul
Added ROC API changes to parse RTE_FLOW_ITEM_TYPE_PPPOES
rte_flow item type.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_parse.c | 5 +
2 files changed, 6 insertions(+)
diff --git a
From: Satheesh Paul
Support to parse RTE_FLOW_ITEM_TYPE_PPPOES rte_flow item
type for cnxk device.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
From: Satheesh Paul
Add ROC API to support mirror flow action.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_mbox.h | 56 +
drivers/common/cnxk/roc_nix.h | 8 ++-
drivers/common/cnxk/roc_nix_mcast.c | 86 +++
From: Satheesh Paul
Added RTE_FLOW_ACTION_TYPE_SAMPLE action type for cnxk device.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
drivers/net/cnxk/cnxk_flow.c | 121 --
2 files changed, 115 insertions(+),
From: Satha Rao
Added ROC api to send packets on multiple links when egress mirror
enabled.
Signed-off-by: Satha Rao
Reviewed-by: Nithin Dabilpuram
Reviewed-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_nix.h| 2 +
drivers/common/cnxk/roc_nix_tm_ops.c | 7
From: Satheesh Paul
Added ROC API changes to parse RTE_FLOW_ITEM_TYPE_PPPOES
rte_flow item type.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated release notes.
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_parse.c | 5 +
2 files changed,
From: Satheesh Paul
Support to parse RTE_FLOW_ITEM_TYPE_PPPOES rte_flow item
type for cnxk device.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/nics/features/cnxk_vec.ini | 1 +
doc/guides/nics/features/cnxk_vf.ini | 1
From: Satheesh Paul
Add ROC API to support mirror flow action.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated release notes.
Depends-on: series-30556 ("common/cnxk: support PPPoE flow item type in ROC
API")
drivers/common/cnxk/roc_mbox.h | 56 +++
From: Satheesh Paul
Added RTE_FLOW_ACTION_TYPE_SAMPLE action type for cnxk device.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/rel_notes/release_24_03.rst | 1 +
drivers/net/cnxk/cnxk_flow.c | 121 +
From: Satha Rao
Added ROC api to send packets on multiple links when egress mirror
enabled.
Signed-off-by: Satha Rao
Reviewed-by: Nithin Dabilpuram
Reviewed-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/common/cnxk/roc_nix.h| 2 +
drivers/common/cnxk/roc_nix_tm_ops.c | 7
From: Kiran Kumar K
While creating a RSS rule, if no RSS types are specified,
use RSS types from dev config.
Fixes: bc778a17fa46 ("net/cnxk: support flow RSS")
Cc: sta...@dpdk.org
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
---
drivers/net/cnxk/cnxk_flow.c | 15 ++-
1
From: Satheesh Paul
After all aged flows are destroyed, the aged_flows bitmap
is free-ed. Querying aged flows tries to access this bitmap
resulting in a segmentation fault. Fixing this by not accessing
the bitmap if no aged flows are present.
Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging
From: Satheesh Paul
The aged flows poll thread is not stopped before NPC cleanup
resulting in a segmentation fault. Fixing this by stopping
aged flows poll thread before proceeding with NPC cleanup.
Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging")
Cc: sta...@dpdk.org
Signed-off-by: Sathe
From: Kiran Kumar K
If flow aging is enabled application termination may take time
equivalent to aging timeout. This is because on termination flow
thread uses a sleep call which is uninterruptible.
Fixes: 357f5ebc8a24 ("common/cnxk: support flow aging")
Cc: sta...@dpdk.org
Signed-off-by: Kiran
From: Satheesh Paul
For MCAM rules with PF/VF action, the PF's default rule action is
is copied and overwritten over the user provided action. Fixing this
by setting default action only if no other action (like queue) is
specified by user.
Fixes: a07f7ced436def ("common/cnxk: add NPC init and fi
From: Satheesh Paul
Fix ROC code naming convention.
Fixes: d110c44d29e7 ("common/cnxk: support flow aging")
Signed-off-by: Satheesh Paul
Reviewed-by: Jerin Jacob
---
drivers/common/cnxk/roc_npc.h | 2 +-
drivers/common/cnxk/roc_npc_aging.c | 14 +-
2 files changed, 10 inse
From: Satheesh Paul
Channel mask field is incorrectly returned as 16 bits.
Fixing it by truncating to 12 bits.
Fixes: 2703f1fa3200 ("common/cnxk: fix setting channel mask for SDP interfaces")
Cc: sta...@dpdk.org
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 5 +++--
drive
From: Satheesh Paul
Added ROC API to get MKEX capability.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.c | 24
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/version.map | 1 +
3 files changed, 26 insertions(+
From: Satheesh Paul
Adding support for represented port flow item for cnxk device.
Signed-off-by: Kiran Kumar K
Signed-off-by: Satheesh Paul
---
v2:
* Fix issue with flow key alg for cnxk.
doc/guides/nics/features/cnxk.ini| 1 +
doc/guides/nics/features/cnxk_vf.ini | 1 +
drivers/com
From: Kiran Kumar K
Support SPI to SA index translation action with
SPI bits MS_28_25.
Signed-off-by: Kiran Kumar K
Reviewed-by: Satheesh Paul
Reviewed-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_npc.c | 4
drivers/common/cnxk/roc_npc.h | 1 +
2 files changed, 5 insertions(+)
dif
From: Satheesh Paul
While destroying SPI to SA index rule, inline device
mbox should be used. Adding changes to fix this.
Fixes: 04087b781484 ("common/cnxk: support SPI to SA index")
Signed-off-by: Kiran Kumar K
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 14 +++
From: Kiran Kumar K
Adding spec for MS_28_25 Flow action for cnxk device.
Signed-off-by: Kiran Kumar K
Reviewed-by: Nithin Kumar Dabilpuram
---
drivers/net/cnxk/rte_pmd_cnxk.h | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/rte_pmd_cnxk.h b/drivers/n
From: Satheesh Paul
Currently PORT_ID action can redirect traffic only between
VFs of a PF. This patch extends PORT_ID action to redirect
traffic from one PF port to another PF port also.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
drivers/common/cnxk/roc_npc.c | 29 +
From: Satheesh Paul
Currently PORT_ID action can redirect traffic only between
VFs of a PF. This patch extends PORT_ID action to redirect
traffic from one PF port to another PF port also.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated release notes.
doc/guides/rel_
From: Satheesh Paul
Currently PORT_ID action can redirect traffic only between
VFs of a PF. This patch extends PORT_ID action to redirect
traffic from one PF port to another PF port also.
Signed-off-by: Satheesh Paul
Reviewed-by: Kiran Kumar K
---
v2:
* Updated release notes.
v3:
* Rebased and
1 - 100 of 156 matches
Mail list logo