On Tue, Jan 09, 2018 at 12:49:20PM +, Ferruh Yigit wrote:
> On 1/9/2018 12:47 PM, Ferruh Yigit wrote:
> > On 12/19/2017 6:01 PM, Pavan Nikhilesh wrote:
> >> The channel to port id map is used by event octeontx to map the received
> >> wqe to the respective ethdev port.
> >>
> >> Signed-off-by:
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Remy Horton
> Sent: Monday, January 8, 2018 10:37 PM
> To: dev@dpdk.org
> Cc: Mcnamara, John ; Lu, Wenzhuo
> ; Wu, Jingjing ; Doherty,
> Declan ; Awal, Mohammad Abdul
>
> Subject: [dpdk-dev] [PATCH v4 3/5] driver
On 01/10/2018 10:38 AM, Thomas Monjalon wrote:
10/01/2018 03:15, Yang, Qiming:
From: Thomas Monjalon [mailto:tho...@monjalon.net]
07/01/2018 07:32, Shahaf Shuler:
Saturday, January 6, 2018 12:22 PM, Andrew Rybchenko:
[..]
#define ETH_RSS_PORT (1ULL << RTE_ETH_FLOW_PORT)
+/*
10/01/2018 03:15, Yang, Qiming:
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> > 07/01/2018 07:32, Shahaf Shuler:
> > > Saturday, January 6, 2018 12:22 PM, Andrew Rybchenko:
> > >
> > > [..]
> > >
> > > > > #define ETH_RSS_PORT (1ULL << RTE_ETH_FLOW_PORT)
> > > > > +/** Enab
On 09/01/2018 22:10, Ferruh Yigit wrote:
[..]
+Adding a representor for a VF requires specifying the PF in
+``Bus_DomBDF`` format alongside the index number of the VF::
+
+ testpmd> add representor pci_:81:00.0 0
I am for grouping port related commands under "port" command, these are all
> -Original Message-
> From: Richardson, Bruce
> Sent: Tuesday, January 9, 2018 10:33 PM
> To: Zhang, Qi Z ; Xing, Beilei
> Cc: dev@dpdk.org; Zhang, Helin ; Yigit, Ferruh
> ; Richardson, Bruce
> Subject: [PATCH v2 0/2] AVX2 Vectorized Rx/Tx functions for i40e
>
> This patch adds an AVX
Hi
After perf test, with right setting, the perf can improve about 20%.
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson
> Sent: Tuesday, January 9, 2018 22:33
> To: Zhang, Qi Z ; Xing, Beilei
> Cc: dev@dpdk.org; Zhang, Helin ; Yigit, Ferruh
>
Add BPF classifier for each TAP queue. According to this classifier packets
marked with an RSS queue will be directed to this queue using a traffic
control with "skbedit" action.
The BPF classifier program is downloaded to the kernel once per TAP Rx
queue.
Add RSS BPF map entry for each new RSS ru
The patches of TAP RSS eBPF follow the RFC on this issue
https://dpdk.org/dev/patchwork/patch/31781/
v3 changes with respect to v2
=
* Add support for IPv6 RSS in BPF program
* Bug fixes
* Updated compatibility to kernel versions:
eBPF requires Linux version 4.9 confi
TAP PMD is required to support RSS queue mapping based on rte_flow API. An
example usage for this requirement is failsafe transparent switching from a
PCI device to TAP device while keep redirecting packets to the same RSS
queues on both devices.
TAP RSS implementation is based on eBPF programs se
Hi,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wisam Monther
> Sent: Thursday, January 4, 2018 5:06 PM
> To: Wu, Jingjing ; Raslan Darawsheh
>
> Cc: dev@dpdk.org; Ori Kam ; Shahaf Shuler
> ; Wisam Monther
> Subject: Re: [dpdk-dev] [PATCH] app/testpmd: ad
> -Original Message-
> From: Rybalchenko, Kirill
> Sent: Monday, November 27, 2017 8:30 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing ; Xing, Beilei
> ; johnd...@cisco.com; neesc...@cisco.com;
> adrien.mazarg...@6wind.com; nelio.laranje...@6wind.com;
> ys...@mellanox.com; Lu, Wenzhuo ; Ananyev
From: Simon Guo
Currently the rx/tx queue is allocated from the buffer pool on socket of:
- port's socket if --port-numa-config specified
- or ring-numa-config setting per port
All the above will "bind" queue to single socket per port configuration.
But it can actually archieve better performanc
This patch moves the kernel modules code from EAL to a common place.
- Separate the kernel module code from user space code.
Signed-off-by: Hemant Agrawal
---
v4: update the path in MAINTAINERS
v3: move contigmem from bsdapp
v2: rename kern to kernel, add freebsd modules as well
GNUmakefile
On 1/9/2018 9:00 PM, Ferruh Yigit wrote:
On 1/9/2018 3:24 PM, Thomas Monjalon wrote:
09/01/2018 16:12, Ferruh Yigit:
--- a/lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h
+++ b/lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h
+/* SPDX-License-Identifier: (BSD-3-Clause
I think the name bak is a little bit confused, what do you think just use
nd_txq_backup/nd_rxq_backup?
And I think it's no need to break the patch into two patch, them fix the same
thing and the code amount are not large.
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On
+1 why we disable interrupt in dev_start twice?
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu
> Sent: Tuesday, January 9, 2018 4:24 PM
> To: Dai, Wei
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] net/ixgbe: fix VFIO interrupt mapping in PF
>
> Hi W
On 1/9/2018 6:43 PM, Ferruh Yigit wrote:
Signed-off-by: Ferruh Yigit
---
v2: Changed syntax for SPDX header
---
doc/guides/nics/pcap_ring.rst | 31 ++-
drivers/net/pcap/Makefile | 35 ---
drivers/net/pcap/rte_eth_pcap.c | 36 ++
Hi Nelio,
On 01/09/2018 06:18 PM, Nelio Laranjeiro wrote:
Hi Anoob,
On Fri, Jan 05, 2018 at 11:48:50AM +0530, Anoob Joseph wrote:
Hi Adrien,
On 12/21/2017 07:52 PM, Adrien Mazarguil wrote:
On Thu, Dec 21, 2017 at 12:12:29PM +0200, Boris Pismenny wrote:
On 12/21/2017 10:06 AM, Anoob Josep
Signed-off-by: Wenzhuo Lu
---
drivers/net/avf/avf.h| 1 +
drivers/net/avf/avf_ethdev.c | 1 +
drivers/net/avf/avf_rxtx.c | 300 +++
drivers/net/avf/avf_rxtx.h | 6 +
4 files changed, 308 insertions(+)
diff --git a/drivers/net/avf/avf.h b/
From: Jingjing Wu
Update the doc for the AVF features either.
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 1 +
doc/guides/nics/features/avf_vec.ini | 1 +
doc/guides/nics/intel_vf.rst | 20 +++-
doc/guides/rel_notes/release_18_02.rst | 16 +++
driv
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
config/common_base| 1 +
doc/guides/nics/features/avf_vec.ini | 36 ++
drivers/net/avf/Makefile | 1 +
drivers/net/avf/avf.h | 4 +
drivers/net/avf/avf_ethdev.c | 11 +
drivers/ne
From: Jingjing Wu
Enable Virtchnl offload Caps negotiation and RSS_PF offload
to support AVF basic interface.
Signed-off-by: Jingjing Wu
---
drivers/net/i40e/i40e_ethdev.c | 69
drivers/net/i40e/i40e_ethdev.h | 5 ++
drivers/net/i40e/i40e_pf.c | 140
From: Jingjing Wu
- rxq_info_get
- txq_info_get
- rx_queue_count
- rx_descriptor_status
- tx_descriptor_status
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 2 +
drivers/net/avf/avf_ethdev.c | 5 ++
drivers/net/avf/avf_rxtx.c | 120 +++
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 1 +
drivers/net/avf/avf_ethdev.c | 30 ++
2 files changed, 31 insertions(+)
diff --git a/doc/guides/nics/features/avf.ini b/doc/guides/nics/features/avf.ini
index 61527d7..cf1b
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 2 +
drivers/net/avf/avf_ethdev.c | 142 +++
2 files changed, 144 insertions(+)
diff --git a/doc/guides/nics/features/avf.ini b/doc/guides/nics/features/avf.ini
index 1
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 1 +
drivers/net/avf/avf.h| 2 ++
drivers/net/avf/avf_ethdev.c | 27 +++
drivers/net/avf/avf_vchnl.c | 27 +++
4 files changed, 57 insertion
From: Jingjing Wu
- promiscuous_enable
- promiscuous_disable
- allmulticast_enable
- allmulticast_disable
- mac_addr_add
- mac_addr_remove
- mac_addr_set
- vlan_filter_set
- vlan_offload_set
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 5 +
drivers/net/avf/avf.h
Signed-off-by: Wenzhuo Lu
---
MAINTAINERS | 1 +
config/common_base | 4 +
doc/guides/nics/features/avf.ini | 22 ++
drivers/net/avf/Makefile | 3 +
drivers/net/avf/avf_ethdev.c | 36 +-
drivers/net/avf/avf_log.h| 21 ++
drivers/net/
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
doc/guides/nics/features/avf.ini | 3 +++
drivers/net/avf/avf.h| 2 ++
drivers/net/avf/avf_ethdev.c | 51 +++-
drivers/net/avf/avf_vchnl.c | 38 +-
4 files cha
Adaptive Virtual Function (AVF) Driver is VF driver which supports for all
future Intel devices without requiring a VM update.
It promises the basic high speed connectivity. And since this happens to be an
adaptive VF driver, every new drop of the VF driver would add more and more
advanced featu
From: Jingjing Wu
Signed-off-by: Jingjing Wu
---
config/common_base | 5 +
drivers/net/Makefile| 1 +
drivers/net/avf/Makefile| 47
drivers/net/avf/avf.h | 187 ++
drivers/net/avf/avf_ethdev.c
From: Jingjing Wu
enable device and queue setup ops like:
- dev_configure
- dev_start
- dev_stop
- dev_close
- dev_infos_get
- rx_queue_start
- rx_queue_stop
- tx_queue_start
- tx_queue_stop
- rx_queue_setup
- rx_queue_release
- tx_queue_setup
- tx_queue_release
Signed-off-by: Jing
For vhost sample, the operation if (dev_info.max_rx_queues >
MAX_QUEUES) in the function port_init causes startup failure
when using X710(i40e driver). X710 requires that MAX_QUEUES
should be defined no less than 320, however it is defined as
128 currently.
Such checking is overkill and Removal do
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Wednesday, January 10, 2018 9:55 AM
> To: Dai, Wei ; Lu, Wenzhuo ;
> Wu, Jingjing ; Peng, Yuan
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH 1/2] app/testpmd: fix invalid rxq number
> setting
>
>
>
> > ---
> -Original Message-
> From: Zhang, Qi Z
> Sent: Wednesday, January 10, 2018 4:30 AM
> To: Xing, Beilei
> Cc: dev@dpdk.org; Wu, Jingjing ; Zhang, Qi Z
>
> Subject: [PATCH v3 00/24] net/i40e: update base code
>
> The patchset update i40e base code base on latest CID drop cid-
> i40e.201
If an invlaid number of RX or TX queues is configured from testpmd
command like "port config all rxq number" or "port config all txq number".
The global variable rxq or txq is updated by the invalid input.
This can cause testpmd crash. For example, if the maximum number of
RX or TX queues is 4, tes
If an invalid TX queue is configured from testpmd command
like "port config all txq number", the global variable txq
is updated by this invalid value. It may cause testpmd crash.
This patch restores its last correct value when an invalid
txq number configured is detected.
Fixes: ce8d561418d4 ("app
If an invalid RX queue is configured from testpmd command
like "port config all rxq number", the global variable rxq
is updated by this invalid value. It may cause testpmd crash.
This patch restores its last correct value when an invalid
rxq number configured is detected.
Fixes: ce8d561418d4 ("app
The way the application is written assumes there will be a transition phase
where few threads will have OLD ACL results for the packets that are currently
handled, but once those set is flushed out all the new set of packets will be
back to the active set. So the system will be consistent after
Update README file to specify the version of CID drop
Signed-off-by: Qi 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 59e76c216..247ba11d4 100644
--- a/drivers/net/i40e/
Rename virtchnl_vf_resource's vf_offload_flags to vf_cap_flags.
The new name is more generic, so more than just offloading
capabilities can be added.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
drivers/net/i40e/base/virtchnl.h| 4 ++--
drivers/net/i40e/i40e_ethd
When using GCC 6.3.0 and EXTRA_CFLAGS=-Og, the compiler is not smart
enough to see that when you have an integrated VF that just one of the
if statemets has to be true so that ntu is always set. Fix the way that
the code is for integrated VFs so that the compiler won't complain.
Fixes: 9783eb15eb9
This fix prevents errors or warnings while accessing unaligned 32-bit
data words on non-x86 platforms during getting link info from firmware.
Fixes: e8228f1a16b7 ("net/i40e/base: report supported link modes")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c |
Previous method for reading LLDP config was based on hard-coded offsets.
It happened to work, because of structured architecture of the NVM memory.
In the new approach, known as FLAT, we need to calculate the absolute
address, instead of using relative values. Needed defines for memory
location wer
The FW has the ability to return a critical error on every AQ command.
So add the new return type as critical error to sync with firmware.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 17 +
drivers/net/i40e/base/i40e_common.c | 2 ++
drivers/net/i40e/base/i4
Enhanced loopback AQ command to allow variety of loopback modes.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 21 +++--
drivers/net/i40e/base/i40e_common.c | 12
drivers/net/i40e/base/i40e_diag.c | 17 +++--
drivers/net/
Add new AQ command that help to inform software how advanced
rearrangement process is.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 22 ++
2 files changed, 23 insertions(+)
diff --git a/drivers/net/i40e
New control bits were defined for flat NVM structure.
One for pointing which NVM bank is currently used and
one used as indicator of structure type.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type
This fix solves an issue occurring while calling i40e_led_set function
from the driver with "blink" parameter set as TRUE. This call resulted
in Activity LED blinking instead of Link LED, which may lead to errors
in physically identyfying the port, since Activity LED may be blinking
for different r
This patch adds new I40E_NVMUPD_GET_AQ_EVENT state
to allow retrieval of AdminQ events as a result.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c| 2 +-
drivers/net/i40e/base/i40e_nvm.c | 125 +
drivers/net/i40e/base/i40e_prototype.h
Add preservation flags support on X722 devices for NVM update AdminQ
function wrapper. Add new parameter and handling to nvm update admin
queue function intended to allow nvmupdate tool to configure the
preservation flags in the AdminQ command.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i
1. Cleanup logical in __i40e_read_nvm_word and reuse it in
i40e_read_nvm_word.
2. Change couple functions to static so we can remove uncessary function
declarations
3. Cleanup logical in i40e_validate_nvm_checksum.
4. Add more debug information in PF reset
5. correct comments
6. Minor code style fi
NVM lock is only required at below situation:
1. its X722 device or
2. API version >= 1.5
or may have issue at firmware downgrade.
Fixes: c5846a125b26 ("net/i40e/base: fix NVM access interfering")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 6 ++
dr
Add new Adminq command i40e_aqc_opc_set_dcb_parameters that
helps to get DCB parameters in data structure i40e_aqc_set_dcb_parameters.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 12
drivers/net/i40e/base/i40e_common.c | 27 +++
Add Macro to idenfity 25G device by device ID
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_devids.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_devids.h
b/drivers/net/i40e/base/i40e_devids.h
index f4a878423..66ff1ccfc 100644
--- a/drivers/net/i40e
Introduce a helper function which can convert the AdminQ link speed
definition into a virtchnl definition. This can then be used by host
driver implementations in order to safely convert to the interface
recognized by the virtual functions.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_
Code refactory, wrap repeated code in function.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 202
1 file changed, 87 insertions(+), 115 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
Add byte swap commandwhen transferring data between memory and firmware
while using PHY register access functions. Endianness also need to be
handled correctly during these swaps.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4 ++--
drivers/net/i40e/base/i40e_common.c
Fix a bug that adminq spin lock is not be released before function
i40e_nvmupd_command returns.
Fixes: 5a2e46a3e405 ("net/i40e/base: refactor NVM update command processing")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 10 --
1 file changed, 8 inser
When the I2C is busy, the PHY reads are delayed. The firmware will
return EGAIN in these cases with an expectation that the SW will trigger
the reads again. This patch retries the operation for a maximum period
of 500ms
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 42 +++
The patchset update i40e base code base on latest CID drop
cid-i40e.2018.01.02.tar.gz, couple issues are fixed, include:
NVM lock issue, LED blink issue, LLDP configuration read issue
unaligned data issue on non-x86 platform and some compile issue
with GCC 6.3. Aslo a new AQ command that help softw
Add capability macros for 25G AOC/ACC PHYS.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index dca725afd..42b2d9166 100644
--- a/drivers/net/i40e/base/i
Add definations used for accessing and interrupting contents
of (Q)SFP module internal EEPROM memory.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_t
Add new PHY type I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP, it will be set
by firmware if device module does not meet the thermal requirements.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_adminq_cm
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z
> Sent: Wednesday, January 10, 2018 10:59 AM
> To: Zhao1, Wei; dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v4] net/i40e: move RSS to flow API
>
>
>
> > -Original Message-
> > From: Zhao1,
Rename virtchnl_vf_resource's vf_offload_flags to vf_cap_flags.
The new name is more generic, so more than just offloading
capabilities can be added.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
drivers/net/i40e/base/virtchnl.h| 4 ++--
drivers/net/i40e/i40e_pf.c
Update README file to specify the version of CID drop
Signed-off-by: Qi 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 59e76c216..247ba11d4 100644
--- a/drivers/net/i40e/
Previous method for reading LLDP config was based on hard-coded offsets.
It happened to work, because of structured architecture of the NVM memory.
In the new approach, known as FLAT, we need to calculate the absolute
address, instead of using relative values. Needed defines for memory
location wer
This fix prevents errors or warnings while accessing unaligned 32-bit
data words on non-x86 platforms during getting link info from firmware.
Fixes: e8228f1a16b7 ("net/i40e/base: report supported link modes")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c |
When using GCC 6.3.0 and EXTRA_CFLAGS=-Og, the compiler is not smart
enough to see that when you have an integrated VF that just one of the
if statemets has to be true so that ntu is always set. Fix the way that
the code is for integrated VFs so that the compiler won't complain.
Fixes: 9783eb15eb9
The FW has the ability to return a critical error on every AQ command.
So add the new return type as critical error to sync with firmware.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 17 +
drivers/net/i40e/base/i40e_common.c | 2 ++
drivers/net/i40e/base/i4
Enhanced loopback AQ command to allow variety of loopback modes.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 21 +++--
drivers/net/i40e/base/i40e_common.c | 12
drivers/net/i40e/base/i40e_diag.c | 17 +++--
drivers/net/
Add new AQ command that help to inform software how advanced
rearrangement process is.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
drivers/net/i40e/base/i40e_common.c | 22 ++
2 files changed, 23 insertions(+)
diff --git a/drivers/net/i40e
New control bits were defined for flat NVM structure.
One for pointing which NVM bank is currently used and
one used as indicator of structure type.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type
This fix solves an issue occurring while calling i40e_led_set function
from the driver with "blink" parameter set as TRUE. This call resulted
in Activity LED blinking instead of Link LED, which may lead to errors
in physically identyfying the port, since Activity LED may be blinking
for different r
Add preservation flags support on X722 devices for NVM update AdminQ
function wrapper. Add new parameter and handling to nvm update admin
queue function intended to allow nvmupdate tool to configure the
preservation flags in the AdminQ command.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i
This patch adds new I40E_NVMUPD_GET_AQ_EVENT state
to allow retrieval of AdminQ events as a result.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c| 2 +-
drivers/net/i40e/base/i40e_nvm.c | 125 +
drivers/net/i40e/base/i40e_prototype.h
Introduce a helper function which can convert the AdminQ link speed
definition into a virtchnl definition. This can then be used by host
driver implementations in order to safely convert to the interface
recognized by the virtual functions.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_
Add new Adminq command i40e_aqc_opc_set_dcb_parameters that
helps to get DCB parameters in data structure i40e_aqc_set_dcb_parameters.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 12
drivers/net/i40e/base/i40e_common.c | 27 +++
1. Cleanup logical in __i40e_read_nvm_word and reuse it in
i40e_read_nvm_word.
2. Change couple functions to static so we can remove uncessary function
declarations
3. Cleanup logical in i40e_validate_nvm_checksum.
4. Add more debug information in PF reset
5. correct comments
6. Minor code style fi
Code refactory, wrap repeated code in function.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 202
1 file changed, 87 insertions(+), 115 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
NVM lock is only required at below situation:
1. its X722 device or
2. API version >= 1.5
or may have issue at firmware downgrade.
Fixes: c5846a125b26 ("net/i40e/base: fix NVM access interfering")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq.c | 6 ++
dr
Add Macro to idenfity 25G device by device ID
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_devids.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_devids.h
b/drivers/net/i40e/base/i40e_devids.h
index f4a878423..66ff1ccfc 100644
--- a/drivers/net/i40e
Add byte swap commandwhen transferring data between memory and firmware
while using PHY register access functions. Endianness also need to be
handled correctly during these swaps.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 4 ++--
drivers/net/i40e/base/i40e_common.c
When the I2C is busy, the PHY reads are delayed. The firmware will
return EGAIN in these cases with an expectation that the SW will trigger
the reads again. This patch retries the operation for a maximum period
of 500ms
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_common.c | 42 +++
Add definations used for accessing and interrupting contents
of (Q)SFP module internal EEPROM memory.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_t
Fix a bug that adminq spin lock is not be released before function
i40e_nvmupd_command returns.
Fixes: 5a2e46a3e405 ("net/i40e/base: refactor NVM update command processing")
Cc: sta...@dpdk.org
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_nvm.c | 10 --
1 file changed, 8 inser
Add capability macros for 25G AOC/ACC PHYS.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_type.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base/i40e_type.h
index dca725afd..42b2d9166 100644
--- a/drivers/net/i40e/base/i
The patchset update i40e base code base on latest CID drop
cid-i40e.2018.01.02.tar.gz, couple issues are fixed, include:
NVM lock issue, LED blink issue, LLDP configuration read issue
unaligned data issue on non-x86 platform and some compile issue
with GCC 6.3. Aslo a new AQ command that help softw
Add new PHY type I40E_PHY_TYPE_NOT_SUPPORTED_HIGH_TEMP, it will be set
by firmware if device module does not meet the thermal requirements.
Signed-off-by: Qi Zhang
---
drivers/net/i40e/base/i40e_adminq_cmd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_adminq_cm
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shweta Choudaha
> Sent: Monday, November 6, 2017 10:25 PM
> To: dev@dpdk.org
> Cc: Shweta Choudaha
> Subject: [dpdk-dev] [PATCH v2 2/2] net/ixgbe : backplane port MDIO support
>
> From: Shweta Choudaha
>
> Init
Hi Ferruh,
> -Original Message-
> From: Yigit, Ferruh
> Sent: Wednesday, January 10, 2018 1:58 AM
> To: Lu, Wenzhuo ; dev@dpdk.org
> Cc: Wu, Jingjing
> Subject: Re: [dpdk-dev] [PATCH v5 02/14] net/avf: initialization of avf PMD
>
> On 1/8/2018 5:13 AM, Wenzhuo Lu wrote:
> > From: Jingjin
> -Original Message-
> From: Zhao1, Wei
> Sent: Wednesday, January 10, 2018 10:10 AM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z ; Zhao1, Wei
> Subject: [PATCH v4] net/i40e: move RSS to flow API
>
> Rte_flow actually defined to include RSS, but till now, RSS is out of
> rte_flow.
> This patch
Hi Kirill,
> -Original Message-
> From: Lu, Wenzhuo
> Sent: Wednesday, January 10, 2018 8:58 AM
> To: 'Kirill Rybalchenko' ; dev@dpdk.org
> Cc: Rybalchenko, Kirill ; Chilikin, Andrey
> ; Xing, Beilei ; Wu,
> Jingjing
> Subject: RE: [dpdk-dev] [PATCH 1/2] app/testpmd: add raw flowtype mode
>Yes, you'll need some sort of synchronization.
>Lock (or rwlock) is one option, but as build could take quite long time -
>probably not the best one.
>Another way - have a struct cthat ontains pointers to 2 ctx and an index for
>active one.
>Then you can do classify() on active one while doing a
For virtio legacy device, testpmd startup fails when using uio_pci_generic.
The issue is caused by invoking the function pci_ioport_map. The correct
value of intr_handle.type is already set before calling it, we should avoid
overwriting the default value "RTE_INTR_HANDLE_UNKNOWN" in this function.
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing
> Sent: Wednesday, January 10, 2018 10:02 AM
> To: Mcnamara, John
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v3] doc: add i40e update
>
> Update release note to declare MPLSoUDP/MPLSoGRE/ GTP-U/G
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Wednesday, January 10, 2018 9:57 AM
> To: Wu, Yanglong; dev@dpdk.org; Zhang, Helin
> Subject: RE: [PATCH v6] net/ixgbe: fix tx_q check failed on PF
>
>
>
> > -Original Message-
> > From: Wu, Yanglong
> > Sent: Wednesday,
Rte_flow actually defined to include RSS,
but till now, RSS is out of rte_flow.
This patch is to move i40e existing RSS to rte_flow.
This patch also enable queue region configuration
using flow API for i40e.
Signed-off-by: Wei Zhao
---
v2:
-change some code style.
v3:
-rebase code and add more
1 - 100 of 404 matches
Mail list logo