[dpdk-dev] [PATCH v3 04/15] net/i40e/base: update FW API version to 1.12

2020-09-02 Thread Guinan Sun
Upcoming FW increment API version to 1.12 due to new bit and new fields in the Replace Cloud Filters AQ command. Signed-off-by: Jacek Naczyk Signed-off-by: Guinan Sun Acked-by: Jeff Guo --- drivers/net/i40e/base/i40e_adminq_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH v3 07/15] net/i40e/base: replace AQ command for NVM update

2020-09-02 Thread Guinan Sun
Add AQ command "NVM update in process" to replace the original AQ command "NVM progress". Signed-off-by: Jaroslaw Ilgiewicz Signed-off-by: Guinan Sun Acked-by: Jeff Guo --- drivers/net/i40e/base/i40e_adminq_cmd.h | 12 +- drivers/net/i40e/base/i40e_common.c | 53 +++

[dpdk-dev] [PATCH v3 08/15] net/i40e/base: add VLAN field for input set

2020-09-02 Thread Guinan Sun
Add VLAN bit used during flow director programming, as a part of input set for HW. Signed-off-by: Przemyslaw Patynowski Signed-off-by: Guinan Sun --- drivers/net/i40e/base/i40e_type.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/bas

[dpdk-dev] [PATCH v3 09/15] net/i40e/base: enable pipe monitor thresholds

2020-09-02 Thread Guinan Sun
Enable several registers and defines for software controlled DCB, particularly around the receive pipe monitor configuration which is necessary to help ports achieve the right throughput under load in several different configurations. Signed-off-by: Jesse Brandeburg Signed-off-by: Guinan Sun ---

[dpdk-dev] [PATCH v3 10/15] net/i40e/base: fix missing function header arguments

2020-09-02 Thread Guinan Sun
Some arguments in function headers were forgotten, and found by automated testing. Fix them by adding the argument descriptions. Fixes: 0d9d27bb8684 ("i40e/base: prepare local LLDP MIB in TLV") Cc: sta...@dpdk.org Signed-off-by: Jesse Brandeburg Signed-off-by: Guinan Sun --- drivers/net/i40e/b

[dpdk-dev] [PATCH v3 11/15] net/i40e/base: add support for Minimum Rollback Revision

2020-09-02 Thread Guinan Sun
add support for Minimum Rollback Revision. Signed-off-by: Przemyslaw Ciesielski Signed-off-by: Guinan Sun --- drivers/net/i40e/base/i40e_adminq_cmd.h | 18 +++ drivers/net/i40e/base/i40e_common.c | 29 + drivers/net/i40e/base/i40e_prototype.h | 4

[dpdk-dev] [PATCH v3 13/15] net/i40e/base: add EEE LPI status check for X722 adapters

2020-09-02 Thread Guinan Sun
Add reading LPI (low power idle) status for supported X722 devices. If adapter's PHY supports EEE in current mode (device ID + link speed), LPI status is read from PHY Clause 45 PCS status register. Signed-off-by: Dawid Lukwinski Signed-off-by: Guinan Sun --- drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH v3 12/15] net/i40e/base: fix Rx only mode for unicast promisc on VLAN

2020-09-02 Thread Guinan Sun
Set promiscuous mode to rx traffic only if VSI has VLANs configured. Rename misleading PROMISC_TX bit to proper name. Added I40E_AQC_SET_VSI_PROMISC_RX_ONLY during VSI unicast promiscuous mode configuration with port VLAN. Aligned unicast promiscuous with VLAN to the one without VLAN. Previously ot

[dpdk-dev] [PATCH v3 15/15] net/i40e/base: update version

2020-09-02 Thread Guinan Sun
Update base code version in readme. Signed-off-by: Guinan Sun Acked-by: Jeff Guo --- 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 6baca4360..6af299311 100644 --- a/drivers/net/i

[dpdk-dev] [PATCH v3 14/15] net/i40e/base: fix PHY config param when enabling EEE

2020-09-02 Thread Guinan Sun
The i40e_enable_eee function did not copy phy_type_ext field from current PHY configuration retrieved with Get PHY Abilities AQ. It caused a misconfiguration of the PHY on devices supporting 2.5 and 5G speeds and prevented establishing link when only those speeds were selected for advertisement. F

[dpdk-dev] [PATCH] security: allow application to specify UDP ports to PMD

2020-09-02 Thread Tejasree Kondoj
Add UDP source and destination ports in ipsec_xform to allow application to specify ports to be used for IPsec UDP encapsulation as they are dynamically changed by NAT in between. Also adding an extra flag to indicate whether PMD needs to perform encapsulation header verification in case of inbound

Re: [dpdk-dev] [PATCH 2/2] build: find max lcore programmatically

2020-09-02 Thread Juraj Linkeš
> -Original Message- > From: dev On Behalf Of Dharmik Thakkar > Sent: Wednesday, August 26, 2020 6:56 AM > To: Jerin Jacob > Cc: tho...@monjalon.net; dpdk-dev ; nd > Subject: Re: [dpdk-dev] [PATCH 2/2] build: find max lcore programmatically > > > > > On Aug 25, 2020, at 11:47 PM, Je

Re: [dpdk-dev] [RFC v1 0/2] Add device emulation support in DPDK

2020-09-02 Thread Xia, Chenbo
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Thursday, September 3, 2020 5:11 AM > To: Xia, Chenbo > Cc: dev@dpdk.org; Ding, Xuan ; Lu, Xiuchun > ; Liang, Cunming ; Liu, > Changpeng ; Wang, Zhihong > ; Stephen Hemminger ; > Richardson, Bruce ; Burakov, Anatoly > ; davi

Re: [dpdk-dev] [PATCH] net/bnxt: fix variable size of port id

2020-09-02 Thread Xiao, QimaiX
Tested-by: Xiao, Qimai Regards, Xiao Qimai > -Original Message- > From: dev On Behalf Of Chenbo Xia > Sent: Wednesday, August 5, 2020 1:42 AM > To: dev@dpdk.org > Cc: ajit.khapa...@broadcom.com; somnath.ko...@broadcom.com; > kishore.padmana...@broadcom.com; > venkatkumar.duvv...@broadco

<    1   2