RE: [EXT] atlantic macsec API's

2023-08-14 Thread Igor Russkikh
Hi Stephen, > The DPDK Atlantic driver has 6 API's marked as experimental. > These API's were added back in 19.05 release. > These API's should either be marked as stable or removed in 23.11 release. > What do you want to do? Unfortunately to my knowledge, this project is no more supported by Ma

Re: [EXT] [PATCH 01/33] doc: update atlantic guide

2023-03-22 Thread Igor Russkikh
> - Move "Supported Chipsets and NICs" section to top > - Fix section indentation > - Remove empty sections > > Signed-off-by: Ferruh Yigit Thanks for taking care, Ferruh! Reviewed-by: Igor Russkikh

Re: [EXT] Re: [PATCH v1 1/1] net/qede: fix redundant condition in debug code

2022-01-10 Thread Igor Russkikh
92b ("net/qede: add infrastructure for debug data >> collection") >> Cc: rm...@marvell.com > > Hi @Rasesh Mody @Devendra Singh Rawat @Igor Russkikh > > Please review this patch to merge. > > >> >> Signed-off-by: Anatoly Burakov Reviewed-by: Igor Russkikh Thanks!

[dpdk-dev] [PATCH 2/2] maint changes for marvell qlogic drivers

2021-07-27 Thread Igor Russkikh
Adding Marvell prefix for qlogic drivers. Removing myself as I'm no longer responsible for qede driver Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4de75

[dpdk-dev] [PATCH 1/2] fix Marvell maintainer email for atlantic

2021-07-27 Thread Igor Russkikh
Fixing ex-Aquantia email - it is now part of Marvell. Removing Pavel Belous email - he is not in company now. Adding Marvell tree to run this through. Signed-off-by: Igor Russkikh --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [dpdk-dev] [EXT] [PATCH 2/2] eal: handle compressed firmwares

2021-06-02 Thread Igor Russkikh
barchive is set as an optional dependency: without libarchive, a > runtime warning is emitted so that users know there is a compressed > firmware. > > Windows implementation is left as an empty stub. > > Signed-off-by: David Marchand for QEDE, Reviewed-by: Igor Russkikh Deven

Re: [dpdk-dev] [EXT] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread Igor Russkikh
On 6/2/2021 1:05 PM, David Marchand wrote: > On Wed, Jun 2, 2021 at 12:38 PM Igor Russkikh wrote: >> We (Marvell QED) already provide packed version of FW in linux-firmware: >> >> But thats a custom name, and zlib. > > Whatever binary blob is available in linux

Re: [dpdk-dev] [EXT] [PATCH 0/2] Support compressed firmwares

2021-06-02 Thread Igor Russkikh
> Fedora 34 only provides compressed firmwares. > > Introduce an internal driver helper to handle transparently compression. > > I chose libarchive for decompressing as it seems widely available and > DPDK had used it in the past. > > Windows support only matters for net/ice and firmware loadi

Re: [dpdk-dev] [EXT] Re: [dpdk-users] DPDK issue with Marvell NIC QLogic Corp. FastLinQ QL41000

2021-06-01 Thread Igor Russkikh
Adding my team members for that. Strangely, even if by any reason we would get OOM condition - driver should reject load gracefully. Is there any possibility FW image could be corrupted/of bad size? Regards, Igor On 5/26/2021 11:57 AM, Varghese, Vipin wrote: > External Email > > --

[dpdk-dev] [PATCH] fix Marvell maintainer email for atlantic

2021-05-25 Thread Igor Russkikh
family, so keeping it. Signed-off-by: Igor Russkikh Signed-off-by: Rasesh Mody --- MAINTAINERS | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5877a16971..c25959b546 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -599,9 +599,8 @@ F

Re: [dpdk-dev] [EXT] [PATCH 0/8] Optimize qede use of rx/tx_entries

2021-03-22 Thread Igor Russkikh
- > drivers/net/qede/qede_rxtx.h | 21 + > 2 files changed, 81 insertions(+), 88 deletions(-) Series reviewed, for the series Acked-by: Igor Russkikh One checkpatch warn I see in patchwork output, probably worth fixing: ERROR:POINTER_LOCATION: "(foo**)" should be "

Re: [dpdk-dev] [EXT] Re: [PATCH v2 0/2] qede: 2020-02 minor fixes

2021-03-22 Thread Igor Russkikh
>> Patch Series ACKed, >> Acked-by: Devendra Singh Rawat > > Fixed the check-git-log.sh issues and Applied to > dpdk-next-net-mrvl/for-main. Thanks Thanks, Jerin, for taking care of that! Igor

Re: [dpdk-dev] [PATCH 2/2] qede: make driver accept bigger rss tables

2021-03-19 Thread Igor Russkikh
> IMO, it will be better if the log message also states that RSS key is trimmed > to 'len' size. Resent v2, thanks. Devendra, please take these two patches into our internal codebase as well. Igor

[dpdk-dev] [PATCH v2 2/2] qede: make driver accept bigger rss tables

2021-03-19 Thread Igor Russkikh
trace message. CC: sta...@dpdk.org Signed-off-by: Igor Russkikh --- drivers/net/qede/qede_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index ab5f5b106..bfd38a977 100644 --- a/drivers/net/qede

[dpdk-dev] [PATCH v2 1/2] qede: reduce trace verbosity level

2021-03-19 Thread Igor Russkikh
Signed-off-by: Igor Russkikh --- drivers/net/qede/base/ecore_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c index 4207b1853..2c4aac941 100644 --- a/drivers/net/qede/base/ecore_int.c +++ b/drivers/net

[dpdk-dev] [PATCH v2 0/2] qede: 2020-02 minor fixes

2021-03-19 Thread Igor Russkikh
Two small fixes after customer feedback. v2: improved abit log message Igor Russkikh (2): qede: reduce trace verbosity level qede: make driver accept bigger rss tables drivers/net/qede/base/ecore_int.c | 2 +- drivers/net/qede/qede_ethdev.c| 6 -- 2 files changed, 5 insertions

Re: [dpdk-dev] [EXT] Re: [PATCH 0/8] Optimize qede use of rx/tx_entries

2021-03-10 Thread Igor Russkikh
>>> Cc: rm...@marvell.com >>> Cc: shsha...@marvell.com> >>> Hi Rasesh, Shahed >>> Could you review this series from Balazs? >> >> Shahed is not within marvell, adding Devendra from our DPKD support team. > > Could you update the MAINTAINERS to reflect that status? Sure, done, just sent! Igor

[dpdk-dev] [PATCH] fix maintainers for qede driver

2021-03-10 Thread Igor Russkikh
Removing Shahed, adding me and Devendra Signed-off-by: Igor Russkikh --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e341bc81d..0f5e745cd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -866,7 +866,8 @@ F: doc/guides/nics

Re: [dpdk-dev] [EXT] Re: [PATCH 0/8] Optimize qede use of rx/tx_entries

2021-03-09 Thread Igor Russkikh
> On Fri, Mar 5, 2021 at 6:44 PM Balazs Nemeth wrote: >> >> This patch set optimizes qede_{rx,tx}_entry and introduces >> rte_pktmbuf_free_bulk in qede_process_tx_compl. The overall performance >> improvement depends on the use-case; in a physical-virtual-physical test >> on a ThunderX2 99xx sy

[dpdk-dev] [PATCH 2/2] qede: make driver accept bigger rss tables

2021-02-21 Thread Igor Russkikh
trace message. CC: sta...@dpdk.org Signed-off-by: Igor Russkikh --- drivers/net/qede/qede_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index ab5f5b106..7363d98f2 100644 --- a/drivers/net/qede

[dpdk-dev] [PATCH 1/2] qede: reduce trace verbosity level

2021-02-21 Thread Igor Russkikh
On some hardware units it was found this trace is flooding the output, making any dpdk interactive usage kind of problematic. It is only informational, without any consequences handling, so reducing it to verbose from explicit notice level. CC: sta...@dpdk.org Signed-off-by: Igor Russkikh

[dpdk-dev] [PATCH 0/2] qede: 2020-02 minor fixes

2021-02-21 Thread Igor Russkikh
Two small fixes after customer feedback. Igor Russkikh (2): qede: reduce trace verbosity level qede: make driver accept bigger rss tables drivers/net/qede/base/ecore_int.c | 2 +- drivers/net/qede/qede_ethdev.c| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.25.1

Re: [dpdk-dev] [EXT] Re: [PATCH v2] app/testpmd: tx pkt clones parameter in flowgen

2021-01-29 Thread Igor Russkikh
> > Signed-off-by: Igor Russkikh > > Reviewed-by: Ferruh Yigit > > Also a testpmd command to set the 'flowgen-clones' can be useful, for > interactive mode. If you have time for it, can you please work on it too? > > > Applied to dpdk-next-net/m

[dpdk-dev] [PATCH v2] app/testpmd: tx pkt clones parameter in flowgen

2021-01-21 Thread Igor Russkikh
warning on uninit var v1: - fixes on Ferruh's comments rfc v2: http://patchwork.dpdk.org/patch/78800/ - increment ref counter for each mbuf pointer copy rfc v1: http://patchwork.dpdk.org/patch/78674/ Signed-off-by: Igor Russkikh --- app/test-pmd/flowgen.c

Re: [dpdk-dev] [EXT] Re: [PATCH] app/testpmd: tx pkt clones parameter in flowgen

2021-01-19 Thread Igor Russkikh
>> Doing similar measurements per core, I see one core can do >> 6.9MPPS (without clones) vs 11MPPS (with clones) >> >> Verified on Marvell qede and atlantic PMDs. > > Ubuntu 18.04 gcc complains: > https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ovsrobot_dpdk_runs_1713302522-3Fchec

[dpdk-dev] [PATCH] app/testpmd: tx pkt clones parameter in flowgen

2021-01-16 Thread Igor Russkikh
: - fixes on Ferruh's comments rfc v2: http://patchwork.dpdk.org/patch/78800/ - increment ref counter for each mbuf pointer copy rfc v1: http://patchwork.dpdk.org/patch/78674/ Signed-off-by: Igor Russkikh --- app/test-pmd/flowgen.c| 105 ++ app/tes

Re: [dpdk-dev] [PATCH v2] net/qede: fix regression introduced by b10231aed1ed

2021-01-04 Thread Igor Russkikh
> When calling rte_eth_promiscuous_enable(port_id) followed by > rte_eth_allmulticast_enable(port_id), the port is not in promisc mode > anymore. This patch ensures that promisc mode takes precedence over > allmulticast mode fixing the regression introduced by b10231aed1ed. > > Signed-off-by: Ba

Re: [dpdk-dev] Potential regression introduced by commit b10231aed1edb9

2020-12-29 Thread Igor Russkikh
Hi Balazs, This could be a regression for your specific usecase. The commit itself tried to fix promisc as is. Adding more people to comment/investigate here. Devendra, could it be that we don't consider subsequent calls of promisc_enabled + allmulti_enable ? On 18/12/2020 2:34 pm, Balazs Neme

Re: [dpdk-dev] [EXT] Re: [RFC PATCH v2] app/testpmd: tx pkt clones parameter in flowgen

2020-10-12 Thread Igor Russkikh
>> Here instead of recreating each packet separately, we use clones counter >> to resend the same mbuf to the line multiple times. >> > Do you have any numbers on how much performance improvement gained? Hi Ferruh, Yes, I'll post that in v1. In general, on our 100G device in default configurati

Re: [dpdk-dev] [EXT] [PATCH v6 03/14] doc: remove references to make from NICs guides

2020-10-09 Thread Igor Russkikh
onfiguration Information > -^ > - > -- ``CONFIG_RTE_LIBRTE_ATLANTIC_PMD`` (default ``y``) > > Application Programming Interface > ----- For atlantic, Reviewed-by: Igor Russkikh > diff --git a/doc/guides/nics/qede.rst

[dpdk-dev] [RFC PATCH v2] app/testpmd: tx pkt clones parameter in flowgen

2020-09-25 Thread Igor Russkikh
to reference counting inside of mbuf. Verified on Marvell qede and atlantic PMDs. v2: increment ref counter for each mbuf pointer copy Signed-off-by: Igor Russkikh --- app/test-pmd/flowgen.c| 101 ++ app/test-pmd/parameters.c | 12 +++ app

Re: [dpdk-dev] [EXT] Re: [RFC PATCH] app/testpmd: tx pkt clones parameter in flowgen

2020-09-25 Thread Igor Russkikh
>> +} else { >> +nb_clones--; >> +} >> +pkts_burst[nb_pkt] = pkt; >> >> next_flow = (next_flow + 1) % cfg_n_flows; >> } > > > This doesn't look safe. You can't just send same mbuf N times without > incrementing > the re

[dpdk-dev] [RFC PATCH] app/testpmd: tx pkt clones parameter in flowgen

2020-09-24 Thread Igor Russkikh
to reference counting inside of mbuf. Verified on Marvell qede and atlantic PMDs. Signed-off-by: Igor Russkikh --- app/test-pmd/flowgen.c| 100 ++ app/test-pmd/parameters.c | 12 app/test-pmd/testpmd.c| 1 + app/test

Re: [dpdk-dev] [EXT] Re: [PATCH v4 1/6] drivers: add generic API to find PCI extended cap

2020-09-23 Thread Igor Russkikh
gt; > functions/defines implemented by drivers to find extended PCI > > > > capabilities. > > > > > > > > Signed-off-by: Manish Chopra > > > > Signed-off-by: Igor Russkikh > > > > > > LGTM, > > > Reviewed-by: Gaetan Rivet &g

Re: [dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close

2020-09-16 Thread Igor Russkikh
eration. > > Signed-off-by: Thomas Monjalon Thanks, Acked-by: Igor Russkikh I'll verify this soon on HW. Igor

Re: [dpdk-dev] [EXT] [PATCH] net/qede/base: add missing licence

2020-09-11 Thread Igor Russkikh
Thanks Ferruh, > Adding BSD-3 SPDX license tag. > > Fixes: 519438f7c17f ("net/qede/base: re-arrange few structures for DDC") > Cc: sta...@dpdk.org > > Reported-by: Stephen Hemminger > Signed-off-by: Ferruh Yigit > --- > Cc: Jerin Jacob Acked-by: Igor Russkikh

Re: [dpdk-dev] [PATCH 2/3] drivers: use RTE_DIM instead of ARRAY_SIZE

2019-10-11 Thread Igor Russkikh
> > [snip] > >>   drivers/net/sfc/base/ef10_ev.c    |  4 +-- >>   drivers/net/sfc/base/ef10_filter.c    | 12 >>   drivers/net/sfc/base/ef10_mac.c   | 18 +-- >>   drivers/net/sfc/base/ef10_nic.c   |  4 +-- >>   drivers/net/sfc/base/ef1

Re: [dpdk-dev] [PATCH] net/atlantic: get rid of double declaration of dev info get

2019-09-02 Thread Igor Russkikh
On 01.09.2019 17:36, Andrew Rybchenko wrote: > From: Ivan Ilchenko > > atl_dev_info_get() is declared twice in atl_ethdev.c. > Delete one of these declararions. > > Fixes: bb42aa9ffe4e ("net/atlantic: configure device start/stop") > Cc: sta...@dpdk.org > > Signed-off-by: Ivan Ilchenko > Sign

[dpdk-dev] [RFC 5/5] net/atlantic: macsec security context draft

2019-05-31 Thread Igor Russkikh
--- drivers/net/atlantic/atl_ethdev.c | 116 ++ drivers/net/atlantic/meson.build | 1 + 2 files changed, 117 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index c9c1795a1639..b6fcf36f0f27 100644 --- a/drivers/net/a

[dpdk-dev] [RFC 4/5] app/testpmd: macsec: update set sc command with new interface

2019-05-31 Thread Igor Russkikh
--- app/test-pmd/cmdline.c | 40 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index af7c2853fd2c..1bcf63e31ee3 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -14083,6 +14

[dpdk-dev] [RFC 3/5] app/testpmd: macsec off command

2019-05-31 Thread Igor Russkikh
draft on how macsec off command will looks like Signed-off-by: Igor Russkikh --- app/test-pmd/cmdline.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index dbee3d958c2e..af7c2853fd2c 100644 --- a/app

[dpdk-dev] [RFC 2/5] app/testpmd: macsec on command draft via security context

2019-05-31 Thread Igor Russkikh
commands structure the same for now and will redesign it in later commits. Signed-off-by: Igor Russkikh --- app/test-pmd/cmdline.c | 54 +++--- 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index

[dpdk-dev] [RFC 1/5] security: MACSEC infrastructure data declarations

2019-05-31 Thread Igor Russkikh
atistics. The hard thing is that stats are often available per SC/SA, a special API is required to fetch that. Signed-off-by: Igor Russkikh --- lib/librte_security/meson.build| 2 +- lib/librte_security/rte_security.h | 115 - 2 files changed, 113 insertio

Re: [dpdk-dev] [PATCH] net/ixgbe: 10GBASE-T SFP+ copper support

2019-05-14 Thread Igor Russkikh
>>> TABLE 5-3 TRANSCEIVER COMPLIANCE CODES >>> 10G Ethernet Compliance Codes >>> 3 7 10G Base-ER >>> 3 6 10G Base-LRM >>> 3 5 10G Base-LR >>> 3 4 10G Base-SR >>> Infiniband Compliance Codes >>> 3 3 1X SX >>

Re: [dpdk-dev] [PATCH 00/11] Aquantia atlantic bugfixes

2019-05-13 Thread Igor Russkikh
> > Hi - some of these that are fixes will apply on 18.11 stable branch with > a little of rebasing, some will not. It will be cleaner to take the > fixes as a series. Can you send backports for the series for the 18.11 > branch, or let me know if they are not needed. Hi Kevin, I'll backport the

Re: [dpdk-dev] [PATCH] net/ixgbe: 10GBASE-T SFP+ copper support

2019-05-06 Thread Igor Russkikh
>>> >>> The hw->allow_unsupported_sfp is used too late in >>> https://git.dpdk.org/next/dpdk-next-net-intel/tree/drivers/net/ixgbe/b >>> ase/ixgbe_phy.c#n1530 And if we've already got out earlier in >>> https://git.dpdk.org/next/dpdk-next-net-intel/tree/drivers/net/ixgbe/b >>> ase/ixgbe_phy.c#n150

[dpdk-dev] [PATCH 08/11] net/atlantic: flow control settings synchronization on rx

2019-04-29 Thread Igor Russkikh
flow control configuration") cc: sta...@dpdk.org Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 24 +++ drivers/net/atlantic/atl_types.h | 1 + drivers/net/atlantic/hw_atl/hw_atl_b0.c | 6 + d

[dpdk-dev] [PATCH 11/11] net/atlantic: extra err check

2019-04-29 Thread Igor Russkikh
Found by coverity scan - dead code Coverity issue: 337665 Fixes: 7943ba05f67c ("net/atlantic: add link status and interrupt management") Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/atlantic/atl_e

[dpdk-dev] [PATCH 10/11] net/atlantic: typo on args check

2019-04-29 Thread Igor Russkikh
Found by coverity scan, two pointer args should be not zero checked Coverity issue: 337929 Fixes: 2f40244b39ba ("net/atlantic: implement MACsec firmware interface") Signed-off-by: Igor Russkikh --- drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 2 +- 1 file changed, 1 inser

[dpdk-dev] [PATCH 06/11] net/atlantic: validity check for eeprom dev address

2019-04-29 Thread Igor Russkikh
Clients may not fillin magic field, thus causing garbage to be passed as a device addr. Limit that to maximum SMbus address. Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers

[dpdk-dev] [PATCH 03/11] net/atlantic: bad indentation

2019-04-29 Thread Igor Russkikh
Make indentation correct. No functional impact. Signed-off-by: Igor Russkikh --- drivers/net/atlantic/hw_atl/hw_atl_utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils.c b/drivers/net/atlantic/hw_atl/hw_atl_utils.c index

[dpdk-dev] [PATCH 07/11] net/atlantic: bad logic with offsets talking with firmware

2019-04-29 Thread Igor Russkikh
.@dpdk.org Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/hw_atl/hw_atl_utils.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils.c b/drivers/net/atlantic/hw_atl/hw_atl_utils.c index 19

[dpdk-dev] [PATCH 09/11] net/atlantic: use capability bits to detect eeprom access

2019-04-29 Thread Igor Russkikh
From: Pavel Belous Its better to use capability bits FW provides to detect whether firmware has APIs for EEPROM access. Before that explicit FW version comparison was used and that may cause conflicts. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/hw_atl

[dpdk-dev] [PATCH 01/11] net/atlantic: enable broadcast traffic

2019-04-29 Thread Igor Russkikh
Broadcast was not correctly and fully initialized Signed-off-by: Igor Russkikh Fixes: 7906661edac6 ("net/atlantic: add b0 hardware layer") cc: sta...@dpdk.org --- drivers/net/atlantic/hw_atl/hw_atl_b0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/atlantic/hw_atl

[dpdk-dev] [PATCH 02/11] net/atlantic: extra line at eof

2019-04-29 Thread Igor Russkikh
Remove extra empty line at EOF Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_rxtx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/atlantic/atl_rxtx.c b/drivers/net/atlantic/atl_rxtx.c index f1519594adad..fe0077044097 100644 --- a/drivers/net/atlantic/atl_rxtx.c

[dpdk-dev] [PATCH 05/11] net/atlantic: fix max eeprom size

2019-04-29 Thread Igor Russkikh
Maximum size should be 256 bytes. Move declaration to the top of the file Fixes: ce4e8d418097 ("net/atlantic: implement EEPROM get/set") Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous cc: sta...@dpdk.org --- drivers/net/atlantic/atl_ethdev.c | 3 ++- 1 file changed, 2

[dpdk-dev] [PATCH 04/11] net/atlantic: eeprom get/set should consider offset

2019-04-29 Thread Igor Russkikh
t;net/atlantic: implement EEPROM get/set") Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 7 +- drivers/net/atlantic/atl_types.h | 2 +- drivers/net/atlantic/hw_atl/hw_atl_utils.h| 11 +-- .../net/atlan

[dpdk-dev] [PATCH 00/11] Aquantia atlantic bugfixes

2019-04-29 Thread Igor Russkikh
This patchset contains various bugfixes found during verification and integration testing. Most notable is eeprom access cleanup, fix for broadcast filter, flow control logic tracking, some code style cleanups. Igor Russkikh (7): net/atlantic: enable broadcast traffic net/atlantic: extra

Re: [dpdk-dev] [PATCH v3 0/6] add MACSEC hw offload to atlantic PMD

2019-04-18 Thread Igor Russkikh
Hello Ferruh, >> Pavel Belous (5): >> net/atlantic: macsec hardware structures declaration >> net/atlantic: enable macsec configuration >> net/atlantic: macsec firmware interface >> net/atlantic: interrupt handling and macsec configuration >> net/atlantic: implement macsec statistics >

[dpdk-dev] [PATCH] net/atlantic: release note on macsec feature

2019-04-18 Thread Igor Russkikh
Signed-off-by: Igor Russkikh --- doc/guides/rel_notes/release_19_05.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19_05.rst index dbdf07a0c05b..94d91bc5d311 100644 --- a/doc/guides/rel_notes/release_19_05.rst

[dpdk-dev] [PATCH v3 6/6] net/atlantic: bump internal driver version

2019-04-18 Thread Igor Russkikh
Version is synced with internal Aquantia's driver versioning Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/atlantic/atl_common.h b/drivers/net/atlantic/atl_com

[dpdk-dev] [PATCH v3 5/6] net/atlantic: implement macsec statistics

2019-04-18 Thread Igor Russkikh
From: Pavel Belous We add extra xstat fields to include macsec counters and stats Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 82 +-- 1 file changed, 77 insertions(+), 5 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH v3 3/6] net/atlantic: macsec firmware interface

2019-04-18 Thread Igor Russkikh
From: Pavel Belous Implementation of firmware interface for macsec configuration. Structure with config data is written into FW memory, then we trigger FW to execute the request and wait for result. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v3 4/6] net/atlantic: interrupt handling and macsec configuration

2019-04-18 Thread Igor Russkikh
the upper layers. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 189 -- drivers/net/atlantic/atl_ethdev.h | 2 +- 2 files changed, 180 insertions(+), 11 deletions(-) diff --git a/drivers/net/atlantic/atl_ethdev.c b

[dpdk-dev] [PATCH v3 1/6] net/atlantic: macsec hardware structures declaration

2019-04-18 Thread Igor Russkikh
From: Pavel Belous Here we define hardware and software configuration structures for macsec interface. MACSEC itself is implemented in Phy module, but its configuration is done via firmware interface Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic

[dpdk-dev] [PATCH v3 2/6] net/atlantic: enable macsec configuration

2019-04-18 Thread Igor Russkikh
API wrappers. Also update documentation with feature matrix for the enabled feature. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- doc/guides/nics/atlantic.rst | 6 + doc/guides/nics/features/atlantic.ini | 1 + drivers/net/atlantic/Makefile

[dpdk-dev] [PATCH v3 0/6] add MACSEC hw offload to atlantic PMD

2019-04-18 Thread Igor Russkikh
h 2/4. - Added documentation comments into the API header. v2 changes: - Removed public API changes for macsec, leave only PMD experimental API for MACSEC in a form, similar to what ixgbe driver provides. - Joined doc and features update into commit where macsec features gets actually enabled

[dpdk-dev] [PATCH v2 6/7] net/atlantic: bump internal driver version

2019-04-17 Thread Igor Russkikh
Version is synced with internal Aquantia's driver versioning Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/atlantic/atl_common.h b/drivers/net/atlantic/atl_com

[dpdk-dev] [PATCH v2 7/7] net/atlantic: public experimental macsec API

2019-04-17 Thread Igor Russkikh
Add public visible macsec API functions. These are wrappers over internal configuration routines, validating and converting port no into dev pointer Signed-off-by: Igor Russkikh --- drivers/net/atlantic/Makefile | 1 + drivers/net/atlantic/meson.build | 1

[dpdk-dev] [PATCH v2 5/7] net/atlantic: implement macsec statistics

2019-04-17 Thread Igor Russkikh
From: Pavel Belous We add extra xstat fields to include macsec counters and stats Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 82 +-- 1 file changed, 77 insertions(+), 5 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH v2 4/7] net/atlantic: interrupt handling of macsec events

2019-04-17 Thread Igor Russkikh
the upper layers. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 66 ++- drivers/net/atlantic/atl_ethdev.h | 2 +- 2 files changed, 57 insertions(+), 11 deletions(-) diff --git a/drivers/net/atlantic/atl_ethdev.c b

[dpdk-dev] [PATCH v2 3/7] net/atlantic: macsec firmware interface

2019-04-17 Thread Igor Russkikh
From: Pavel Belous Implementation of firmware interface for macsec configuration. Structure with config data is written into FW memory, then we trigger FW to execute the request and wait for result. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v2 2/7] net/atlantic: enable macsec configuration

2019-04-17 Thread Igor Russkikh
. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- doc/guides/nics/atlantic.rst | 6 + doc/guides/nics/features/atlantic.ini | 1 + drivers/net/atlantic/atl_ethdev.c | 216 ++ drivers/net/atlantic/atl_ethdev.h | 12 ++ 4 files changed, 235

[dpdk-dev] [PATCH v2 0/7] add MACSEC hw offload to atlantic PMD

2019-04-17 Thread Igor Russkikh
MACSEC in a form, similar to what ixgbe driver provides. - Joined doc and features update into commit where macsec features gets actually enabled Igor Russkikh (2): net/atlantic: bump internal driver version net/atlantic: public experimental macsec API Pavel Belous (5): net/atlantic

[dpdk-dev] [PATCH v2 1/7] net/atlantic: macsec hardware structures declaration

2019-04-17 Thread Igor Russkikh
From: Pavel Belous Here we define hardware and software configuration structures for macsec interface. MACSEC itself is implemented in Phy module, but its configuration is done via firmware interface Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic

Re: [dpdk-dev] [PATCH 01/10] ethdev: introduce MACSEC device ops

2019-04-16 Thread Igor Russkikh
> These are new ethdev APIs, not driver code, that have been sent after > rc1, so > these didn't go through a proper review cycle, we didn't get any comment > on any > other possible driver can use it, I am for postponing the series to next > release. > > Also th

Re: [dpdk-dev] [PATCH 01/10] ethdev: introduce MACSEC device ops

2019-04-13 Thread Igor Russkikh
Hi Ferruh, >> +int >> +rte_eth_macsec_select_txsa(uint16_t port_id, >> + uint8_t idx, uint8_t an, >> + uint32_t pn, uint8_t *key); >> + >> >> #include >> > > These are new ethdev APIs, not driver code, that have been sent after rc1, so > these did

Re: [dpdk-dev] [PATCH 01/10] ethdev: introduce MACSEC device ops

2019-04-12 Thread Igor Russkikh
>>> Please can you explain how it is related to rte_security? >> >> It is not. >> Do you mean macsec control API could be moved and logically be a part of >> rte_security api? >> I can't comment now on how feasible is this. Moreover this depends on how >> Intel considers >> and uses the existing

Re: [dpdk-dev] [PATCH 01/10] ethdev: introduce MACSEC device ops

2019-04-11 Thread Igor Russkikh
Hello Thomas, Thanks for the review! On 10.04.2019 14:46, Thomas Monjalon wrote: > 10/04/2019 13:18, Igor Russkikh: >> MACSEC related device ops, API and parameters are taken from the >> existing ixgbe PMD ops > > Please can you explain how it is related to rte_security? I

[dpdk-dev] [PATCH 10/10] net/atlantic: indicate macsec in NIC docs

2019-04-10 Thread Igor Russkikh
From: Pavel Belous Features matrix updated, RST doc is updated with macsec Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- doc/guides/nics/atlantic.rst | 1 + doc/guides/nics/features/atlantic.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/guides/nics

[dpdk-dev] [PATCH 08/10] net/atlantic: implement macsec statistics

2019-04-10 Thread Igor Russkikh
From: Pavel Belous We add extra xstat fields to include macsec counters and stats Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 82 +-- 1 file changed, 77 insertions(+), 5 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH 07/10] net/atlantic: interrupt handling of macsec events

2019-04-10 Thread Igor Russkikh
the upper layers. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 66 ++- drivers/net/atlantic/atl_ethdev.h | 2 +- 2 files changed, 57 insertions(+), 11 deletions(-) diff --git a/drivers/net/atlantic/atl_ethdev.c b

[dpdk-dev] [PATCH 09/10] net/atlantic: bump internal driver version

2019-04-10 Thread Igor Russkikh
From: Pavel Belous Version is synced with internal Aquantia's driver versioning Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/atlantic/atl_common.h b/driver

[dpdk-dev] [PATCH 05/10] net/atlantic: macsec configuration code

2019-04-10 Thread Igor Russkikh
From: Pavel Belous This is a driver side of macsec configuration routines. It fills in config structures and sends requests to FW for configuration activities. We also declare macsec offload bits in DPDK offload capabilities Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh

[dpdk-dev] [PATCH 06/10] net/atlantic: macsec firmware interface

2019-04-10 Thread Igor Russkikh
From: Pavel Belous Implementation of firmware interface for macsec configuration. Structure with config data is written into FW memory, then we trigger FW to execute the request and wait for result. Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH 04/10] net/atlantic: macsec hardware structures declaration

2019-04-10 Thread Igor Russkikh
From: Pavel Belous Here we define hardware and software configuration structures for macsec interface. MACSEC itself is implemented in Phy module, but its configuration is done via firmware interface Signed-off-by: Pavel Belous Signed-off-by: Igor Russkikh --- drivers/net/atlantic

[dpdk-dev] [PATCH 03/10] net/ixgbe: macsec callbacks implementation

2019-04-10 Thread Igor Russkikh
Add new macsec generic callbacks to ixgbe driver. Reuse existing rte_pmd_ driver API, keeping it to preserve backward API compatibility Signed-off-by: Igor Russkikh --- drivers/net/ixgbe/ixgbe_ethdev.c | 55 1 file changed, 55 insertions(+) diff --git a/drivers

[dpdk-dev] [PATCH 02/10] app/testpmd: use generic MACSEC API calls

2019-04-10 Thread Igor Russkikh
Here we do repace testpmd direct usage of IXGBE driver calls with generic ethdev macsec API calls Signed-off-by: Igor Russkikh --- app/test-pmd/cmdline.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c

[dpdk-dev] [PATCH 01/10] ethdev: introduce MACSEC device ops

2019-04-10 Thread Igor Russkikh
MACSEC related device ops, API and parameters are taken from the existing ixgbe PMD ops Signed-off-by: Igor Russkikh --- lib/librte_ethdev/rte_ethdev.c | 87 + lib/librte_ethdev/rte_ethdev.h | 115 lib/librte_ethdev/rte_ethdev_core.h

[dpdk-dev] [PATCH 00/10] add MACSEC hw offload to atlantic PMD

2019-04-10 Thread Igor Russkikh
. Igor Russkikh (3): ethdev: introduce MACSEC device ops app/testpmd: use generic MACSEC API calls net/ixgbe: macsec callbacks implementation Pavel Belous (7): net/atlantic: macsec hardware structures declaration net/atlantic: macsec configuration code net/atlantic: macsec firmware

Re: [dpdk-dev] [PATCH v3 03/10] net/atlantic: extra checks for error codes

2019-03-20 Thread Igor Russkikh
Hi Ferruh, Sorry forgot that. Coverity issue: 187034 On 20.03.2019 16:24, Ferruh Yigit wrote: > On 3/12/2019 3:24 PM, Igor Russkikh wrote: >> Found by Coverity scan. Checks are useless >> because at these code places err is always zero. > > Can you please add Coverit

[dpdk-dev] [PATCH v3 10/10] net/atlantic: fix xstats to return correct number of items

2019-03-12 Thread Igor Russkikh
Max number of xstats items was returned instead of actual number of filled in records. Cc: sta...@dpdk.org Fixes: fbe059e87209 ("net/atlantic: implement device statistics") Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[dpdk-dev] [PATCH v3 09/10] net/atlantic: fix missing VLAN filter offload

2019-03-12 Thread Igor Russkikh
Original vlan offload code declared callbacks, but did not enable the feature offload bit Cc: sta...@dpdk.org Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads") Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_ethdev.c | 3 ++- 1 file changed, 2 insert

[dpdk-dev] [PATCH v3 08/10] net/atlantic: eliminate excessive log levels on Rx/Tx

2019-03-12 Thread Igor Russkikh
Default rxtx logging used ERR level, that caused logger to always trigger. That may cause perf degradation even if logger was not enabled but compiled in. Signed-off-by: Igor Russkikh --- drivers/net/atlantic/atl_rxtx.c | 16 1 file changed, 4 insertions(+), 12 deletions

[dpdk-dev] [PATCH v3 07/10] net/atlantic: fix link configuration

2019-03-12 Thread Igor Russkikh
In case link speed is re configured after port start, it does not takes the requested speed value, but instead just sets full autoneg mask. Cc: sta...@dpdk.org Fixes: 7943ba05f67c ("net/atlantic: add link status and interrupt management") Signed-off-by: Igor Russkikh --- drivers/ne

[dpdk-dev] [PATCH v3 06/10] net/atlantic: fix EEPROM get for small and uneven lengths

2019-03-12 Thread Igor Russkikh
From: Pavel Belous Fixes: ce4e8d418097 ("net/atlantic: implement EEPROM get/set") Cc: sta...@dpdk.org Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- .../net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 28 --- 1 file changed, 24 insertions(+), 4 deletion

[dpdk-dev] [PATCH v3 05/10] net/atlantic: use EEPROM magic as a device address

2019-03-12 Thread Igor Russkikh
From: Pavel Belous Default dev addr is replaced with magic field from the request. Length is allowed to be less than maximum. SMBUS access bit definitions also better organised now. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c

[dpdk-dev] [PATCH v3 04/10] net/atlantic: fix buffer overflow

2019-03-12 Thread Igor Russkikh
ue: 323518 Coverity issue: 323520 Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c b/drivers/net/atlan

[dpdk-dev] [PATCH v3 03/10] net/atlantic: extra checks for error codes

2019-03-12 Thread Igor Russkikh
Found by Coverity scan. Checks are useless because at these code places err is always zero. Signed-off-by: Igor Russkikh --- drivers/net/atlantic/hw_atl/hw_atl_utils.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/atlantic/hw_atl/hw_atl_utils.c b/drivers

[dpdk-dev] [PATCH v3 02/10] net/atlantic: remove unused variable

2019-03-12 Thread Igor Russkikh
Found by coverity scan. Fixes: 7906661edac6 ("net/atlantic: add b0 hardware layer") Coverity issue: 323512 Signed-off-by: Igor Russkikh --- drivers/net/atlantic/hw_atl/hw_atl_b0.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/atlantic/hw_atl/hw_a

  1   2   3   >