> -Original Message-
> From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com]
> Sent: Friday, May 26, 2017 10:29 AM
> To: Nachi Prachanda
> Cc: skh...@vmware.com; Chas Williams III; dev@dpdk.org
> Subject: RE: [PATCH 1/6] net/vmxnet3: retain counters on restart
>
>
>
> On Th
Hello All,
I was doing some experiments related to LPM6 look up and I have added
20K
entries in the table. By looking at the rte_lpm6_lookup() code I found
an
opportunity to compress the TRIE and there is a significant improvement
after compression.
Here are my questions:
Q1: Why DPDK is not
Hi Jiayu,
> -Original Message-
> From: Hu, Jiayu
> Sent: Friday, May 26, 2017 8:26 AM
> To: Ananyev, Konstantin
> Cc: dev@dpdk.org; Wiles, Keith ;
> yuanhan@linux.intel.com
> Subject: Re: [PATCH v3 1/3] lib: add Generic Receive Offload API framework
>
> Hi Konstantin,
>
> On Wed, M
A proposal for a new DPDK library that is called “Membership Library”. It
provides an API for DPDK applications to insert a new member, delete an existing
member, or query the existence of a member in a given set, or a group of sets.
For the case of a group of sets the library will return not only
This commit adds flag action support for flow director.
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_flow.c | 26 +++---
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c
index 218ece1..2af88c6
the patchset is base on
http://dpdk.org/dev/patchwork/patch/24482/
http://dpdk.org/dev/patchwork/patch/24476/
Qi Zhang (3):
net/ixgbe: replace macro with inline function
net/ixgbe: enable signature match for consistent API
net/ixgbe: enable IPv6 for consistent API
drivers/net/ixgbe/ixgbe_f
Code clean, replace macro with inline funtion for searching
next no void pattern and next no void action
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_flow.c | 208 +++--
1 file changed, 73 insertions(+), 135 deletions(-)
diff --git a/drivers/net/ixgbe/
Enable IPv6 support with rte_flow API.
Only support Sigature Match.
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_flow.c | 112 ++---
1 file changed, 104 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe
Enable signature match for rte_flow API.
RTE_FLOW_ITEM_TYPE_ROUGHLY specify a signature match.
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_flow.c | 71 +++---
1 file changed, 59 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_flow.
On Sat, May 27, 2017 at 07:10:21AM +0800, Ananyev, Konstantin wrote:
> Hi Jiayu,
>
> > -Original Message-
> > From: Hu, Jiayu
> > Sent: Friday, May 26, 2017 8:26 AM
> > To: Ananyev, Konstantin
> > Cc: dev@dpdk.org; Wiles, Keith ;
> > yuanhan@linux.intel.com
> > Subject: Re: [PATCH v3
Modify the necessary files to be compatible with the new virtchnl.h file
instead of relying on i40e_virtchnl.h variant. This mostly changes
references to VIRTCHNL_ variables by removing prefix of I40E_.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c| 24 +-
drivers/net/i
During NVMupdate, state machine gets into unrecoverable state because
i40e_clean_adminq_subtask can get scheduled after the admin queue
command but before other state variables are updated.
This patch adds locking around admin queue command and update of
state variables so that adminq_subtask will
This patch adds new additional command for accessing to PHY registers.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 18 +
drivers/net/i40e/base/i40e_common.c | 70 +
drivers/net/i40e/base/i40e_prototype.h | 9 +
3 file
i40e base code upate. The main changes are:
- use virtchnl.h instead of i40e_virtchnl.h
- add support for Adaptive Virtual Function
- add new AQ commands for read/write PHY registers
- add new phy types for 25G
Jingjing Wu (10):
net/i40e/base: use new virtchnl header file
net/i40e/base: sy
Store information about FEC modes, that were requested. It will be used
in printing link status information function and this way there is no
need to call admin queue there.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 4
drivers/net/i40e/base/i40e_type.h | 1 +
2
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 20 ++--
drivers/net/i40e/base/i40e_common.c | 18 +++---
2 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h
b/drivers/net/i40e/base/i40e_
This patch adds new phy types for 25G Active Optical Cables (AOC) and
Active Copper Cables (ACC) support.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4
drivers/net/i40e/base/i40e_common.c | 2 ++
2 files changed, 6 insertions(+)
diff --git a/drivers/net/i4
Add device id define and mac_type assignment needed for Adaptive
Virtual Function.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c | 1 +
drivers/net/i40e/base/i40e_devids.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/ne
track_id == 0 is valid for “read only” profiles when
profile does not have any “write” commands.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_common.c| 7 +--
drivers/net/i40e/base/i40e_prototype.h | 12 +++-
2 files changed, 8 insertions(+), 11 deletions(-)
diff -
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/base/i40e_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index af5347b..3892f52 100644
--- a/drivers/net/i40e/base/i40e_type.h
+++ b/drivers/net/i40e/
Signed-off-by: Jingjing Wu
---
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 0da9f67..270d7f1 100644
--- a/drivers/net/i40e/base/README
+++ b/drivers/net/i40e/base/README
@@ -34,7
Add code to detect and run T6 devices. Update PCI ID Device table
with Chelsio T6 device ids and update documentation.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
doc/guides/nics/cxgbe.rst | 41 +-
doc/guides/rel_notes/release_17_08
This series of patches add support for Chelsio T6 family of adapters.
Patches 1 - 4 update CXGBE PMD to detect and run Chelsio T6 cards.
Patches 5 - 6 add new link speeds and update port modules.
Patch 7 updates information prints to accommodate Chelsio T6 cards.
Patch 8 updates TX path to refl
Add 25G and 100G link speeds and update supported port modules.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/common.h | 4 ++--
drivers/net/cxgbe/base/t4_hw.c | 17 +
drivers/net/cxgbe/base/t4fw_interface.h | 18 ++
Move code to get the available ports from the firmware after it had
been reset. This ensures that driver uses the latest info on available
ports after firmware reset.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/cxgbe_main.c | 36 --
Add Chelsio T6 registers to register dump.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/t4_hw.c | 567 +
1 file changed, 567 insertions(+)
diff --git a/drivers/net/cxgbe/base/t4_hw.c b/drivers/net/cxgbe/base/t4_
Add forward error correction (FEC) support and update link
configuration.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/common.h | 8 +
drivers/net/cxgbe/base/t4_hw.c | 57 ++---
drivers/net/cxgbe/base/t
Update flash part identification and decoding to accommodate new
flash parts.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/t4_hw.c | 106 +++--
1 file changed, 81 insertions(+), 25 deletions(-)
diff --git a/drivers/
Update TX path to reflect Chelsio T6 changes.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/sge.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/cxgbe/sge.c b/drivers/net/cxgbe/sge.c
index 2f9e12c..699b577 100
Update informational prints pertaining to underlying hardware.
Add bootstrap firmware version and expansion ROM version prints.
Move the prints to a single function.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/common.h | 6 +-
drivers/net/cxgbe/base
Update RX path to reflect Chelsio T6 register value changes.
Update ingress pack boundary value based on maximum payload size
that can be accommodated by underlying PCI. Update ingress pad
boundary value based on smallest memory controller bus width
possible. Enforce alignment for free list point
Update MPS buffer groups and TP ingress channel congestion map to
correct RXQ allocation for Chelsio T6.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/common.h | 3 +-
drivers/net/cxgbe/base/t4_hw.c | 85
dri
Add support for compressed error vector available in cpl_rx_pkt for
Chelsio T6.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/common.h | 5 +
drivers/net/cxgbe/base/t4_hw.c | 8
drivers/net/cxgbe/base/t4_msg.h | 16 +++-
d
Do not count pause frames as part of normal TX/RX Frame/Byte counts.
Also, switch to using software counters rather than hardware for RX
stats.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/t4_hw.c | 20
drivers/net/cxgbe/base/t4_
Remove RTE_PCI_DRV_INTR_LSC from driver flags, since LSC interrupts
are currently not supported.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/cxgbe_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c
This series of patches rework TX and RX path to reduce latency
and improve performance.
Patch 1 reduces latency for slow traffic by using status page update
on RX path to process batch of packets and improves coalesce TX path
to handle slow moving traffic.
Patch 2 fixes an issue with RXQ default
TX coalescing waits for ETH_COALESCE_PKT_NUM packets to be coalesced
across bursts before transmitting them. For slow traffic, such as
100 PPS, this approach increases latency since packets are received
one at a time and tx coalescing has to wait for ETH_COALESCE_PKT
number of packets to arrive be
Enabling rx queues with default interrupt parameters doesn't happen
for other ports under same PF due to FULL_INIT_DONE flag being set
by the first port.
Fix is to to allow each port to enable its own rx queues with default
parameters.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
rmb before determining rsp_type is a bottleneck.
Once we determine rsp-type is FL, we can directly go ahead and read
packets based on q->stat->pidx and budget_left.
This removes bottleneck of rmb once per every RX packet.
Now, rmb exists once per RX batch.
Signed-off-by: Rahul Lakkireddy
Signed-
Add support to configure minimum and maximum PCIe extended tag.
Signed-off-by: Rahul Lakkireddy
Signed-off-by: Kumar Sanghvi
---
drivers/net/cxgbe/base/adapter.h | 1 +
drivers/net/cxgbe/base/t4_regs.h | 20
drivers/net/cxgbe/cxgbe_main.c | 31 +++
Hi Fiona,
On Thu, May 25, 2017 at 04:00:42PM +, Trahe, Fiona wrote:
> Hi Umesh,
>
>
> > -Original Message-
> > From: Umesh Kartha [mailto:umesh.kar...@caviumnetworks.com]
> > Sent: Thursday, May 11, 2017 1:36 PM
> > To: dev@dpdk.org
> > Cc: Jerin Jacob ; Balasubramanian
> > Manohar
Hi Konstantin,
On Wed, May 24, 2017 at 08:38:25PM +0800, Ananyev, Konstantin wrote:
>
> Hi Jiayu,
>
> >
> > Hi Konstantin,
> >
> > Thanks for your comments. My replies/questions are below.
> >
> > BRs,
> > Jiayu
> >
> > On Mon, May 22, 2017 at 05:19:19PM +0800, Ananyev, Konstantin wrote:
> >
On 5/24/2017 5:19 PM, Ferruh Yigit wrote:
On 5/22/2017 10:39 AM, Hemant Agrawal wrote:
This patchset adds following features to DPAA2 PMD:
1. improved error handling
2. parallel RX DQ requests to improve performance
3. Support for various ethdev operations
4. enable jumbo frames
---
v2:
* rebas
Fixes for memory-related undefined behavior issues in rte_vhost.
Daniel Verkamp (1):
vhost: access VhostUsrMsg via packed struct
Dariusz Stojaczyk (2):
vhost: fix malloc in rte_vhost_get_mem_table()
vhost: free guest_pages in vhost_backend_cleanup()
lib/librte_vhost/vhost.c | 2 +-
Amount of allocated memory was too small, causing buffer overflow.
Signed-off-by: Dariusz Stojaczyk
---
v2: remove gerrit id
lib/librte_vhost/vhost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost.c b/lib/librte_vhost/vhost.c
index 0b19d2e..1f565fb 100
This patch fixes a memory leak.
virtio_net::guest_pages is allocated in vhost_setup_mem_table(),
reallocated in add_one_guest_page(), but never freed.
Signed-off-by: Dariusz Stojaczyk
---
v2: remove gerrit id
lib/librte_vhost/vhost_user.c | 4
1 file changed, 4 insertions(+)
diff --git a/l
From: Daniel Verkamp
Accessing fields of a packed struct through unaligned pointers is
undefined behavior. Instead of passing pointers to particular fields,
a pointer to the root struct should be used. This patch does exactly
that.
Signed-off-by: Daniel Verkamp
Signed-off-by: Dariusz Stojaczyk
On Fri, May 26, 2017 at 01:59:12PM +0200, Dariusz Stojaczyk wrote:
> Fixes for memory-related undefined behavior issues in rte_vhost.
>
> Daniel Verkamp (1):
> vhost: access VhostUsrMsg via packed struct
>
> Dariusz Stojaczyk (2):
> vhost: fix malloc in rte_vhost_get_mem_table()
> vhost: fr
On 5/26/2017 7:51 AM, Hemant Agrawal wrote:
> This patchset adds following features to DPAA2 PMD:
> 1. improved error handling
> 2. parallel RX DQ requests to improve performance
> 3. Support for various ethdev operations
> 4. enable jumbo frames
>
> ---
> v4:
> * rebased on next-net
> * fixed ali
On 5/26/2017 7:51 AM, Hemant Agrawal wrote:
> This is required to configure the stashing destination
> based on the cluster size.
>
> Signed-off-by: Hemant Agrawal
<...>
> diff --git a/drivers/bus/fslmc/mc/dpmng.c b/drivers/bus/fslmc/mc/dpmng.c
> new file mode 100644
> index 000..7fe1787
>
This patch series is a couple of small patches to make the 'make config'
of the build a bit easier for users.
Users can now 'make defconfig' which will pick a sensible default based on
some 'uname' queries of the system.
Users can also set RTE_TARGET on in their environment which will get picked
Users can now set RTE_TARGET in their environment and use
'make config' without T=template.
If RTE_TARGET is set in the user's environment, and if T=
is not used, 'make config' will use $RTE_TARGET.
Signed-off-by: David Hunt
---
mk/rte.sdkroot.mk | 2 ++
1 file changed, 2 insertions(+)
diff --
Users can now use 'make defconfig' to generate a configuration using
the most appropriate defaults for the current machine.
arch taken from uname -m
machine defaults to native
execenv is taken from uname, Linux=linuxapp, otherwise bsdapp
toolchain is taken from $CC -v to see which compile
On 5/22/2017 12:19 PM, Pascal Mazon wrote:
> The following two flow rules (testpmd syntax) should not collide:
> flow create 0 priority 1 ingress pattern eth / ipv4 / end actions drop / end
> flow create 0 priority 1 ingress pattern eth / ipv6 / end actions drop / end
>
> But the eth_type in the a
License information in 3 newly added files doesn't reflect that they
are dual licensed. This patch adds a text to declare that.
Signed-off-by: Shreyansh Jain
---
drivers/bus/fslmc/mc/dpmng.c | 9 -
drivers/bus/fslmc/mc/fsl_dpmng.h | 9 -
drivers/bus/fslmc/mc/fsl_dpmng
On 5/26/2017 10:26 AM, Shreyansh Jain wrote:
> License information in 3 newly added files doesn't reflect that they
> are dual licensed. This patch adds a text to declare that.
>
> Signed-off-by: Shreyansh Jain
Squashed into relevant commit in next-net, thanks.
On 5/22/2017 12:20 PM, Pascal Mazon wrote:
> This patch adds basic offloading support, widely expected in a PMD.
>
> Verify IPv4 and UDP/TCP checksums upon packet reception, and set
> ol_flags accordingly.
>
> On Tx, set IPv4 and UDP/TCP checksums when required, considering
> ol_flags.
>
> Signe
Added AES GCM tests for 192-bit keys, now that AES GCM PMD
supports it.
Signed-off-by: Pablo de Lara
---
test/test/test_cryptodev.c | 116 +
test/test/test_cryptodev_gcm_test_vectors.h | 357
2 files changed, 473 insertions(+)
diff --git a/t
AES-NI GCM PMD migrated previously from Multi-buffer Crypto library
to ISA-L Crypto library, to support several features that were not
supported by that time, such as GMAC algorithm and Scatter-gather list.
Since version 0.45, Multi-buffer library
(https://github.com/01org/intel-ipsec-mb)
support
Since Intel Multi Buffer library for IPSec has been updated to
support Scatter Gather List, the AESNI GCM PMD can link
to this library, instead of the ISA-L library.
This move eases the maintainance of the driver, as it will
use the same library as the AESNI MB PMD.
It also adds support for 192-bi
Hi all,
I have included a new pipeline type (*.c, *.h, *_be.c, *_be.h files inside
/dpdk/examples/ip_pipeline/pipeline folder). But while running a config
file which uses this newly created pipeline type, its showing error. During
debugging I found that app->n_pipeline_types still returns 6 (actua
rte_driver->name has the driver name and all physical and virtual
devices has access to it.
Previously it was not possible for virtual ethernet devices to access
rte_driver->name field (because eth_dev used to keep only pci_dev),
and it was required to save driver name in the device private struct
Signed-off-by: mstolarchuk
---
lib/librte_hash/rte_cuckoo_hash.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/lib/librte_hash/rte_cuckoo_hash.c
b/lib/librte_hash/rte_cuckoo_hash.c
index 645c0cf..37a8110 100644
--- a/lib/librte_hash/rte_cuckoo_hash.c
+++ b/lib
This patch adds ability to request information about dynamic device
personalization profile
Signed-off-by: Andrey Chilikin
---
drivers/net/i40e/rte_pmd_i40e.c | 163 ++-
drivers/net/i40e/rte_pmd_i40e.h | 45 +++
2 files changed, 204 insertions(+),
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Nidhia Varghese
> Sent: Friday, May 26, 2017 11:34 AM
> To: us...@dpdk.org; dev@dpdk.org
> Subject: [dpdk-dev] Adding a new pipeline type in IP_PIPELINE application
>
> Hi all,
>
> I have included a new pipeline
> -Original Message-
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
> Sent: Thursday, May 25, 2017 1:53 PM
> To: Legacy, Allain; Peters, Matt
> Cc: dev@dpdk.org; YIGIT, FERRUH
> Subject: [PATCH] net/avp: remove redundant assignment
>
> dev_info->driver_name is assigned by rte_eth_dev
Hi All,
I am running Link Status Interrupt(LSI) DPDK sample application to test
link status by making PF up/down using 'ip link set dev
up/down'. I would think, it should trigger 'ixgbe_dev_interrupt_handler()'
when we do interface up/down. But looks like it is not triggered
'ixgbe_dev_interrup
When .mac_addr_add() was changed to allow a return code, ring was changed
to return -ENOTSUP. This changes the behavior of the rte_ring driver in
a way that does not maintain backward compatibility. Additionally, if
the intent is to return -ENOTSUP, you could simply not define the stubs.
Fixes:
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
Reviewed-by: David Riddoch
---
drivers/net/sfc/sfc_ef10_tx.c | 54 +++
1 file changed, 44 insertions(+), 10 deletions(-)
diff --git a/drivers/net/sfc/sfc_ef10_tx.c b/drivers/net/sfc/sfc_ef10_tx.c
There is not point to check other Tx descriptors.
It is important if Tx datapath does not reset Tx descriptor
mbuf pointer to NULL on completion (EF10 simple Tx will do).
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
Reviewed-by: David Riddoch
---
drivers/net/sfc/sfc_ef10_tx.c | 13
Moved all bypass functions to ixgbe pmd and removed function
pointers from the eth_dev_ops struct.
Also cleared some checkpatch errors.
Signed-off-by: Radu Nicolau
---
app/test-pmd/cmdline.c | 100 ++--
app/test-pmd/testpmd.c | 11 +-
app/test-
This patchseries add support for other aggregators in similar manner
that is provided in Linux kernel.
Modes added in patches:
stable - this is default mode from IEEE802.11AX/IEEE802.3AD documentation
bandwidth - takes aggregator with the biggest available speed
count - takes aggregators with the
This patch add support for setting additional aggregator modes for IEEE802.3AD
in similar manner that are supported in kernel mode.
This will add support for other manner:
stable - default mode taken from IEEE802.11AX this is default aggregator mode
bandwidth - takes aggregator with highest bandwi
This patch add support for different aggregator modes in similar manner
that is provided in linux kernel.
testpmd> set bonding agg_mode
testpmd> show bonding config
Signed-off-by: Daniel Mrzyglod
---
app/test-pmd/cmdline.c | 90 +-
1 file chang
On Fri, 26 May 2017 09:17:33 +0300
Gregory Etelson wrote:
> Thank you.
>
> Regards,
> Gregory
>
> On Friday, 26 May 2017 09:05:11 IDT Shijith Thotton wrote:
> > On Fri, May 26, 2017 at 07:30:58AM +0300, Gregory Etelson wrote:
> >
> > Hi Gregory,
> >
> > The patch is useful for LiquidIO PMD as
rte_device->name copied into eth_dev->name, right now size is same for
both but the requirement is not clear.
This patch highlights the relation without changing actual sizes.
Signed-off-by: Ferruh Yigit
---
lib/librte_eal/common/include/rte_dev.h | 2 ++
lib/librte_eal/common/include/rte_d
Device name resides in two different locations, in rte_device->name and
in ethernet device private data.
For now, the copy in the ethernet device private data is required for
multi process support, the name is the how secondary process finds about
primary process device.
But for drivers there is
I did not look into VFIO driver yet
Regards,
Gregory
On Friday, 26 May 2017 18:53:21 IDT Stephen Hemminger wrote:
> On Fri, 26 May 2017 09:17:33 +0300
> Gregory Etelson wrote:
>
> > Thank you.
> >
> > Regards,
> > Gregory
> >
> > On Friday, 26 May 2017 09:05:11 IDT Shijith Thotton wrote:
> >
On 5/26/2017 2:05 PM, Legacy, Allain wrote:
>> -Original Message-
>> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
>> Sent: Thursday, May 25, 2017 1:53 PM
>> To: Legacy, Allain; Peters, Matt
>> Cc: dev@dpdk.org; YIGIT, FERRUH
>> Subject: [PATCH] net/avp: remove redundant assignment
>>
We are looking for re-sending [1] the Kernel Control Path (KCP)
with some updates [2].
Mainly this is an usability improvement for DPDK.
And a quick reminder about what KCP is:
"KCP is Linux virtual network interface that can control DPDK ports".
So DPDK interfaces, somehow will be visible and
On Thu, 25 May 2017, Nachi Prachanda wrote:
> > From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com]
> > Sent: Thursday, May 25, 2017 1:27 PM
> >
> > On Thu, 25 May 2017, Nachi Prachanda wrote:
> >
> > > > From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com]
> > > > S
On Fri, 19 May 2017, Charles (Chas) Williams wrote:
> From: Nachiketa Prachanda
>
> Most nics like virtio, igb/ixgbe etc. don't reset counters on
> dev_start and arguably this helps in monitoring the counters
> across a longer time span with multiple device start/stops.
> vmxnet3 behavior is o
The SoftNIC PMD provides SW fall-back option for the NICs not supporting
the Traffic Management (TM) features.
SoftNIC PMD overview:
- The SW fall-back is based on the existing librte_sched DPDK library.
- The TM-agnostic port (the underlay device) is wrapped into a TM-aware
softnic port (the o
Softnic PMD implements HQoS scheduler as software fallback solution for
the hardware with no HQoS support. When application call rx function on
this device, it simply invokes underlay device rx function. On the egress
path, softnic tx funtion enqueues the packets into QoS scheduler. The packets
are
The traffic management specific functions of the softnic driver are supplied
through set of pointers contained in the generic structure of type
'rte_tm_ops'. These functions help to build and manage the hierarchical QoS
scheduler for traffic management.
Signed-off-by: Jasvinder Singh
Signed-off-b
Signed-off-by: Matej Vido
---
drivers/net/szedata2/rte_eth_szedata2.c | 80 +++---
drivers/net/szedata2/rte_eth_szedata2.h | 48 +-
2 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/drivers/net/szedata2/rte_eth_szedata2.c
b/drivers/net/s
Remove unused read and write functions.
Use rte_read*, rte_write* functions to access ibuf and obuf
address space.
Signed-off-by: Matej Vido
---
drivers/net/szedata2/rte_eth_szedata2.c |4 +-
drivers/net/szedata2/rte_eth_szedata2.h | 184 +++
2 files changed, 64
This is to prepare for firmwares with multiple ibufs and obufs.
Offsets of ibufs and obufs are defined in array.
Functions which operate on ibufs and obufs iterate over this array.
Signed-off-by: Matej Vido
---
drivers/net/szedata2/Makefile |1 +
drivers/net/szedata2/rte_eth_szedat
Signed-off-by: Matej Vido
---
drivers/net/szedata2/rte_eth_szedata2.h | 216 +-
drivers/net/szedata2/szedata2_iobuf.h | 261 +++
2 files changed, 264 insertions(+), 213 deletions(-)
diff --git a/drivers/net/szedata2/rte_eth_szedata2.h
b/dr
Add IBUF and OBUF offsets definitions for new firmwares.
Signed-off-by: Matej Vido
---
config/common_base|8 +--
doc/guides/nics/szedata2.rst | 32 ++--
drivers/net/szedata2/szedata2_iobuf.c | 148 +++--
3 files changed, 168 ins
This patchset amongst other changes adds support few more dev_ops,
updates HWRM to version 1.7.7, switches to polling stats from the
hardware, support for Jumbo MTU, LRO etc..
As suggedted for the previous submission:
Grouped in the end, it also has PMD specific APIs to control VF from PF.
I have
1) Move the function reset to bnxt_dev_init.
On the same lines, setup, enable and request interrupt to init path.
Memory allocation is also being done in the init path.
2) After a function reset, configure the VFs. Distribute resources
evenly between all functions (PF and VF) for now. In the futur
1) For a VF, query the firmware to determine if a MAC address is
already configured. If not configure a random default MAC address.
2) Do not initialize the default completion ring in
bnxt_alloc_hwrm_rings().
3) While registering for async events with the firmware,
use func_vf_cfg for a VF and use
rte_malloc_virt2phy() does not return a physical address if huge pages
aren't in use. Further, rte_memzone->phys_addr is not a physical address.
Use rte_mem_virt2phy() and manually lock pages to support lack of
huge pages.
Also check the return value of rte_mem_virt2phy()
Verify the function re
Add the cmd_err and opaque_0 and opaque_1 fields to HWRM error
messages. These allow better debugging of some classes of HWRM
errors.
Signed-off-by: Stephen Hurd
Signed-off-by: Ajit Khaparde
--
v1->v2: regroup related patches and incorporate other review comments
---
drivers/net/bnxt/bnxt_hwr
Add support for udp_tunnel_port_add/del dev_ops to configure a UDP port
for VXLAN and Geneve Tunnel protocols.
The HWRM supports only one global destination port for a tunnel type,
use a referene counter to keep track of its usage.
Cache the configured VXLAN/Geneve ports and use that value to check
This patch adds support to get and reset xstats dev_ops
dev_ops added:
xstats_get, xstats_get_name, xstats_reset
HWRM commands added:
hwrm_port_qstats, hwrm_port_clr_stats
Signed-off-by: Ajit Khaparde
--
v1->v2: regroup related patches and incorporate other review comments
---
drivers/net/bnx
This patch adds VLAN strip and offload callbacks.
To add a VLAN filter:
For each VNIC and each associated filter(s)
if VLAN exists:
if VLAN matches vlan_id
VLAN filter already exists, just skip and continue
else
add a new MAC+VLAN
This patch adds support for set_mc_addr_list and
mac_addr_set dev_ops
Signed-off-by: Ajit Khaparde
--
v1->v2: regroup related patches and incorporate other review comments
---
doc/guides/nics/features/bnxt.ini | 1 +
drivers/net/bnxt/bnxt_ethdev.c| 70 ++
This patch adds support for fw_version_get dev_op
Signed-off-by: Ajit Khaparde
--
v1->v2: regroup related patches and incorporate other review comments
---
doc/guides/nics/features/bnxt.ini | 1 +
drivers/net/bnxt/bnxt_ethdev.c| 20
2 files changed, 21 insertions(+)
d
1 - 100 of 117 matches
Mail list logo