Update base code version in README.
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/README b/drivers/net/i40e/base/README
index 6af2993116..c84764005b 100644
--- a/drivers/net/i40e/base/README
+
The status of i40e_read_nvm_word is not checked, so variables set
from this function could be used uninitialized. In this case, preserve
the existing flow that does not block initialization by initializing
these values from the start.
The variable checksum from i40e_calc_nvm_checksum is used befor
Fix several kernel-doc warnings when building with W=1. These changes
are only to comments.
Fixes: 8db9e2a1b232 ("i40e: base driver")
Fixes: 842ea1996335 ("i40e/base: save link module type")
Fixes: fd72a2284a89 ("i40e/base: support LED blinking with new PHY")
Fixes: 788fc17b2dec ("i40e/base: suppo
This change adds a new PHY type for 10GBASE-ER modules.
Signed-off-by: Stanislaw Grzeszczak
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 2 ++
drivers/net/i40e/base/i40e_common.c | 1 +
drivers/net/i40e/base/i40e_type.h | 1 +
3 files changed, 4 insertions(
Add flags for outer vlan and include set port parameters in Linux
compilation.
Add flags, which describe port and switch state for both double vlan
functionality and outer vlan processing.
Signed-off-by: Przemyslaw Patynowski
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.
For Active Optical Cable (AOC) the correct media type is "Fibre",
not "Direct Attach Copper".
Fixes: d749d4d89969 ("i40e/base: add AOC PHY types")
Fixes: aa153cc89ff0 ("net/i40e/base: add new PHY types for 25G AOC and
ACC")
Cc: sta...@dpdk.org
Signed-off-by: Dawid Lukwinski
Signed-off-by: Robin
The X722 card has 'Link Type' information elsewhere than the X710.
Previously, for all cards, the 'Link Type' information was retrieved by
opcode 0x0607 and this value was wrong for all X722 cards.
Now this information for X722 only is taken by opcode 0x0600
(function: i40e_aq_get_phy_capabilities)
PF has to delete all the filters during reset.
If it is fully loaded with filters then it is possible
that it will take more than 200 ms to finish the reset
resulting in timeout during pf_reset and
PF reset failed, -15 error indication.
Increasing the timeout value for PF reset from 200 to 1000
to
Unlike other supported adapters, 2.5G and 5G use different
PHY type identifiers for reading/writing PHY settings
and for reading link status. This commit intruduces
separate PHY identifiers for these two operation types.
Fixes: 988ed63c7441 ("net/i40e/base: add support for Carlsville device")
Cc:
Add definitions for Shadow RAM pointers: 6th FPA module, 5th FPA module
in FortPark and Preservation Rules Module.
Signed-off-by: Stanislaw Grzeszczak
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_type.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/i40e/base/i4
Driver did not Set TSA table values when parsing CEE configuration
obtained from FW.
Signed-off-by: Pawel Malinowski
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_dcb.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_dcb.c b/driv
This change increments FPK API version and adds new constants related to
the extended implementation of Security Version Opt-In.
Signed-off-by: Stanislaw Grzeszczak
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 16 ++--
1 file changed, 10 insertions(+), 6
Update FVL FW increment API version to 1.14
Signed-off-by: Sylwester Dziedziuch
Signed-off-by: Robin Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_adminq
ASQ send command functions are returning only i40e status codes
yet some calling functions also need Admin Queue status
that is stored in hw->aq.asq_last_status. Since hw object
is stored on a heap it introduces a possibility for
a race condition in access to hw if calling function is not
fast enou
update i40e base code.
source code of i40e driver:
cid-i40e.2021.04.29.tar.gz
changelog in ND share repo:
>From 59a080f4fafe ("i40e-shared: Add opcode 0x0406 and 0x0416 to Linux
support") To bedcbea1063 ("i40e-shared: Fix potentially uninitialized
variables in NVM code")
The following commits ar
On Thu, Jun 17, 2021 at 2:46 PM Bruce Richardson
wrote:
>
> On Wed, Jun 16, 2021 at 08:07:26PM +0530, Jerin Jacob wrote:
> > On Wed, Jun 16, 2021 at 3:47 PM fengchengwen
> > wrote:
> > >
> > > On 2021/6/16 15:09, Morten Brørup wrote:
> > > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of
On Thu, Jun 17, 2021 at 1:30 PM Bruce Richardson
wrote:
>
> On Thu, Jun 17, 2021 at 01:12:22PM +0530, Jerin Jacob wrote:
> > On Thu, Jun 17, 2021 at 12:43 AM Bruce Richardson
> > wrote:
> > >
> > > On Wed, Jun 16, 2021 at 11:38:08PM +0530, Jerin Jacob wrote:
> > > > On Wed, Jun 16, 2021 at 11:01
On Thu, Jun 17, 2021 at 12:40 PM Thomas Monjalon wrote:
>
> 25/05/2021 11:57, Igor Russkikh:
> > Fixing ex-Aquantia email - it is now part of Marvell.
> > Removing Pavel Belous email - he is not in company now.
> >
> > Also adding Marvell company prefix to the driver names for
> > both atlantic an
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin
> Sent: Thursday, June 17, 2021 11:38 PM
> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo
>
> Cc: Maxime Coquelin
> Subject: [PATCH v4 5/7] vhost: improve NUMA reallocation
>
> This patch improves the numa_realloc() fun
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin
> Sent: Thursday, June 17, 2021 11:38 PM
> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo
>
> Cc: Maxime Coquelin ; sta...@dpdk.org
> Subject: [PATCH v4 4/7] vhost: fix NUMA reallocation with multiqueue
>
> Since the Vho
Hi Maxime,
> -Original Message-
> From: Maxime Coquelin
> Sent: Thursday, June 17, 2021 11:38 PM
> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo
>
> Cc: Maxime Coquelin ; sta...@dpdk.org
> Subject: [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc
>
> When the gues
> -Original Message-
> From: Su, Simei
> Sent: Wednesday, June 9, 2021 10:50 AM
> To: Zhang, Qi Z
> Cc: dev@dpdk.org; Guo, Junfeng ; Cao, Yahui
> ; Su, Simei
> Subject: [PATCH v2 0/3] net/ice: support FDIR ESP and NATT to match outer IP
>
> [PATCH v2 1/3] enable FDIR ESP to match out
> -Original Message-
> From: Thierry Herbelot
> Sent: Thursday, June 17, 2021 11:13 PM
> To: dev@dpdk.org
> Cc: Thierry Herbelot ; tho...@monjalon.net;
> jer...@marvell.com; Ruifeng Wang ; Honnappa
> Nagarahalli ; Juraj Linkeš
>
> Subject: [PATCH V6] config/arm: add Qualcomm Centriq 2400
>
> 24/05/2021 15:23, Chengwen Feng:
> > Currently, the soc_kunpeng930 declares '-march=armv8.2-a+crypto+sve',
> > but some compiler doesn't recognize the march because it doesn't
> > support sve.
> >
> > To solve this bug we use the following scheme:
> > 1. Define 'march_base' tuple which defin
>
> On Tue, Jun 15, 2021 at 09:54:51PM -0500, Joyce Kong wrote:
> > Since C11 memory model is adopted in DPDK now[1], use GCC's atomic
> > builtins in test cases.
>
> as previously discussed these atomics are not "C11" they are direct use of gcc
> builtins. please don't incorporate C11 into the
https://bugs.dpdk.org/show_bug.cgi?id=743
Bug ID: 743
Summary: Building DPDK with gcc 11.1.1 Generates Multiple
Warning Messages in the i40e PMD
Product: DPDK
Version: unspecified
Hardware: POWER
OS: Linux
> Hi all,
>
> Here is a list of patches targeted for stable release 19.11.9.
>
> The planned date for the final release is 2nd July.
>
> Please help with testing and validation of your use cases and report
> any issues/results with reply-all to this mail. For the final release
> the fixes and re
> On 6/17/2021 4:17 PM, Morten Brørup wrote:
> >> From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]
> >> Sent: Thursday, 17 June 2021 16.59
> >>
> >>
> >> 14/06/2021 15:15, Bruce Richardson:
> >>> On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
>
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit
> Sent: Thursday, 17 June 2021 18.13
>
> On 6/17/2021 4:17 PM, Morten Brørup wrote:
> >> From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]
> >> Sent: Thursday, 17 June 2021 16.59
> >>
> >>
> >> 14/06/2021 15:
On 5/24/21 11:08 AM, Thierry Herbelot wrote:
> Use vc_req only after it was checked not to be NULL.
>
> Fixes: 2d962bb736521 ("vhost/crypto: fix possible TOCTOU attack")
> Cc: sta...@dpdk.org
> Cc: Maxime Coquelin
> Cc: Chenbo Xia
>
> Signed-off-by: Thierry Herbelot
> --
> V2: fix copy/past
On 5/28/21 3:20 PM, Thierry Herbelot wrote:
> Restore the original code, where VHOST_SET_FEATURES is applied to
> all vhostfds of the device.
>
> Fixes: cc0151b34dee ("net/virtio: add virtio-user features ops")
> Cc: sta...@dpdk.org
> Cc: Maxime Coquelin
> Cc: Chenbo Xia
>
> Signed-off-by: T
On 6/8/21 1:41 PM, Balazs Nemeth wrote:
> Same idea as commit a287ac28919d ("vhost: allocate and free packets
> in bulk in Tx packed"), allocate and free packets in bulk. Also remove
> the unused function virtio_dev_pktmbuf_alloc.
>
> Signed-off-by: Balazs Nemeth
> Reviewed-by: Maxime Coquelin
On 6/14/2021 5:36 PM, Andrew Rybchenko wrote:
> On 6/10/21 12:22 PM, Olivier Matz wrote:
>> Hi Gregory,
>>
>> On Thu, Jun 10, 2021 at 04:10:25AM +, Gregory Etelson wrote:
>>> Hello,
>>>
>>> There was no activity that patch for a long time.
>>> The patch is marked as failed, but we verified fail
On 6/17/2021 4:17 PM, Morten Brørup wrote:
>> From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]
>> Sent: Thursday, 17 June 2021 16.59
>>
>>
>> 14/06/2021 15:15, Bruce Richardson:
>>> On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
> From: dev [mailto
Added description of new rules support in Windows
kernel driver WINOF2 2.70
Signed-off-by: Tal Shnaiderman
---
doc/guides/nics/mlx5.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 83299646dd..eb44a070b1 100644
--- a/doc/guides/
---
v2: Added a docu patch.
---
Tal Shnaiderman (2):
net/mlx5: add TCP and IPv6 to supported flow items list in Windows
doc: description of new steering rules support in Windows
doc/guides/nics/mlx5.rst| 3 +++
drivers/net/mlx5/windows/mlx5_flow_os.h | 2 ++
2 files changed,
WINOF2 2.70 Windows kernel driver allows DevX rule creation
of types TCP and IPv6.
Added the types to the supported items in mlx5_flow_os_item_supported
to allow them to be created in the PMD.
---
v2: Added a docu patch.
---
Signed-off-by: Tal Shnaiderman
---
drivers/net/mlx5/windows/mlx5_flow
On 6/17/2021 3:58 PM, Ananyev, Konstantin wrote:
>
>
>
> 14/06/2021 15:15, Bruce Richardson:
>> On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
Sent: Monday, 14 June 2021 12.59
>>
02/06/2021 13:06, Burakov, Anatoly:
> On 01-Jun-21 9:28 AM, Christian Ehrhardt wrote:
> > This became visible by backporting the following for the 19.11 stable tree:
> > c13ca4e8 "vfio: fix DMA mapping granularity for IOVA as VA"
> >
> > The usage of type bool in the vfio code would require "#in
Inflight metadata are allocated using glibc's calloc.
This patch converts them to rte_zmalloc_socket to take
care of the NUMA affinity.
Signed-off-by: Maxime Coquelin
---
lib/vhost/vhost.c | 4 +--
lib/vhost/vhost_user.c | 67 +++---
2 files changed, 58
This patch saves the NUMA node the virtqueue is allocated
on at init time, in order to allocate all other data on the
same node.
While most of the data are allocated before numa_realloc()
is called and so the data will be reallocated properly, some
data like the log cache are most likely allocated
This patch improves the numa_realloc() function by making use
of rte_realloc_socket(), which takes care of the memory copy
and freeing of the old data.
Suggested-by: David Marchand
Signed-off-by: Maxime Coquelin
---
lib/vhost/vhost_user.c | 195 ++---
1 file
Since the Vhost-user device initialization has been reworked,
enabling the application to start using the device as soon as
the first queue pair is ready, NUMA reallocation no more
happened on queue pairs other than the first one since
numa_realloc() was returning early if the device was running.
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the log cache on the new NUMA node was
not done. This patch fixes this by reallocating it if it
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the guest pages table was missing, which
likely causes at least one cross-NUMA accesses for ever
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the Vhost memory table was missing, which
likely causes iat least one cross-NUMA accesses for ev
This patch series first fixes missing reallocations of some
Virtqueue and device metadata.
Then, it improves the numa_realloc function by using
rte_realloc_socket API that takes care of the memcpy &
freeing. The VQs NUMA IDs are also saved in the VQ metadata
and used for every allocations so that
On Tue, Jun 15, 2021 at 09:54:51PM -0500, Joyce Kong wrote:
> Since C11 memory model is adopted in DPDK now[1], use GCC's
> atomic builtins in test cases.
as previously discussed these atomics are not "C11" they are
direct use of gcc builtins. please don't incorporate C11 into the title
of the pa
On 6/15/21 4:34 AM, Min Hu (Connor) wrote:
> From: Chengwen Feng
>
> Kunpeng 930 support Tx push mode which could improve performance, It
> works like below:
> 1. Add PCIe bar45 which support driver direct write the Tx descriptor
> or tail reg to it.
> 2. Support three operations: a) direct write
> From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]
> Sent: Thursday, 17 June 2021 16.59
>
> > >>>
> > >>> 14/06/2021 15:15, Bruce Richardson:
> > On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
> > >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thoma
0xc00 is for "SoC 2.0" Qualcomm Centriq servers.
0x800 is for "SoC 1.1".
Cc: Jerin Jacob
Cc: Ruifeng Wang
Cc: Honnappa Nagarahalli
Cc: Juraj Linkeš
Signed-off-by: Thierry Herbelot
--
V2: add maintainers as Cc
V3: fix meson syntax for the SoC v1.1 machine description
V4: add new soc_centriq24
On Thu, May 27, 2021 at 06:28:58PM +0300, Gregory Etelson wrote:
> diff --git a/lib/net/rte_ip.h b/lib/net/rte_ip.h
> index 4b728969c1..684bb028b2 100644
> --- a/lib/net/rte_ip.h
> +++ b/lib/net/rte_ip.h
> @@ -38,7 +38,21 @@ extern "C" {
> * IPv4 Header
> */
> struct rte_ipv4_hdr {
> - uin
> >>>
> >>> 14/06/2021 15:15, Bruce Richardson:
> On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
> >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
> >> Sent: Monday, 14 June 2021 12.59
> >>
> >> Performance of access in a fixed-size arr
On 6/15/21 3:47 AM, Min Hu (Connor) wrote:
>
>
> 在 2021/6/14 22:43, Andrew Rybchenko 写道:
>> On 6/13/21 5:31 AM, Min Hu (Connor) wrote:
>>> This patch set contains 6 bugfixes for hns3 PMD.
>>>
>>> Chengchang Tang (1):
>>> net/hns3: fix VLAN strip log
>>>
>>> HongBo Zheng (2):
>>> net/hns3: m
> -Original Message-
> From: Thierry Herbelot
> Sent: Thursday, June 17, 2021 7:25 PM
> To: Ruifeng Wang ; dev@dpdk.org
> Cc: tho...@monjalon.net; jer...@marvell.com; Honnappa Nagarahalli
> ; Juraj Linkeš
> ; nd
> Subject: Re: [PATCH V3] config/arm: add Qualcomm Centriq 2400 part
> number
On Thu, May 20, 2021 at 08:17:54PM +, Akhil Goyal wrote:
> >
>
> Yes it makes more sense now. But ideally it should be fixed in windows.
they won't be fixed in windows. it is extremely rare to withdraw
something from a platform headers namespace and is avoided to maintain
API compatibility
Hi
On 6/17/21 6:29 AM, Li, Xiaoyun wrote:
> Hi
>
>> -Original Message-
>> From: Andrew Rybchenko
>> Sent: Thursday, June 17, 2021 00:32
>> To: Li, Xiaoyun ; Ori Kam
>> Cc: dev@dpdk.org; Richardson, Bruce ; Yigit,
>> Ferruh ; Singh, Aman Deep
>>
>> Subject: [PATCH v2] app/testpmd: send
On Thu, Jun 17, 2021 at 02:18:15PM +, Kevin Laatz wrote:
> In the event of a device reconfigure, "hdls_avail" is not being reset. This
> can lead to miscalculations in rte_ioat_completed_ops(), causing the
> function to report an incorrect amount of completed operations. This patch
> fixes the
On Thu, Jun 17, 2021 at 02:17:52PM +, Kevin Laatz wrote:
> During device configure, memory is allocated for "hdl_ring_flags". In the
> event of another call to the device configure function (reconfigure), a
> memory leak would occur. This patch fixes the memory leak by free'ing the
> memory bef
In the event of a device reconfigure, "hdls_avail" is not being reset. This
can lead to miscalculations in rte_ioat_completed_ops(), causing the
function to report an incorrect amount of completed operations. This patch
fixes the issue by resetting "hdls_avail" during the device configure.
Fixes:
On Thu, Jun 17, 2021 at 12:02:00PM +0100, Bruce Richardson wrote:
> On Thu, Jun 17, 2021 at 05:48:05PM +0800, fengchengwen wrote:
> > On 2021/6/17 1:31, Bruce Richardson wrote:
> > > On Wed, Jun 16, 2021 at 05:41:45PM +0800, fengchengwen wrote:
> > >> On 2021/6/16 0:38, Bruce Richardson wrote:
> >
During device configure, memory is allocated for "hdl_ring_flags". In the
event of another call to the device configure function (reconfigure), a
memory leak would occur. This patch fixes the memory leak by free'ing the
memory before reallocating it.
Fixes: 245efe544d8e ("raw/ioat: report status o
This patch uses the new device config ops to get and set
the MAC address if supported.
If a valid MAC address is passed as devarg of the
Virtio-user PMD, the driver will try to store it in the
device config space. Otherwise the one provided in
the device config space will be used, if available.
S
This patch introduces two virtio-user callbacks to get
and set device's config, and implements it for vDPA
backends.
Signed-off-by: Maxime Coquelin
---
drivers/net/virtio/virtio_user/vhost.h | 3 +
drivers/net/virtio/virtio_user/vhost_vdpa.c | 69 +
2 files changed, 72
This patch is preliminary rework to add support for getting
and setting device's config space.
In order to get or set a device config such as its MAC address,
we need to know whether the device itself support the feature,
or if it is emulated by the frontend.
Signed-off-by: Maxime Coquelin
Revie
This patch adds vDPA device config space requests support.
For now, it only adds MAC address get and set. It may be
extended in next revision to support other configs like
link state.
Regarding the MAC selection strategy, if devargs MAC address
is set by the user and valid, the driver tries to sto
https://bugs.dpdk.org/show_bug.cgi?id=742
Bug ID: 742
Summary: intermittent func_reentrancy_autotest failures
Product: DPDK
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
On 6/14/2021 4:54 PM, Ananyev, Konstantin wrote:
>
>
>>>
>>> 14/06/2021 15:15, Bruce Richardson:
On Mon, Jun 14, 2021 at 02:22:42PM +0200, Morten Brørup wrote:
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon
>> Sent: Monday, 14 June 2021 12.59
>>
>> Pe
On 6/16/21 2:26 PM, Xia, Chenbo wrote:
> Hi Maxime,
>
>> -Original Message-
>> From: Maxime Coquelin
>> Sent: Tuesday, June 8, 2021 10:14 PM
>> To: dev@dpdk.org; Xia, Chenbo ; amore...@redhat.com;
>> david.march...@redhat.com
>> Cc: Maxime Coquelin
>> Subject: [PATCH 2/3] net/virtio:
0xc00 is for "SoC 2.0" Qualcomm Centriq servers.
0x800 is for "SoC 1.1".
Cc: Jerin Jacob
Cc: Ruifeng Wang
Cc: Honnappa Nagarahalli
Cc: Juraj Linkeš
Signed-off-by: Thierry Herbelot
--
V2: add maintainers as Cc
V3: fix meson syntax for the SoC v1.1 machine description
V4: add new soc_centriq24
Hi,
> -Original Message-
> From: Alexander Kozyrev
> Sent: Wednesday, June 16, 2021 5:46 PM
> To: dev@dpdk.org
> Cc: Raslan Darawsheh ; Slava Ovsiienko
> ; Matan Azrad
> Subject: [PATCH] net/mlx5: convert meta register to big-endian
>
> Metadata is stored in the CPU order (little-endian
Hi,
> -Original Message-
> From: Alexander Kozyrev
> Sent: Wednesday, June 16, 2021 5:43 PM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Raslan Darawsheh ; Slava
> Ovsiienko ; Matan Azrad
> Subject: [PATCH] net/mlx5: fix modify field action order for MAC
>
> MAC addresses are split into 2 p
0xc00 is for "SoC 2.0" Qualcomm Centriq servers.
0x800 is for "SoC 1.1".
Cc: Jerin Jacob
Cc: Ruifeng Wang
Cc: Honnappa Nagarahalli
Cc: Juraj Linkeš
Signed-off-by: Thierry Herbelot
--
V2: add maintainers as Cc
V3: fix meson syntax for the SoC v1.1 machine description
V4: add new soc_centriq24
On 6/17/21 12:03 PM, Ruifeng Wang wrote:
-Original Message-
From: Thierry Herbelot
Sent: Thursday, June 17, 2021 4:16 PM
To: dev@dpdk.org
Cc: Thierry Herbelot ; tho...@monjalon.net;
jer...@marvell.com; Ruifeng Wang ; Honnappa
Nagarahalli ; Juraj Linkeš
Subject: [PATCH V3] config/arm: ad
On Thu, Jun 17, 2021 at 05:48:05PM +0800, fengchengwen wrote:
> On 2021/6/17 1:31, Bruce Richardson wrote:
> > On Wed, Jun 16, 2021 at 05:41:45PM +0800, fengchengwen wrote:
> >> On 2021/6/16 0:38, Bruce Richardson wrote:
> >>> On Tue, Jun 15, 2021 at 09:22:07PM +0800, Chengwen Feng wrote:
> Th
Inflight metadata are allocated using glibc's calloc.
This patch converts them to rte_zmalloc_socket to take
care of the NUMA affinity.
Signed-off-by: Maxime Coquelin
---
lib/vhost/vhost.c | 4 +--
lib/vhost/vhost_user.c | 67 +++---
2 files changed, 58
This patch saves the NUMA node the virtqueue is allocated
on at init time, in order to allocate all other data on the
same node.
While most of the data are allocated before numa_realloc()
is called and so the data will be reallocated properly, some
data like the log cache are most likely allocated
This patch improves the numa_realloc() function by making use
of rte_realloc_socket(), which takes care of the memory copy
and freeing of the old data.
Suggested-by: David Marchand
Signed-off-by: Maxime Coquelin
---
lib/vhost/vhost_user.c | 190 +
1 file
Since the Vhost-user device initialization has been reworked,
enabling the application to start using the device as soon as
the first queue pair is ready, NUMA reallocation no more
happened on queue pairs other than the first one since
numa_realloc() was returning early if the device was running.
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the log cache on the new NUMA node was
not done. This patch fixes this by reallocating it if it
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the Vhost memory table was missing, which
likely causes iat least one cross-NUMA accesses for ev
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.
However, reallocating the guest pages table was missing, which
likely causes at least one cross-NUMA accesses for ever
This patch series first fixes missing reallocations of some
Virtqueue and device metadata.
Then, it improves the numa_realloc function by using
rte_realloc_socket API that takes care of the memcpy &
freeing. The VQs NUMA IDs are also saved in the VQ metadata
and used for every allocations so that
Support to close and reset device.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/ngbe_ethdev.c | 61 --
drivers/net/ngbe/ngbe_ethdev.h | 2 ++
drivers/net/ngbe/ngbe_rxtx.c | 20 +++
3 files changed, 81 insertions(+), 2 deletions(-)
diff --git a/drivers
Initializes receive unit, support to start and stop receive unit for
specified queues.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_dummy.h | 15 ++
drivers/net/ngbe/base/ngbe_hw.c| 105 ++
drivers/net/ngbe/base/ngbe_hw.h| 4 +
drivers/net/ngbe/base/ngbe_type.h
Setup MSI-X interrupt, complete PHY configuration and set device link
speed to start device. Disable interrupt, stop hardware and clear queues
to stop device.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_dummy.h | 16 +
drivers/net/ngbe/base/ngbe_hw.c | 49 +++
drivers/net/ng
Initializes transmit unit, support to start and stop transmit unit for
specified queues.
Signed-off-by: Jiawen Wu
---
doc/guides/nics/features/ngbe.ini | 1 +
drivers/net/ngbe/base/ngbe_type.h | 1 +
drivers/net/ngbe/ngbe_ethdev.c| 3 +
drivers/net/ngbe/ngbe_ethdev.h| 7 ++
drive
Initialize device with the simplest receive function.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/ngbe_ethdev.c | 1 +
drivers/net/ngbe/ngbe_ethdev.h | 3 +
drivers/net/ngbe/ngbe_rxtx.c | 168 +
drivers/net/ngbe/ngbe_rxtx.h | 81
4 file
Initialize device with the simplest transmit functions.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/ngbe_ethdev.c | 1 +
drivers/net/ngbe/ngbe_ethdev.h | 3 +
drivers/net/ngbe/ngbe_rxtx.c | 228 +
drivers/net/ngbe/ngbe_rxtx.h | 27
4 files changed,
Setup device Tx queue and release Tx queue.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/ngbe_ethdev.c | 24
drivers/net/ngbe/ngbe_ethdev.h | 11 ++
drivers/net/ngbe/ngbe_rxtx.c | 206 +
drivers/net/ngbe/ngbe_rxtx.h | 95 +++
4 files chang
Setup device Rx queue and release Rx queue.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/meson.build | 1 +
drivers/net/ngbe/ngbe_ethdev.c | 37 +++-
drivers/net/ngbe/ngbe_ethdev.h | 16 ++
drivers/net/ngbe/ngbe_rxtx.c | 308 +
drivers/net/ngbe/ngbe_rxtx.
Setup PHY, determine link and speed status from PHY.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_dummy.h | 18 +++
drivers/net/ngbe/base/ngbe_hw.c | 53 +
drivers/net/ngbe/base/ngbe_hw.h | 6 +
drivers/net/ngbe/base/ngbe_phy.c | 22
drivers/net/ngbe/
Register to handle device interrupt.
Signed-off-by: Jiawen Wu
---
doc/guides/nics/features/ngbe.ini | 3 +
doc/guides/nics/ngbe.rst | 5 +
drivers/net/ngbe/base/ngbe_dummy.h | 6 +
drivers/net/ngbe/base/ngbe_type.h | 11 +
drivers/net/ngbe/ngbe_ethdev.c | 376 +
Store MAC addresses and init receive address filters.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_dummy.h | 33 +++
drivers/net/ngbe/base/ngbe_hw.c| 323 +
drivers/net/ngbe/base/ngbe_hw.h| 13 ++
drivers/net/ngbe/base/ngbe_type.h | 19 ++
drive
Identify PHY to get the PHY type, and perform a PHY reset.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/meson.build| 4 +
drivers/net/ngbe/base/ngbe_dummy.h | 40 +++
drivers/net/ngbe/base/ngbe_hw.c | 40 ++-
drivers/net/ngbe/base/ngbe_hw.h | 2 +
drivers/net/ngbe/bas
Initialize the hardware by resetting the hardware in base code.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_dummy.h | 21 +++
drivers/net/ngbe/base/ngbe_hw.c| 235 +
drivers/net/ngbe/base/ngbe_hw.h| 9 ++
drivers/net/ngbe/base/ngbe_type.h | 30
Reset swfw lock before NVM access, init EEPROM and validate the
checksum.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/meson.build | 2 +
drivers/net/ngbe/base/ngbe_dummy.h | 23
drivers/net/ngbe/base/ngbe_eeprom.c | 203
drivers/net/ngbe/base/ngbe_e
Add basic init and uninit function.
Map device IDs and subsystem IDs to single ID for easy operation.
Then initialize the shared code.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/meson.build | 4 +-
drivers/net/ngbe/base/ngbe.h | 11 ++
drivers/net/ngbe/base/ngbe_dummy.h | 37 +
Define all registers that will be used.
Signed-off-by: Jiawen Wu
---
drivers/net/ngbe/base/ngbe_regs.h | 1490 +
1 file changed, 1490 insertions(+)
create mode 100644 drivers/net/ngbe/base/ngbe_regs.h
diff --git a/drivers/net/ngbe/base/ngbe_regs.h
b/drivers/net/ngb
Add log type and error type to trace functions.
Signed-off-by: Jiawen Wu
---
doc/guides/nics/ngbe.rst| 21 +
drivers/net/ngbe/base/ngbe_status.h | 73 +
drivers/net/ngbe/ngbe_ethdev.c | 14 ++
drivers/net/ngbe/ngbe_logs.h| 46 +
1 - 100 of 142 matches
Mail list logo