Hi, chenxu
On 08/27, chenxux...@intel.com wrote:
>From: Di ChenxuX
>
>Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private
>resources for the port can be freed by rte_eth_dev_close().
>This patch cover all the intel drivers
>
Just setting RTE_ETH_DEV_CLOSE_REMOVE in probe stage is not enou
From: Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private
resources for the port can be freed by rte_eth_dev_close().
This patch cover all the intel drivers
Signed-off-by: Di ChenxuX
---
drivers/net/e1000/igb_ethdev.c | 5 +
drivers/net/fm10k/fm10k_ethdev.c | 5 +
d
Hi, Junyu
Please delete the 'From' line in the commit log. And double check your commit
log before you send the patch out!!!
And for the discarded the patch, need you set it to 'suspended' in patchwork.
And you need to use v2 if you send it again.
Qiming
-Original Message-
From: Jiang,
From: Jiang JunyuX
X552/557 devices do not enable the queue interrupt mapping,
this patch fix the issue.
Fixes: d2e72774e58c ("ixgbe/base: support X550")
Signed-off-by: Jiang JunyuX
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dri
When doing xmit in-order enqueue, packets are buffered and then flushed
into avail ring. It has possibility that no free room in avail ring,
thus some buffered packets can't be transmitted. So move stats update
just after successful avail ring updates.
Signed-off-by: Marvin Liu
---
drivers/net/v
Check whether freed descriptors are enough before enqueue operation.
If more space is needed, will try to cleanup used ring on demand. It
can give more chances to cleanup used ring, thus help RFC2544 perf.
Signed-off-by: Marvin Liu
---
drivers/net/virtio/virtio_rxtx.c | 73 ++
From: Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private
resources for the port can be freed by rte_eth_dev_close().
This patch cover all the intel drivers
Signed-off-by: Di ChenxuX
---
drivers/net/e1000/igb_ethdev.c | 5 +
drivers/net/fm10k/fm10k_ethdev.c | 5 +
d
Ideally, get_tsc_freq_arch() is able to provide the
TSC rate using arch-specific means. When that is not
possible, DPDK reverts to calculating the TSC rate with
a 100ms nanosleep or 1s sleep. The latter occurs more
frequently in VMs which often do not have access to the
data they need from arch-s
Ideally, get_tsc_freq_arch() is able to provide the
TSC rate using arch-specific means. When that is not
possible, DPDK reverts to calculating the TSC rate with
a 100ms nanosleep or 1s sleep. The latter occurs more
frequently in VMs which often do not have access to the
data they need from arch-s
On 23/08/2019 16:49, Aaron Conole wrote:
> Ray Kinsella writes:
>
>> This patchset adds ABI version testing to the app/test unit test framework,
>> addressing two issues previously raised during ML conversations on ABI
>> stability;
>>
>> 1. How do we unit test still supported previous ABI ver
This patch add link related operations like
link update, up and down.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
doc/guides/nics/features/ppfe.ini | 1 +
doc/guides/nics/ppfe.rst | 1 +
drivers/net/ppfe/ppfe_ethdev.c| 103 +++
This patch adds support to enable multicast and
promiscuous mode.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
doc/guides/nics/features/ppfe.ini | 2 ++
doc/guides/nics/ppfe.rst | 2 ++
drivers/net/ppfe/ppfe_ethdev.c| 36
This patch add support for supported packet types
by the platform andbasic statistics like
numbers of packets/bytes receive and transmit.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
doc/guides/nics/features/ppfe.ini | 2 ++
doc/guides/nics/ppfe.rst
This patch add burst enqueue and dequeue operations
to the ppfe PMD.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
drivers/net/ppfe/pfe_hif.c | 350 +
drivers/net/ppfe/pfe_hif.h | 8 +
drivers/net/ppfe/pfe_hif_lib.c | 1
HIF or host interface is responsible for transmit
and receive packets between physical ethernet
interfaces and HIF library defined logical interfaces.
This patch initialise that host interface and MAC.
Signed-off-by: Gagandeep Singh
Signed-off-by: Akhil Goyal
Acked-by: Nipun Gupta
---
drivers
To update MAC address or MTU, operations are
added to the driver.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
doc/guides/nics/features/ppfe.ini | 1 +
doc/guides/nics/ppfe.rst | 1 +
drivers/net/ppfe/ppfe_ethdev.c| 62 ++
This patch add some hardware specific macros
and functions that will be used by the driver.
Signed-off-by: Gagandeep Singh
Signed-off-by: Akhil Goyal
Acked-by: Nipun Gupta
---
drivers/net/ppfe/base/cbus.h | 66 +
drivers/net/ppfe/base/cbus/bmu.h | 41 +++
drivers/net/ppfe
This patch adds device start, stop and close
operations.
Signed-off-by: Gagandeep Singh
Signed-off-by: Akhil Goyal
Acked-by: Nipun Gupta
---
drivers/net/ppfe/Makefile | 2 +-
drivers/net/ppfe/pfe_eth.h | 1 +
drivers/net/ppfe/pfe_hif.c | 136 +
drivers/net/ppfe/pfe
This patch add RX/TX queue setup operations
and supported checksum offloads.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
doc/guides/nics/features/ppfe.ini | 2 +
doc/guides/nics/ppfe.rst | 1 +
drivers/net/ppfe/pfe_hif.c| 114
This patch introduces logging for the ppfe PMD.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
drivers/net/ppfe/pfe_logs.h| 30
drivers/net/ppfe/ppfe_ethdev.c | 65 +++---
2 files changed, 82 insertions(+), 13 del
ppfe (programmable packet forwarding engine)
is a network poll mode driver for NXP SoC
ls1012a.
This patch introduces the framework of ppfe
driver with basic functions of initialisation
and teardown.
Signed-off-by: Gagandeep Singh
Signed-off-by: Akhil Goyal
Acked-by: Nipun Gupta
---
MAINTAINE
This patch add documentation for ppfe network
poll mode driver.
PPFE is a hardware programmable packet
forwarding engine to provide high performance
ethernet interfaces.
Signed-off-by: Gagandeep Singh
Acked-by: Nipun Gupta
Acked-by: Akhil Goyal
---
MAINTAINERS | 1 +
d
From: Hemant Agrawal
This code is being shared by more than 1 type of driver.
Common is most appropriate place for it.
Signed-off-by: Hemant Agrawal
---
drivers/bus/dpaa/Makefile | 2 +-
drivers/bus/dpaa/base/qbman/dpaa_sys.h| 1 +
drivers/bus/dpaa/dpaa_bus.c
This series introduces ppfe (programmable packet
forwarding engine) network poll mode driver for
NXP SoC ls1012a.
First patch of this series move OF library code from
dpaa bus to a common folder as PPFE also uses the
same library for getting information from the device
tree.
This patch is included
Add SHA224 and SHA256 HMAC algorithms and it's corresponding tests.
Signed-off-by: Nagadheeraj Rottela
---
app/test/test_cryptodev_aes_test_vectors.h | 18 +++
doc/guides/cryptodevs/features/nitrox.ini | 2 ++
drivers/crypto/nitrox/nitrox_sym.c | 6
drivers
Add hmac(sha1), cbc(aes) authenc tests in the test mechanism.
Signed-off-by: Nagadheeraj Rottela
---
app/test/test_cryptodev.c | 52 ++
app/test/test_cryptodev.h | 1 +
app/test/test_cryptodev_aes_test_vectors.h | 30 +++-
Add cipher auth crypto chain processing functionality in symmetric
request manager.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/nitrox_sym_reqmgr.c | 427 +-
1 file changed, 425 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/nitrox/nitrox_
Add burst enqueue and dequeue operations along with interface for
symmetric request manager.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/nitrox_qp.h | 60 +++
drivers/crypto/nitrox/nitrox_sym.c| 128 +-
drivers/crypto/nitrox/nitrox_sy
Add all the session management operations.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/nitrox_sym.c | 323 -
drivers/crypto/nitrox/nitrox_sym_ctx.h | 85 +
2 files changed, 405 insertions(+), 3 deletions(-)
create mode 100644 drivers
Add hardware queue management code corresponding to queue pair setup
and release functions.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/nitrox_csr.h | 13
drivers/crypto/nitrox/nitrox_hal.c | 151 +
drivers/crypto/nitrox/nitrox_hal.h | 1
Add the following cryptodev operations,
- dev_configure
- dev_start
- dev_stop
- dev_close
- dev_infos_get
Signed-off-by: Nagadheeraj Rottela
---
doc/guides/cryptodevs/features/nitrox.ini | 38
doc/guides/cryptodevs/nitrox.rst| 37 +++
drivers/crypto/ni
Add software queue management code corresponding to queue pair setup
and release functions.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/Makefile| 2 +
drivers/crypto/nitrox/meson.build | 2 +
drivers/crypto/nitrox/nitrox_qp.c | 74 +++
Add pci probe, remove and hardware init routines.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/Makefile| 1 +
drivers/crypto/nitrox/meson.build | 1 +
drivers/crypto/nitrox/nitrox_csr.h| 28 +
drivers/crypto/nitrox/nitrox_device.c | 105 ++
Add Nitrox symmetric cryptodev with no operations. Cryptodev
operations will be added in the next set of patches. Also, registered
nitrox log type.
Signed-off-by: Nagadheeraj Rottela
---
drivers/crypto/nitrox/Makefile| 2 +
drivers/crypto/nitrox/meson.build | 2 +
drivers/crypto/ni
Add the Nitrox PMD to support Nitrox crypto device.
---
v4:
* Added wmb between pending_count store and sr pointer store in enqueue
operation. This is required to safely read sr in dequeue operation.
v3:
* Add SHA224 and SHA256 HMAC algorithms
v2:
* Fix compilation error on AARCH64.
* Fix check
Add bare minimum Nitrox PMD library and doc build infrastructure and
claim responsibility by updating the maintainers file.
Signed-off-by: Nagadheeraj Rottela
---
MAINTAINERS | 7 ++
config/common_base | 5 +
doc/guides
On 8/26/2019 4:15 AM, Takanari Hayama wrote:
>
> On 2019/08/26 10:07, Tetsuya Mukawa wrote:
>> 2019年8月17日(土) 5:43 Stephen Hemminger :
>>>
>>> Replace the boilerplate BSD license text with the equivalent
>>> SPDX license id.
>>>
>>> Signed-off-by: Stephen Hemminger
>>> Acked-by: Tetsuya Mukawa
>
From: Jiang JunyuX
X552/557 devices don't map interrupt vector before
enabling Rx/Tx queue interrupt.
Fixes: d2e72774e58c ("ixgbe/base: support X550")
Signed-off-by: Jiang JunyuX
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/driver
+ Gavin
> -Original Message-
> From: dev On Behalf Of Phil Yang
> Sent: Monday, August 26, 2019 7:00 PM
> To: jgraj...@cisco.com; dev@dpdk.org
> Cc: tho...@monjalon.net; jer...@marvell.com; Honnappa Nagarahalli
> ; damar...@cisco.com; nd
>
> Subject: [dpdk-dev] [PATCH v1] net/memif: opti
Using 'rte_mb' to synchronize the shared ring head/tail between producer
and consumer will stall the pipeline and damage performance on the weak
memory model platforms, such like aarch64. Meanwhile update the shared
ring head and tail are observable and ordered between CPUs on IA.
Optimized this f
Add Geneve offset for tunneled packets to allow dummy packets to be
properly created.
Signed-off-by: Doug Dziggel
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/base/ice_swit
Add these two ptype(MAC_PPPOD_PAY and MAC_PPPOE_PAY) in outer mac
bitmap, so it can hash for outer mac.
Signed-off-by: Zhirun Yan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flow.c | 8 ++--
drivers/net/ice/base/ice_flow.h | 5 +
2 files chan
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, August 26, 2019 18:40
> To: Ruifeng Wang (Arm Technology China) ; Ye
> Xiaolong
> Cc: jer...@marvell.com; Gavin Hu (Arm Technology China)
> ; dev@dpdk.org; Honnappa Nagarahalli
> ; nd ; Kevin Traynor
> ; Luca Boccassi
> Subject:
Correctly update profile to recipe bitmap array after adding and
associating recipes. This fixes an issue where determining unused
recipe result index slots was incorrect.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c
When looking for an existing recipes, never choose an inverse
recipe as these are used for anti-spoofing. Choosing inverse
recipes for source MAC address rules was causing errors while
adding the rule.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
dri
Add AQC get link topology handle support. This is needed to determine
Direct Attach (DA) or backplane media type for PHY types that support
either. Get link topology handle cage node type request can be used to
determine if a cage is present or not. If a cage is present for PHY
types that supports
Added register definitions for GL_MDCK_TX_TDPU and GL_MDET_TX_TDPU.
Signed-off-by: Bruce Allan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_hw_autogen.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/ne
We are already in the branch "if (fm_list->vsi_count == 1)"
no need to exit and re-enter.
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/ba
Shorten the delay for SQ responses, but increase the number of loops.
Max delay time is unchanged, but some operations complete much more
quickly.
In the process, add a new define to make the delay count and delay time
more explicit, and simplify the code so it's the same for both switch
and NIC m
Removing Rx flex descriptor metadata and flag programming from shared
code. As per HAS these registers cannot be written to as they are read
only. While non-secure NVMs allow write access to them, secure images
will not. The programming for all fields per RxDID is now handled in the
comms package.
Use BIT_ULL() instead of ICE_FLOW_HASH_FLD() which does the same bit shift
operation.
Signed-off-by: Bruce Allan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flow.h | 24 +++-
1 file changed, 11 insertions(+), 13 deletions(-)
diff
Correct abbreviation issues found by running abbrevcheck.
Signed-off-by: Tony Nguyen
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_common.c| 4 ++--
drivers/net/ice/base/ice_controlq.c | 2 +-
drivers/net/ice/base/ice_controlq.h | 2 +-
driver
This patch updates UDP tunneled training packets with an appropriate
UDP dest port. For the correct profile to be chosen, an open tunnel
port must be included in the training packet.
Added GENEVE tunnel labels in the test package in order to test GENEVE
tunnel rule creation.
Signed-off-by: Dan No
Remove grouping rules to maximize the number of words placed into
a recipe line. This will allow more recipes to be added by reducing
the number of result indices required.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.
We don't need to find a dummy packet when removing a rule so remove
the call to get the dummy packet. This also obviates some variables
so remove them also.
Also reduce the scope of rule_buf_sz.
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c |
Before this patch, only outer IP with inner UDP port can appear in
RSS hash, because the extraction sequence uses outer IP protocol
ID with Inner UDP protocol ID. ICE_PROT_UDP_OF always extracts the
TUNNELED UDP port values (i.e., 4789 for VXLAN). ICE_PROT_UDP_IL_OR_S
will extract NON-TUNNELED UDP
Currently ice_clear_vsi_promisc() detects if the VLAN ID sent is not 0
and sets the recipe_id to ICE_SW_LKUP_PROMISC_VLAN in that case and
ICE_SW_LKUP_PROMISC if the VLAN_ID is 0. However this doesn't allow VLAN
0 promiscuous rules to be removed, but they can be added. Fix this by
checking if the p
There is no reason to do this conditional check before the assignment so
simply remove it.
Signed-off-by: Bruce Allan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/n
RSS configurations calls currently support only non-tunneled packets,
which uses outer-first IPs. Adding another call to configure RSS for
tunneled packets which will enable hashing on inner-last IP. RSS hash
will only be done on the innermost IP.
- Update RSS configuration calls to take packet seg
Removed setting Read flag in the Get Allocated Resource Descriptors AQ
command (0x020A). The read flag is not required for this command and
causes the FW to return an error.
Fixes: d781ccbdd15d ("net/ice/base: add functions to get allocated resources")
Cc: sta...@dpdk.org
Signed-off-by: Dan Nowli
This patch is an optimization to decrease the number of TCAM entries
used in the profile blocks, especially for RSS. To be most effective
this will also require a package change in order to decrease the number
of PTYPE groups necessary to program RSS, FD and ACL rules.
Signed-off-by: Dan Nowlin
S
ice_ilog2 computes the integer log base 2 of the value (0 is undefined)
ice_is_pow2 returns true if the value is a power of 2 (0 is not a power
of 2). Move the functions to ice_type.h and wrap them so that components
can strip or conditionally-compile out these implementations in lieu of
their own
Added RSS support for PPPoE with inner TCP and UDP.
Added RSS support for GTPU with IPv4 and IPv6.
Signed-off-by: Zhirun Yan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flow.c | 38 --
drivers/net/ice/base/ice_flow
Fixing ice_add_adv_rule to return an error when an invalid match
criteria is requested by the caller. This happens when the protocol
and offset pair is not supported by the package.
This change required a fix for the offset in the VXLAN GPE header,
and also found an issue with NVGRE where the pack
Add ice_get_open_tunnel_port routine, which can be used to find
an open tunnel port for creating switch and flow director training
packets.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flex_pipe.c | 22 ++
When updating switch database with chained recipes from
firmware, where a null pointer derefence was occurring due to looking
into a sub-recipe entry which is not filled in.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_protoc
Change UDP tunnel training packets for the switch to work for both
Geneve and VXLAN cases.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_switch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/
Change recipe to profile association logic to determine the profile type
to determine if a profile is compatible with the rule being added.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flex_pipe.c | 87 +++
The driver detects and warns about FW rollback mode before getting the NVM
version (through ice_init_nvm) which results in "0.00 0x0 0.0.0" being
printed. Fix this by calling ice_init_nvm earlier.
This could have been fixed by moving ice_print_rollback_msg as well, but
it made more sense to move i
This function is needed by the driver to move PSM leaf nodes to a new
parent.
Additionally, add struct ice_aqc_move_txqs to struct ice_aq_desc so
driver code can access it.
Signed-off-by: Ben Shelton
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_admin
Currently the VLAN ice_flg64_bits are off by 1. Fix this by
setting the ICE_FLG_EVLAN_x8100 flag to 14, which also updates
ICE_FLG_EVLAN_x9100 to 15 and ICE_FLG_VLAN_x8100 to 16.
Signed-off-by: Brett Creeley
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ic
For certain PTP clock adjustments, there is a use case for locking the
sideband queue at a higher level and performing an atomic series of
operations while the sideband queue is locked. To accommodate this use
case, split ice_sw_send_cmd() into a version that takes the lock and a
version that does
Add 32-byte Flex RX Descriptor structure definition to match the
Comms package's design.
Signed-off-by: Junfeng Guo
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_lan_tx_rx.h | 40
1 file changed, 40 insertions(+)
d
Improve code orgnization, move declaration of ice_cfg_tc_nod_bw_alloc and
ice_cfg_rl_burst_size from ice_common.h to ice_nvm.h.
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_common.h | 8
drivers/net/ice/base/ice_nvm.h| 4
drivers/net/
Add 16-byte Flex RX descriptor structure definition.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_lan_tx_rx.h | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ice/b
Add more opcode and macros according to hardware spec.
1. Add opcode for the NVM Update EMPR command.
2. Add opcode for NVM save factory settings
3. Add opcode for NVM Write/Write Activate calls
4. Add loopback reporting to get link response macros
5. Add link event defines macros
Signed-off-by:
To download the DDP file to the device, a PF first has to grab the
global configuration lock. When a PF can't grab this lock, set
hw->pkg_dwnld_status to ICE_AQ_RC_EEXIST.
Signed-off-by: Anirudh Venkataramanan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/
Correct algorithm to detect free field vector indexes to be
used for recipe line result values. The code now scans all
recipes that are associated with all the field vector being
targed for a new recipe to detect which result indexes are
unused.
Change recipe chaining code to place recipe on a sin
Added switch protocol segments for both GTP and PPPOE protocols.
Added RSS protocol segments for both GTP and PPPOE protocols.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flow.c | 105 ++-
Wrap functions to search for flow profiles, add and remove RSS
configurations with flow profile locks. This is to ensure that if
several VFs and PFs are disabled at the same time functions that access
the flow profile lists are thread safe.
Signed-off-by: Vignesh Sridhar
Signed-off-by: Paul M Sti
Add a new structure, ice_nvm_access, used to request access to read or
write certain NVM related registers.
The structure is used by NVM Update to request read or write of specific
NVM registers in order to perform updates.
Additionally, there is a command to request the driver "features"
structu
Boot Configuration Section Block has been moved to the
Preserved Field Area (PFA) of NVM. So, this patch updates
the NVM reads that involve Boot Configuration Section.
Signed-off-by: Md Fahad Iqbal Polash
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_d
The iterators are u8, but the values being compared against are u16s.
It may not ever be the case that the comparison is against a value
larger than the upper bound of the smaller type, but code analysis tools
don't know that.
Fixes: 93e84b1bfc92 ("net/ice/base: add basic Tx scheduler")
Cc: sta...
Added boundary check for layer_num in function ice_sched_rm_rl_profile,
and ice_sched_add_rl_profile.
Cc: sta...@dpdk.org
Tarun Singh
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_sched.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
dif
Need to free new ice_vsig_prof if no valid ptype can be found.
Fixes: d935fb5bb091 ("net/ice/base: fix packet type size")
Cc: sta...@dpdk.org
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flex_pipe.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletio
ice_sched_get_tc_node uses pi->root without checking for NULL. Add a
check to prevent NULL pointer dereference.
Signed-off-by: Anirudh Venkataramanan
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deleti
Coverity complains first_free can be -1 resulting in a negative shift left
when k equals 0; i.e. the expression 1 << (first_free - k). Fix this by
explicitly checking for this case.
Cc: sta...@dpdk.org
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
dr
The GLV_REPC register contains statistics for tracking received packets
that are discarded due to certain errors.
This register behaves differently from some of the other related
statistics registers in two ways. First, it contains two 16bit
statistics, and thus cannot be read as a 32bit or 40bit
Add function to add a VSI to a given VSIG and update package with this
entry. The usual flow in XLT management would iterate through all
characteristics of the input VSI and create a new VSIG and TCAMs till a
matching characteristic is found. When a match is found the VSI is moved
into a matching V
Allow masking per word field on RSS and FD field vectors.
Signed-off-by: Dan Nowlin
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flex_pipe.c | 540 ++-
drivers/net/ice/base/ice_flex_pipe.h | 5 +
drivers/net/ice/base/
Add flag for case where active package has been loaded from NVM.
Signed-off-by: Ashish Shah
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_flex_pipe.c | 1 +
drivers/net/ice/base/ice_type.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/driv
Adjust ice_init_dcb to set the is_sw_lldp boolean
in the case where the FW has been detected to be
in an untenable state such that the driver
should forcibly make sure it is off.
This will ensure that the FW is in a known state.
Signed-off-by: Dave Ertman
Signed-off-by: Paul M Stillwell Jr
Sign
Add additional functions to aide in caching PHY
configuration. In order to cache the initial modes,
we need to determine the operating mode based on
capabilities. Add helper functions for flow control
and FEC to take a set of capabilities and return the
operating mode matching those capabilities
The dynamic device personalization (DDP) file download onto the device
can fail, and when this happens the driver has to transition to "safe
mode" where only basic functionality is possible.
The device though doesn't understand safe mode, and so the opcodes to
discover device/function capabilities
Improve debug print message.
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_common.c | 41 +++--
drivers/net/ice/base/ice_controlq.c | 10 +
2 files changed, 27 insertions(+), 24 deletions(-)
diff --git a/driver
read/write module eeprom on i2c bus.
Signed-off-by: Scott W Taylor
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_adminq_cmd.h | 29 ++
drivers/net/ice/base/ice_common.c | 46 +++
drivers/net/ice/b
Remove firmware logging debug code.
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_adminq_cmd.h | 88 --
drivers/net/ice/base/ice_common.c | 223 --
drivers/net/ice/base/ice_common.h | 1 -
drivers/n
correct argument pi(port_info) passed in function
ice_sched_get_first_node(), otherwise it will return the incorrect
node.
functions ice_sched_get_agg_node and ice_sched_cfg_sibl_node_prio:
change argument from hw to pi for it to align to correct port.
Moved saving tc node bw info from hardware s
New support function added - ice_get_pfa_module_tlv(), the driver or
other modules can make use of this function to read the pfa area.
Signed-off-by: Tarun Singh
Signed-off-by: Paul M Stillwell Jr
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_common.c | 66 ++
Key Features:
1) Add PPPoE, GTP protocol support for switch, FDIR, RSS
2) Add Flexible Descriptor support.
3) Improved package download.
4) Improved RSS to support inner header
5) Improved recipe management for switch rule
Qi Zhang (63):
net/ice/base: enhance NVM read
net/ice/base: add funct
1 - 100 of 124 matches
Mail list logo