MPLSoUDP & MPLSoGRE is not supported by tunnel
filter due to limited resource of HW, this patch
enables MPLS tunnel filter by replacing inner_mac
filter.
This configuration will be set when adding MPLSoUDP
and MPLSoGRE filter rules, and it will be invalid
only by NIC core reset.
Signed-off-by: Bei
This patch add MPLS parsing function to support
MPLS filtering.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.h | 2 +
drivers/net/i40e/i40e_flow.c | 234 -
2 files changed, 235 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/
This patch exposes the following item fields through the flow command:
- MPLS label
- GRE protocol
Signed-off-by: Beilei Xing
Acked-by: Adrien Mazarguil
---
app/test-pmd/cmdline_flow.c | 47 +
app/test-pmd/config.c | 2 ++
do
This patch adds MPLS and GRE items to generic rte flow.
Signed-off-by: Beilei Xing
Acked-by: Adrien Mazarguil
---
doc/guides/prog_guide/rte_flow.rst | 21 ++--
lib/librte_ether/rte_flow.h| 51 ++
2 files changed, 70 insertions(+), 2 deleti
This patchset adds support for MPLSoGRE and MPLSoUDP
tunnel filters.
I40e NICs can't recongnize MPLS tunnel packets by
default, so need to load a profile to FW first, then
MPLS tunnel packets can be recongnized with packet
type 61 and 63.
It depends on pipeline personalization profile support
and c
On 3/29/2017 4:36 PM, Yuanhan Liu wrote:
On Wed, Mar 29, 2017 at 04:33:20PM +0800, Tan, Jianfeng wrote:
On 3/29/2017 4:00 PM, Yuanhan Liu wrote:
On Wed, Mar 29, 2017 at 03:48:04PM +0800, Tan, Jianfeng wrote:
On 3/29/2017 3:14 PM, Yuanhan Liu wrote:
On Wed, Mar 29, 2017 at 03:07:28PM +0800,
Signed-off-by: Beilei Xing
---
doc/guides/rel_notes/release_17_05.rst | 4
1 file changed, 4 insertions(+)
diff --git a/doc/guides/rel_notes/release_17_05.rst
b/doc/guides/rel_notes/release_17_05.rst
index 26ae57f..fe25e6b 100644
--- a/doc/guides/rel_notes/release_17_05.rst
+++ b/doc/guide
This patch is to add testpmd CLI for getting all loaded
ddp profiles.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 91 ++
1 file changed, 91 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 73e29db..51f17
Add support for loading a dynamic device personalization
profile.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c| 207 ++
drivers/net/i40e/rte_pmd_i40e.h | 58 +
drivers/net/i40e/rte_pmd_i40e_version.map | 1 +
3 files c
This patch is to add testpmd CLI for loading dynamic
device personalization.
Signed-off-by: Beilei Xing
---
app/test-pmd/cmdline.c | 73 ++
app/test-pmd/config.c | 67 +
app/test-pmd/testpmd.h | 3 +++
This patch is to add get all loaded profiles function.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c| 28
drivers/net/i40e/rte_pmd_i40e.h | 12
drivers/net/i40e/rte_pmd_i40e_version.map | 1 +
3 files changed, 41 in
Due to limited resources of X*710 (parser and analyzer configuration
tables, number of packet classification types, number of packet types,
filters configuration tables, etc.), it's impossible to simultaneously
support all protocols/filters required for different parts on network.
To enable protoco
Change pipeline personalization profile(ppp) to dynamic
device personalization(ddp).
Signed-off-by: Beilei Xing
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 10 +-
drivers/net/i40e/base/i40e_common.c | 24
drivers/net/i40e/base/i40e_prototype.h | 4 ++--
d
On Wed, Mar 29, 2017 at 10:45:55PM +, Legacy, Allain wrote:
> > -Original Message-
> > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com]
> > Sent: Wednesday, March 29, 2017 3:02 AM
>
> <...>
> >
> > OTOH, it's still good to have RTE_LOG_ONCE. It explicitly tells you
> > somethin
Hi,
> -Original Message-
> From: Iremonger, Bernard
> Sent: Thursday, March 30, 2017 12:42 AM
> To: dev@dpdk.org; Xing, Beilei; Wu, Jingjing
> Cc: Zhang, Helin; Lu, Wenzhuo; Iremonger, Bernard; Stroe, Laura
> Subject: [PATCH v4 2/5] net/i40e: add QinQ filter create function
>
> Add i40e_c
Hi,
> -Original Message-
> From: Iremonger, Bernard
> Sent: Thursday, March 30, 2017 12:42 AM
> To: dev@dpdk.org; Xing, Beilei; Wu, Jingjing
> Cc: Zhang, Helin; Lu, Wenzhuo; Iremonger, Bernard
> Subject: [PATCH v4 1/5] net/i40e: initialise L3 MAP register
>
> The L3 MAP register is initia
2017-03-20 16:04, Yongseok Koh:
> In rte_eth_check_reta_mask(), it is required to align the size of the RETA
> table to RTE_RETA_GROUP_SIZE but as the size can be less than the limit,
> this should be removed. The change is also applied to a command of testpmd.
>
> Signed-off-by: Yongseok Koh
[..
Add a section for the eventdev PMDs, and note the next-tree.
Claim maintainership of the software eventdev PMD.
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 711fbfb..55ca3f0 10
This commit adds a section to the docs listing the event
device PMDs available.
It then adds the software eventdev PMD to the listed event
devices.
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
v6:
- Fix QOS to QoS typo (Jerin)
- Add to section on dequeue timeout to limitations (J
This commit adds the worker loopback test to verify
that the deadlock avoidance scheme is functioning, and
a holb (head-of-line-blocking) test to ensure the head
of line blocking avoidance is correct.
Signed-off-by: Bruce Richardson
Signed-off-by: David Hunt
Signed-off-by: Harry van Haaren
Ack
This commit introduces xstats tests for statistics
and reset functionality.
Signed-off-by: Bruce Richardson
Signed-off-by: David Hunt
Signed-off-by: Harry van Haaren
Acked-by: Anatoly Burakov
---
test/test/test_eventdev_sw.c | 806 +++
1 file changed,
This commit adds various tests for load-balancing and
queue prioritization.
Signed-off-by: Bruce Richardson
Signed-off-by: David Hunt
Signed-off-by: Harry van Haaren
Acked-by: Anatoly Burakov
---
test/test/test_eventdev_sw.c | 566 +++
1 file changed,
Add the test infrastructure, create and destroy the test
instance.
Signed-off-by: Bruce Richardson
Signed-off-by: David Hunt
Signed-off-by: Harry van Haaren
Acked-by: Anatoly Burakov
---
test/test/Makefile | 5 +-
test/test/autotest_data.py | 26
test/test/test_eventdev_s
This commit adds basic enqueue and dequeue unit tests,
some negative invalid tests, and configuration.
Signed-off-by: Bruce Richardson
Signed-off-by: David Hunt
Signed-off-by: Harry van Haaren
Acked-by: Anatoly Burakov
---
test/test/test_eventdev_sw.c | 1060 +
From: Bruce Richardson
Add support for xstats to report out on the state of the eventdev.
Useful for debugging and for unit tests, as well as observability
at runtime and performance tuning of apps to work well with the
scheduler.
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
From: Bruce Richardson
Segfault issue resolved when only partially configured and
rte_event_dev_dump() is called before start(),
Reported-by: Vipin Varghese
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
---
drivers/event/sw/sw_evdev.c | 148 +
From: Bruce Richardson
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
v6:
- Removed printf() using SW_LOG_ERR instead (Jerin)
- Added rte_smp_wmb() to start() and stop() (Jerin)
- Improved error return values from start() (Jerin)
---
drivers/event
From: Bruce Richardson
Add in the scheduling function which takes the events from the
producer queues and buffers them before scheduling them to consumer
queues. The scheduling logic includes support for atomic, reordered,
and parallel scheduling of flows.
Signed-off-by: Bruce Richardson
Signed
From: Bruce Richardson
add the event enqueue, dequeue and release functions to the eventdev.
These also include tracking of stats for observability in the load of
the scheduler.
Internally in the enqueue function, the various types of enqueue
operations, to forward an existing event, to send a ne
From: Bruce Richardson
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
v6:
- Remove (void *) casts that are not required (Jerin)
- Set rte_errno as appropriate if port link not established (Jerin)
---
drivers/event/sw/sw_evdev.c | 85 ++
From: Bruce Richardson
Add in the data-structures for the ports used by workers to send
packets to/from the scheduler. Also add in the functions to
create/destroy those ports.
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
v6:
- Remove enq/deq che
From: Bruce Richardson
Add in the data structures for the event queues, and the eventdev
functions to create and destroy those queues.
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
---
drivers/event/sw/iq_ring.h | 176
drivers/ev
From: Bruce Richardson
Signed-off-by: Bruce Richardson
Acked-by: Jerin Jacob
---
drivers/event/sw/sw_evdev.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index 7166ef5..c0ec24c 100644
--- a/driv
From: Bruce Richardson
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
v6:
- Add check for per dequeue timeout config, return -ENOTSUP if so (Jerin)
---
drivers/event/sw/sw_evdev.c | 18 ++
drivers/event/sw/sw_evdev.h | 11 +
From: Bruce Richardson
Add in the info_get function to return details on the queues, flow,
prioritization capabilities, etc. that this device has.
Signed-off-by: Bruce Richardson
Signed-off-by: Harry van Haaren
Acked-by: Jerin Jacob
---
drivers/event/sw/sw_evdev.c | 23 +
From: Bruce Richardson
This adds the minimal changes to allow a SW eventdev implementation to
be compiled, linked and created at run time. The eventdev does nothing,
but can be created via vdev on commandline, e.g.
sudo ./x86_64-native-linuxapp-gcc/app/test --vdev=event_sw0
...
PMD: Creati
This commit documents two error return values for the
rte_event_dev_start() function.
-EINVAL indicates not all ports are configured
-EDEADLK indicates that not all queues are linked to ports. If an
application enqueues to such a queue it can lead to deadlock
Signed-off-by: Harry van Ha
This commit reworks the return value handling of the
timeout ticks test. This feature is not mandatory for
a pmd, the eventdev layer returns -ENOTSUP if the PMD
doesn't implement the function.
The test is modified to check if the return value is
-ENOTSUP, and return -ENOTSUP to the test framework,
This is the v6 patchset of the software eventdev PMD.
Changes include the following, see patch for context
and details;
- Remove enq/deq checks already performed by eventdev layer (Jerin)
- Fix error printf() to use SW_LOG_ERR instead (Jerin)
- Add rte_smp_wmb() to ensure writes completed before a
> -Original Message-
> From: Zhang, Helin [mailto:helin.zh...@intel.com]
> Sent: Tuesday, March 28, 2017 4:52 AM
<...>
> > +
> > + dev = &rte_eth_devices[rxq->port_id];
> > + dev->data->rx_mbuf_alloc_failed += rxq-
> > >rx_free_thresh;
> > +
> I think th
> -Original Message-
> From: Yuanhan Liu [mailto:yuanhan@linux.intel.com]
> Sent: Wednesday, March 29, 2017 3:02 AM
<...>
>
> OTOH, it's still good to have RTE_LOG_ONCE. It explicitly tells you something
> is wrong, then you could dump those stats for more info.
Has the implementatio
> -Original Message-
> From: Gonzalez Monroy, Sergio
> Sent: Wednesday, March 29, 2017 4:25 PM
> To: De Lara Guarch, Pablo; Doherty, Declan
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v2 0/9] Crypto performance app
> improvements
>
> On 27/03/2017 13:29, De Lara Guarch, Pablo wro
Hi Alex
> -Original Message-
> From: al...@att.com [mailto:al...@att.com]
> Sent: Wednesday, March 29, 2017 9:52 PM
> To: dev@dpdk.org
> Cc: Ananyev, Konstantin ; Zhang, Helin
> ; Lu, Wenzhuo ;
> Iremonger, Bernard ; Alex Zelezniak
>
> Subject: [PATCH v2] ping VF when PF status changes
>
Hi Fan,
> -Original Message-
> From: Zhang, Roy Fan
> Sent: Monday, February 20, 2017 2:31 PM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH] crypto/scheduler: add more EAL options
>
> This patch adds initial mode and ordering enable/disable EAL
> options to cryptodev sc
* Flesh out device configuration
* Add links dev_ops
* allow dynamic extension loading
v7:
* Address clang compile issue
v6:
* Address review issues
* Unify messages and logging
* Improved error capturing
Signed-off-by: Shepard Siegel
Signed-off-by: John Miller
Signed-off-by: Ed Czeck
---
do
* Core RX packet moving functions
v6:
* Unify messaging and logging
* Use PRIu32 format where needed
* Address review comments
Signed-off-by: Ed Czeck
---
drivers/net/ark/Makefile| 1 +
drivers/net/ark/ark_ethdev_rx.c | 672
drivers/net/ark/ark
* Core TX packet moving functions
* Flesh out ark_adapter struct to support TX code
(not all fields used at this patch
v6:
* Unify messages and logging
* improve comments
* Use of PRIu32 format where needed
Signed-off-by: Ed Czeck
---
drivers/net/ark/Makefile| 1 +
drivers/net/ark/ark
Provide C-level interface for Arkville's internal HW resources
pktchkr and pktgen
v6:
* bug fix handing empty dev arguments.
* Unify messaging and logging
* Improve comments
Signed-off-by: Ed Czeck
---
drivers/net/ark/Makefile | 2 +
drivers/net/ark/ark_pktchkr.c | 474 ++
Provide C-level interface for Arkville's internal HW resources
ddm (Downstream Data Mover) and udm (Upstream Data Mover) modules
v6:
* Unify messaging and logging
Signed-off-by: Ed Czeck
---
drivers/net/ark/Makefile | 4 +-
drivers/net/ark/ark_ddm.c | 151 +++
dri
Provide C-level interface for Arkville's internal HW resources
mpu, (Memory Prefetch Unit) pktdir (Packet director), and rqp
(Request Pacer) modules
v6:
* Unify messaging and logging
* Expand comments
Signed-off-by: Ed Czeck
---
drivers/net/ark/Makefile | 4 +-
drivers/net/ark/ark_mpu.c
Enable Arkville on supported configurations
Add overview documentation
Minimum driver support for valid compile
Arkville PMD is not supported on ARM or PowerPC at this time
v6:
* Address review comments
* Unify messaging, logging and debug macros to ark_logs.h
v5:
* Address comments from Ferruh Y
Hi Fan,
> -Original Message-
> From: Zhang, Roy Fan
> Sent: Tuesday, February 21, 2017 3:15 PM
> To: dev@dpdk.org
> Cc: De Lara Guarch, Pablo
> Subject: [PATCH] crypto/scheduler: add get attached slaves API
>
> This patch adds an API to get the run-time slaves number and list
> of a crypt
From: Alex Zelezniak
* updated rte_pmd_ixgbe_version.map file
Signed-off-by: Alex Zelezniak
---
drivers/net/ixgbe/ixgbe_ethdev.c| 33 +
drivers/net/ixgbe/rte_pmd_ixgbe.h | 14
drivers/net/ixgbe/rte_pmd_ixgbe_version.map | 1 +
3 f
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
> Sent: Wednesday, March 29, 2017 2:23 AM
>
> On 3/28/2017 10:18 PM, Mody, Rasesh wrote:
> >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
> >> Sent: Tuesday, March 28, 2017 4:23 AM
> >>
> >> On 3/28/2017 7:52 AM, Rasesh Mod
Signed-off-by: Rasesh Mody
---
drivers/net/qede/qede_ethdev.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h
index 799a3ba..3c8ead8 100644
--- a/drivers/net/qede/qede_ethdev.h
+++ b/drivers/net/qede/qede_ethde
From: Harish Patil
This patch includes slowpath configuration and fastpath changes
to support LRO and TSO. A bit of revamping is needed in order
to make use of existing packet classification schemes in Rx fastpath
and for SG element processing in Tx.
Signed-off-by: Harish Patil
---
doc/guides/
From: Harish Patil
Add limited support for ntuple filter and flow director configuration.
The filtering is based on 4-tuples viz src-ip, dst-ip, src-port,
dst-port. The mask fields, tcp_flags, flex masks, priority fields,
Rx queue drop etc are not supported.
Signed-off-by: Harish Patil
---
doc
Merge hw_stop and hw_reset into one function.
Prevent race condition between MFW attentions and pf stop command during
unload flow that causes an ASSERT.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h |1 +
drivers/net/qede/base/ecore_dev.c | 175 --
From: Harish Patil
Add base driver APIs to enable accelerated RFS[aRFS] mode and ramrod
to configure rfs and ntuple filter.
Signed-off-by: Harish Patil
---
drivers/net/qede/base/ecore_cxt.c | 49 +++-
drivers/net/qede/base/ecore_init_fw_funcs.c | 31 ++
driver
Make APIs static and other semantic changes.
A step toward cleaning 'make C=1' with GCC 4.8.3.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_cxt.c |5 +-
drivers/net/qede/base/ecore_cxt.h | 11
drivers/net/qede/base/ecore_dcbx.c |2 +-
drivers/net/qede/base/ecore_de
A step toward having multi-Txq support on same queue-zone for VFs.
This change takes care of:
- VFs assume a single CID per-queue, where queue X receives CID X.
Switch to a model similar to that of PF - I.e., Use different CIDs
for Rx/Tx, and use mapping to acquire/release those. Each VF
Prevent DMA engine transactions during recovery phase.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_hw.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/qede/base/ecore_hw.c b/drivers/net/qede/base/ecore_hw.c
index 396edc2..2bcc32d 100644
--- a/drive
Add udp ports in bulletin board message.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_iov_api.h |2 ++
drivers/net/qede/base/ecore_sriov.c | 33 +
drivers/net/qede/base/ecore_vf.c | 12
drivers/net/qede/base/ecore_vf_api.h
Let PMD have control over the vport-id and rss-eng-id of a given VF
during initialization.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_iov_api.h | 15 ---
drivers/net/qede/base/ecore_sriov.c | 46 +
drivers/net/qede/base/ecore_sriov.h
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_vf.h | 41 +++---
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/drivers/net/qede/base/ecore_vf.h b/drivers/net/qede/base/ecore_vf.h
index 228bbf0..f471388 100644
--- a/drivers/net/qede/b
Zero the whole union data of the Management FW mailbox before copying
the actual union member
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c |4 +-
drivers/net/qede/base/ecore_mcp.c | 294 +
drivers/net/qede/base/ecore_mcp.h | 19 ++-
Add a common enum to pf_params for RDMA.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_cxt.c |1 +
drivers/net/qede/base/ecore_proto_if.h |7 +++
2 files changed, 8 insertions(+)
diff --git a/drivers/net/qede/base/ecore_cxt.c
b/drivers/net/qede/base/ecore_cxt.c
in
Add support for the new interface with the Management FW for setting
max values of "soft" resources.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h |2 +
drivers/net/qede/base/ecore_dev.c | 282 ++--
drivers/net/qede/base/ecore_mcp.c | 287
Add a check of the return code of ecore_mcp_cmd_and_union() in
ecore_mcp_send_protocol_stats()
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_mcp.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/qede/base/ecore_mcp.c
b/drivers/net/qede/base/ec
Add the Management FW mailbox for getting non-l2 resource allocation
information.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h |1 +
drivers/net/qede/base/ecore_dev.c | 60
drivers/net/qede/base/mcp_public.h |1 +
3 files chang
Add a macro for unsupported management FW command
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_mcp.c |6 ++
drivers/net/qede/base/mcp_public.h |1 +
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/qede/base/ecore_mcp.c
b/drivers/net/qede/bas
Add coalescing support for VFs.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c | 83 ++---
drivers/net/qede/base/ecore_dev_api.h | 43 ++---
drivers/net/qede/base/ecore_sriov.c | 66 +-
drivers/net/qede
Add macro got resource value message
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/mcp_public.h |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/qede/base/mcp_public.h
b/drivers/net/qede/base/mcp_public.h
index 145f5ca..24acfcb 100644
--- a/drivers/
Updated bulletin board with link state during VF initialization.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_sriov.c | 88 ---
1 file changed, 51 insertions(+), 37 deletions(-)
diff --git a/drivers/net/qede/base/ecore_sriov.c
b/drivers/net/qede/
Add non-l2 dcbx tlv application support.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dcbx.c | 30 ++
drivers/net/qede/base/ecore_dcbx.h |1 +
drivers/net/qede/base/ecore_dcbx_api.h |4 +++-
drivers/net/qede/base/ecore_proto_if.h |3
New driver/management fw load request sequence for handling previous
driver unload.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h | 13 ++
drivers/net/qede/base/ecore_dev.c | 43 ++--
drivers/net/qede/base/ecore_dev_api.h | 30 ++-
drivers/net/qede/base/ecore_mcp
Change OSAL_VALLOC() into OSAL_VZALLOC() which would also zero memory.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h |2 +-
drivers/net/qede/base/ecore_dev.c |3 +--
drivers/net/qede/base/ecore_l2.c |3 +--
drivers/net/qede/base/ecore_mng_tlv.c |5
Move RSS configuration into using L2-handles instead of queue-ids.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_l2.c | 48 ++---
drivers/net/qede/base/ecore_l2.h |2 ++
drivers/net/qede/base/ecore_l2_api.h |4 ++-
drivers/net/qede/base/ecore_sr
Add new image types - RECOVERY and PK (Public Key) towards
the second phase of NVRAM security support.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/mcp_public.h |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/qede/base/mcp_public.h
b/drivers/net/qede/base/mcp_pub
Remove clock slowdown NVM config option as this is not supported
for current chipsets.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/nvm_cfg.h | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/net/qede/base/nvm_cfg.h b/drivers/net/qede/base/nvm_cfg.h
Add base driver API for using the Management FW resource lock
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h |9 +++
drivers/net/qede/base/ecore_dcbx.h |3 -
drivers/net/qede/base/ecore_mcp.c | 143
drivers/net/qede/base/ecore_mcp
Add several mask/shift defines for the resource command
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/mcp_public.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/net/qede/base/mcp_public.h
b/drivers/net/qede/base/mcp_public.h
index bd34557..1b1ecd2 100644
Change OOO TC properly to prevent transmitter stuck condition
due to credit underruns.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h |4 +---
drivers/net/qede/base/ecore_dcbx.c |6 ++
drivers/net/qede/base/ecore_dev.c | 19 ++-
drivers/net/qede/
Add new tunnelling support for VFs.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h |3 +-
drivers/net/qede/base/ecore_dev.c | 15 ++-
drivers/net/qede/base/ecore_sp_commands.c |4 +
drivers/net/qede/base/ecore_sriov.c | 144 +
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h | 14 +--
drivers/net/qede/base/mcp_public.h | 176 ++--
2 files changed, 96 insertions(+), 94 deletions(-)
diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h
index f86f7c
Add support for handling the TLV request from Management FW.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h |3 +
drivers/net/qede/base/ecore_mcp.c |6 -
drivers/net/qede/base/ecore_mcp.h |8 +
drivers/net/qede/base/ecore_mcp_api.h | 44 +-
drivers/net
Revise tunnel APIs/structs.
- Unite tunnel start and update params in single struct
"ecore_tunnel_info"
- Remove A0 chip tunnelling support.
- Added per tunnel info - removed bitmasks.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h | 57 ++---
drivers/net/qede/b
Infrastructure changes for VF tunnelling.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h |3 +-
drivers/net/qede/base/ecore.h | 14 -
drivers/net/qede/base/ecore_sp_commands.c | 87 +++--
drivers/net/qede/qede_if.h
L2 handler changes:
This is change to remove the queue-id/qzone difference for Tx queues.
It does that by mainly doing:
a. VFs queues are no longer determined by the SBs they're using.
Instead, the ecore-client needs to maintain those and choose the values
to be used by VF when initializing it.
Optimize cache-line access in ecore_chain -
re-arrange fields so that fields that are needed for fastpath
[mostly produce/consume and their derivatives] are in the first cache
line, and the rest are in the second.
This is true for both PBL and NEXT_PTR kind of chains.
Advancing a page in a SINGLE_
Maintain slowpath event queue and consumer queue within HW function
structure, update corresponding alloc and free APIs accordingly.
Cleanup unused code under CONFIG_ECORE_LL2 ifdef.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c | 43 +++--
drivers/ne
Set the drv_type before sending LOAD_REQ and remove the
ver_str which is not used by the MFW
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore.h |3 +--
drivers/net/qede/base/ecore_mcp.c |3 ---
drivers/net/qede/qede_ethdev.c|2 +-
drivers/net/qede/qede_if.h|
Add new base driver interfaces for Management FW TLV request processing.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_mcp.c |6 +
drivers/net/qede/base/ecore_mcp_api.h | 301 +
2 files changed, 307 insertions(+)
diff --git a/drivers/net/qed
Prevent storage drivers from attempting to load with invalid resources.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/net/qede/base/ecore_dev.c
b/drivers/net/qede/base/ecore_dev.c
index
Make sure VF queue are closed before stopping vport.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_sriov.c | 37 ++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/drivers/net/qede/base/ecore_sriov.c
b/drivers/net/qede/base/ecore_sri
Add a printout of the FW, Management FW and MBI versions.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/qede_if.h |9 -
drivers/net/qede/qede_main.c | 14 ++
2 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/drivers/net/qede/qede_if.h b/drivers/net/qed
Allow only trusted VFs to be promisc/multi-promisc. The reasonable
thing is to use the 'trusted' node instead of simply allowing VFs to
become promiscuous.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_l2.c|8
drivers/net/qede/base/ecore_sriov.c |2 --
2 files c
This patch revamps queue initialization.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/bcm_osal.h|2 +
drivers/net/qede/base/ecore.h | 34 +-
drivers/net/qede/base/ecore_cxt.c | 14 +-
drivers/net/qede/base/ecore_dev.c | 869 ---
driv
There is no need to close the OUT_EN NIG registers, so remove that.
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/net/qede/base/ecore_dev.c
b/drivers/net/qede/base/ecore_dev.c
index 907566c..e2d4132 10
Allow probe to succeed with various 'minor' HW-issues [if requested]
Signed-off-by: Rasesh Mody
---
drivers/net/qede/base/ecore_dev.c | 71 +++--
drivers/net/qede/base/ecore_dev_api.h | 40 ---
2 files changed, 94 insertions(+), 17 deletions(-)
1 - 100 of 318 matches
Mail list logo