[dpdk-dev] [PATCH 76/80] net/sfc/base: add encapsulated TSOv2 capability

2018-02-19 Thread Andrew Rybchenko
From: Vijay Srivastava Signed-off-by: Vijay Srivastava Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 6 ++ drivers/net/sfc/base/efx.h | 1 + 2 files changed, 7 insertions(+) diff --git a/drivers/net/sfc/base/ef10_nic.c b/drivers/net/sfc/base/ef10_nic.c index b

[dpdk-dev] [PATCH 78/80] net/sfc/base: add firmware image layout option

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/Makefile| 1 + drivers/net/sfc/base/ef10_image.c | 20 drivers/net/sfc/base/ef10_signed_image_layout.h | 62 + drivers/net/

[dpdk-dev] [PATCH 67/80] net/sfc/base: add Medford2 support for tunnel encapsulations

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_check.h | 4 ++-- drivers/net/sfc/base/efx_tunnel.c | 32 +++- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/drivers/net/sfc/base/efx_che

[dpdk-dev] [PATCH 75/80] net/sfc/base: support CTPIO stats

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_mac.c | 55 + 1 file changed, 55 insertions(+) diff --git a/drivers/net/sfc/base/ef10_mac.c b/drivers/net/sfc/base/ef10_mac.c index f5e6e41..df2

[dpdk-dev] [PATCH 72/80] net/sfc/base: add CTPIO statistics

2018-02-19 Thread Andrew Rybchenko
From: Guido Barzini Signed-off-by: Guido Barzini Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_regs_mcdi.h | 78 +++- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/drivers/net/sfc/base/efx_regs_mcdi.h b/drivers/net/sfc/base/efx_re

[dpdk-dev] [PATCH 73/80] net/sfc/base: add bit to indicate CTPIO availability

2018-02-19 Thread Andrew Rybchenko
From: Guido Barzini Signed-off-by: Guido Barzini Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_regs_mcdi.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/sfc/base/efx_regs_mcdi.h b/drivers/net/sfc/base/efx_regs_mcdi.h index fa9dd6b..efddb1f 100644 --- a/d

[dpdk-dev] [PATCH 74/80] net/sfc/base: regenerate headers to pick up CTPIO stats

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 18 +- drivers/net/sfc/base/efx_mac.c | 18 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx.h b/driver

[dpdk-dev] [PATCH 56/80] net/sfc/base: move limits config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 11 +++ drivers/net/sfc/base/hunt_nic.c | 12 drivers/net/sfc/base/medford2_nic.c | 12 drivers/net/sfc/base/medford_nic.c | 12 --

[dpdk-dev] [PATCH 42/80] net/sfc/base: decode Medford2 FEC stats if available

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Decode Medford2 FEC stats if available in MAC stats DMA buffer. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_mac.c | 44 + drivers/net/sfc/base/ef10_nic.c | 5 + drivers/net/sfc/base/e

[dpdk-dev] [PATCH 62/80] net/sfc/base: support Medford2 event timer semantics

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton The event timer interface has changed for Medford2 - for details see bug66418 comment 9. Update the common code to use the new timer semantics for Medford2. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_ev.c | 10 --

[dpdk-dev] [PATCH 60/80] net/sfc/base: remove obsolete comments

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/medford2_nic.c | 5 - drivers/net/sfc/base/medford_nic.c | 5 - 2 files changed, 10 deletions(-) diff --git a/drivers/net/sfc/base/medford2_nic.c b/drivers/net/sfc/base/medford2_n

[dpdk-dev] [PATCH 69/80] net/sfc/base: add 1.3V voltage and current sensors

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 4 +++- drivers/net/sfc/base/efx_mon.c | 4 +++- drivers/net/sfc/base/mcdi_mon.c | 4 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/

[dpdk-dev] [PATCH 66/80] net/sfc/base: add Medford2 support for licencing

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_lic.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/net/sfc/base/efx_lic.c b/drivers/net/sfc/base/efx_lic.c index bfad0cd..49c0034

[dpdk-dev] [PATCH 51/80] net/sfc/base: move legacy board config to ef10 NIC board cfg

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 18 +- drivers/net/sfc/base/hunt_nic.c | 36 ++-- drivers/net/sfc/base/medford2_nic.c | 34 +-

[dpdk-dev] [PATCH 28/80] net/sfc/base: fix too long line

2018-02-19 Thread Andrew Rybchenko
Fixes: 6f619653b9b1 ("net/sfc/base: import MCDI implementation") Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_mcdi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx_mcdi.c b/drivers/net/sfc/base/efx_mcdi.c index 8156acc..9d7b741 1

[dpdk-dev] [PATCH 27/80] net/sfc/base: refactoring eliminating code analysis warnings

2018-02-19 Thread Andrew Rybchenko
From: Richard Houldsworth Addresses most of the warnings reported by the sfn windows driver. Signed-off-by: Richard Houldsworth Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_mcdi.c | 12 drivers/net/sfc/base/ef10_nvram.c | 10 +++--- drivers/net/sfc/base/ef

[dpdk-dev] [PATCH 52/80] net/sfc/base: move PHY/link config to ef10 NIC board cfg

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 18 +- drivers/net/sfc/base/hunt_nic.c | 31 --- drivers/net/sfc/base/medford2_nic.c | 30 +++--- dri

[dpdk-dev] [PATCH 53/80] net/sfc/base: move datapath config to ef10 NIC board cfg

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h| 4 drivers/net/sfc/base/ef10_nic.c | 10 -- drivers/net/sfc/base/hunt_nic.c | 12 +++- drivers/net/sfc/base/medford2_nic.c | 14 --

[dpdk-dev] [PATCH 48/80] net/sfc/base: move port config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h| 5 drivers/net/sfc/base/ef10_nic.c | 23 +-- drivers/net/sfc/base/hunt_nic.c | 46 +++-- drivers/net/sfc/base/m

[dpdk-dev] [PATCH 44/80] net/sfc: size MAC stats DMA buffer to support Medford2

2018-02-19 Thread Andrew Rybchenko
Medford2 supports more MAC stats than previous HW. So DMA buffer must be sized properly. Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_port.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_port.c b/drivers/net/sfc/sfc_port.c index c423f52..

[dpdk-dev] [PATCH 43/80] net/sfc/base: resolve code analysis warnings

2018-02-19 Thread Andrew Rybchenko
From: Richard Houldsworth Minimal changes adding buffer size checks and simplifying checksum processing. Signed-off-by: Richard Houldsworth Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_bootcfg.c | 67 +++--- 1 file changed, 48 insertions(+), 19

[dpdk-dev] [PATCH 39/80] net/sfc/base: use MAC stats DMA buffer size from caps

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton For Medford2 the DMA buffer used for one-shot or periodic MAC stats has been extended. Ensure the MAC stats DMA buffer size is large enough to hold the number of stats counters supported by firmware. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/ne

[dpdk-dev] [PATCH 45/80] net/sfc/base: remove MAC stats size define

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 5 ++--- drivers/net/sfc/base/siena_mac.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index 0

[dpdk-dev] [PATCH 01/80] net/sfc: add missing defines for SAL annotation

2018-02-19 Thread Andrew Rybchenko
Fixes: e1b944598579 ("net/sfc: build libefx") Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/efsys.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/efsys.h b/drivers/net/sfc/efsys.h index c7a54c3..ecbd14f 100644 --- a/drivers/net/sfc/efsys.h +++ b/drivers/net/sfc/efsy

[dpdk-dev] [PATCH 31/80] net/sfc/base: simplify loopback type checking

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_phy.c | 24 ++-- drivers/net/sfc/base/efx_nic.c | 82 - 2 files changed, 44 insertions(+), 62 deletions(-) diff --git a/drivers/net/sfc

[dpdk-dev] [PATCH 33/80] net/sfc/base: add new loopback modes

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Report supported loopback modes for new Medford2 link speeds. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 3 +++ drivers/net/sfc/base/efx_nic.c | 44 + drivers/net/sfc/base/efx_p

[dpdk-dev] [PATCH 35/80] net/sfc/base: handle new speeds in linkchange events

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_phy.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/sfc/base/ef10_phy.c b/drivers/net/sfc/base/ef10_phy.c index e05fe2b..035099f 100644 --- a/drivers/net/sfc/

[dpdk-dev] [PATCH 22/80] net/sfc/base: add Medford2 support to MON module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/mcdi_mon.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/sfc/base/mcdi_mon.c b/drivers/net/sfc/base/mcdi_mon.c index e4de0da..0e44577 100644 --- a/drivers/net/sfc/base

[dpdk-dev] [PATCH 30/80] net/sfc/base: report memory BAR number

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton On Medford and earlier controllers the BAR layout is: PF BAR 0: (32bit I/O) I/O mapped registers PF BAR 2: (64bit Mem) Memory mapped registers (VI aperture) PF BAR 4: (64bit Mem) MSI-X tables VF BAR 0: (64bit Mem) Memory mapped registers (VI aperture) VF BAR 2: (64bi

[dpdk-dev] [PATCH 29/80] net/sfc/base: update notes on interrupt testing on VFs

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/medford2_nic.c | 4 ++-- drivers/net/sfc/base/medford_nic.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/medford2_nic.c b/drivers/net/sfc/b

[dpdk-dev] [PATCH 00/80] net/sfc/base: update base driver

2018-02-19 Thread Andrew Rybchenko
Update base driver to include Medford2 support. A number of patches have checkpatch errors/warnings because of coding style difference. Andrew Jackson (1): net/sfc/base: regenerate files with genfwdef after ID update Andrew Rybchenko (5): net/sfc: add missing defines for SAL annotation net

[dpdk-dev] [PATCH 18/80] net/sfc/base: add Medford2 support to NVRAM module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nvram.c | 23 +-- drivers/net/sfc/base/efx_nvram.c | 10 -- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/ef10_nvram.

[dpdk-dev] [PATCH 21/80] net/sfc/base: add Medford2 support to VPD module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_vpd.c | 28 ++-- drivers/net/sfc/base/efx_vpd.c | 10 -- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/net/sfc/base/ef10_vpd.

[dpdk-dev] [PATCH 07/80] net/sfc/base: add Medford2 support to NIC module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/Makefile | 1 + drivers/net/sfc/base/ef10_nic.c | 34 +-- drivers/net/sfc/base/efx.h | 6 +- drivers/net/sfc/base/efx_impl.h | 20 +- drivers/net/sfc/base/ef

[dpdk-dev] [PATCH 10/80] net/sfc/base: add Medford2 support to EV module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_ev.c | 7 --- drivers/net/sfc/base/efx_ev.c | 10 -- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/net/sfc/base/ef10_ev.c b/drivers/net/sfc/base/

[dpdk-dev] [PATCH 17/80] net/sfc/base: add Medford2 support to Tx module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_tx.c | 4 ++-- drivers/net/sfc/base/efx_tx.c | 33 + 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/ef10_tx.c b/d

[dpdk-dev] [PATCH 16/80] net/sfc/base: add Medford2 support to Rx module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_rx.c | 4 ++-- drivers/net/sfc/base/efx_rx.c | 10 -- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/ef10_rx.c b/drivers/net/sfc/base/ef1

[dpdk-dev] [PATCH 58/80] net/sfc/base: move privilege config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 15 ++- drivers/net/sfc/base/hunt_nic.c | 15 +-- drivers/net/sfc/base/medford2_nic.c | 15 +-- drivers/net/sfc/base/medford_nic.c |

[dpdk-dev] [PATCH 57/80] net/sfc/base: move vector config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 17 - drivers/net/sfc/base/hunt_nic.c | 17 + drivers/net/sfc/base/medford2_nic.c | 17 + drivers/net/sfc/base/medford_ni

[dpdk-dev] [PATCH 19/80] net/sfc/base: add Medford2 support to SRAM module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_sram.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/sfc/base/efx_sram.c b/drivers/net/sfc/base/efx_sram.c index 1f0ba0a..7851ff1 100644

[dpdk-dev] [PATCH 08/80] net/sfc/base: correct PIO buffer dimensions for Medford2

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h| 28 +--- drivers/net/sfc/base/hunt_nic.c | 1 + drivers/net/sfc/base/medford2_nic.c | 1 + drivers/net/sfc/base/medford_nic.c | 1 + 4 files

[dpdk-dev] [PATCH 13/80] net/sfc/base: add Medford2 support to MAC module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_mac.c | 7 --- drivers/net/sfc/base/efx_impl.h | 1 + drivers/net/sfc/base/efx_mac.c | 11 +-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH 04/80] net/sfc/base: add 3.3V and 12.0V current sensors

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Automatically generated using mkconfig.py. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 4 +++- drivers/net/sfc/base/efx_mon.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/e

[dpdk-dev] [PATCH 79/80] net/sfc/base: add signed image layout support

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_image.c | 867 +- drivers/net/sfc/base/efx.h| 86 2 files changed, 952 insertions(+), 1 deletion(-) diff --git a/drivers/net/sfc/base/

[dpdk-dev] [PATCH 63/80] net/sfc/base: clarify port mode names and masks

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton New port mode names are defined for Medford2 and later, and the existing names are aliased to them. Add comments with the numeric port mode to clarify the external port modes table. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_ni

[dpdk-dev] [PATCH 80/80] net/sfc/base: sync MCDI headers and TLV layout

2018-02-19 Thread Andrew Rybchenko
Regenerate MCDI and TLV layout headers from firmwaresrc to pick up DPDK firmware variant and related Rx queue and filtering extensions. Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_tlv_layout.h | 67 ++-- drivers/net/sfc/base/efx_regs_mcdi.h | 699

[dpdk-dev] [PATCH 09/80] net/sfc/base: move RxDP config get to EF10 NIC code

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h| 5 drivers/net/sfc/base/ef10_nic.c | 58 + drivers/net/sfc/base/medford2_nic.c | 58 - driv

[dpdk-dev] [PATCH 77/80] net/sfc/base: add outer IP ID parameter to TSOv2 descriptor

2018-02-19 Thread Andrew Rybchenko
From: Vijay Srivastava Set outer_ip_id in the TX option descriptor for encapsulated packets. Signed-off-by: Vijay Srivastava Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h | 1 + drivers/net/sfc/base/ef10_tx.c | 4 +++- drivers/net/sfc/base/efx.h | 1 + drivers/n

[dpdk-dev] [PATCH 71/80] net/sfc/base: run genfwdef to update headers

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_tlv_layout.h | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/net/sfc/base/ef10_tlv_layout.h b/drivers/net/sfc/base/ef10_tlv_layout.h in

[dpdk-dev] [PATCH 65/80] net/sfc/base: add Medford2 support for external port numbers

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 87 + 1 file changed, 87 insertions(+) diff --git a/drivers/net/sfc/base/ef10_nic.c b/drivers/net/sfc/base/ef10_nic.c index cb06535..bab

[dpdk-dev] [PATCH 70/80] net/sfc/base: document the event type for CTPIO sends

2018-02-19 Thread Andrew Rybchenko
From: Guido Barzini Document the TX_EV_TYPE used for TX completion events corresponding to CTPIO sends. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_regs_mcdi.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/sfc/base/efx_regs_mc

[dpdk-dev] [PATCH 55/80] net/sfc/base: move Tx config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 10 ++ drivers/net/sfc/base/hunt_nic.c | 10 -- drivers/net/sfc/base/medford2_nic.c | 10 -- drivers/net/sfc/base/medford_nic.c | 10 --

[dpdk-dev] [PATCH 61/80] net/sfc/base: support FEC mode settings

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Medford2 controllers support control and reporting of FEC modes for 25G and higher links. See SF-109306-TC for suggested usage in client code. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_phy.c | 41 ++

[dpdk-dev] [PATCH 64/80] net/sfc/base: group Medford external port mapping entries

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/net/sfc/base/ef10_nic.c b/drivers/net/sfc/base/ef10_nic.c index 2b8b04

[dpdk-dev] [PATCH 68/80] net/sfc/base: provide a flag for controlling CTPIO mode

2018-02-19 Thread Andrew Rybchenko
From: Guido Barzini Either cut-through or store-and-forward mode. Signed-off-by: Guido Barzini Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_regs_mcdi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/base/efx_regs_mcdi.h b/drivers/net/sfc/base/efx_regs_m

[dpdk-dev] [PATCH 54/80] net/sfc/base: move Rx config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 11 +++ drivers/net/sfc/base/hunt_nic.c | 10 -- drivers/net/sfc/base/medford2_nic.c | 10 -- drivers/net/sfc/base/medford_nic.c | 10 --

[dpdk-dev] [PATCH 59/80] net/sfc/base: move VI window size config to ef10 NIC board

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h| 5 -- drivers/net/sfc/base/ef10_nic.c | 96 - drivers/net/sfc/base/hunt_nic.c | 10 drivers/net/sfc/base/medford2_nic.c | 1

[dpdk-dev] [PATCH 50/80] net/sfc/base: move MAC address config to ef10 NIC board cfg

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 33 +++- drivers/net/sfc/base/hunt_nic.c | 45 drivers/net/sfc/base/medford2_nic.c | 51

[dpdk-dev] [PATCH 49/80] net/sfc/base: move PF/VF config to ef10 NIC board config

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 18 - drivers/net/sfc/base/hunt_nic.c | 40 +++-- drivers/net/sfc/base/medford2_nic.c | 38 ++

[dpdk-dev] [PATCH 40/80] net/sfc/base: use MAC stats DMA buffer size when decoding

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton On Medford2 and later the MAC stats buffer has been enlarged. Use the MAC stats DMA buffer size to ensure that the stats END generation count is read from the correct location, and that over-reading of the DMA buffer is prevented. Signed-off-by: Andy Moreton Signed-off-by: An

[dpdk-dev] [PATCH 02/80] net/sfc/base: regenerate files with genfwdef after ID update

2018-02-19 Thread Andrew Rybchenko
From: Andrew Jackson Add security level to image boot header. Signed-off-by: Andrew Jackson Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/siena_flash.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/net/sfc/base/siena_flash.h b/drivers/net/sfc/

[dpdk-dev] [PATCH 46/80] net/sfc/base: use correct name for frame truncation event

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton The RX_ECC_ERR flag in RX events was misnamed, as it reported frame truncation. Use the new RX_TRUNC_ERR name for this flag. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_ev.c | 8 drivers/net/sfc/base/efx_regs_ef10

[dpdk-dev] [PATCH 41/80] net/sfc/base: run mkconfig.py to add FEC MAC stats

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 8 +++- drivers/net/sfc/base/efx_mac.c | 8 +++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h i

[dpdk-dev] [PATCH 47/80] net/sfc/base: add ef10 NIC board config method

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/ef10_nic.c b/drivers/net/sfc/base/ef10_nic.c index b06c73e..b315

[dpdk-dev] [PATCH 37/80] net/sfc/base: retrieve number of MAC stats from NIC

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton This reports the number of stats (and hence the DMA buffer size) for MAC stats. If MC_GET_CAPABABILITIES_V4 is not supported then use the legacy Siena-compatible MC_CMD_MAC_NSTATS value. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef

[dpdk-dev] [PATCH 38/80] net/sfc/base: improve robustness of MAC stats get via MCDI

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Previously the code relied on the callers of efx_mcdi_mac_stats to provide a DMA buffer or NULL depnding on the action. Fix this so that the DMA buffer is only passed in the request when needed, and that an error is reported for a missing DMA buffer. Signed-off-by: Andy Moreto

[dpdk-dev] [PATCH 34/80] net/sfc/base: add efsys macro to get memory region size

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton EFSYS_MEM_SIZE() reports the DMA mapped size of an efsys_mem_t allocated region (the allocation size may be different due to memory allocator and DMA alignment restrictions). This ensures that common code internals have explicit knowledge of the usable size of DMA mapped memor

[dpdk-dev] [PATCH 36/80] net/sfc/base: refactor EF10 get datapath capabilities

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Inline efx_mcdi_get_capabilities() to prepare for reading newer capabilities response versions. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 149 ++-- 1 file changed, 99 insertions(+),

[dpdk-dev] [PATCH 26/80] net/sfc/base: update hardware headers for Medford2

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton The changes to efx_regs_ef10.h are auto-generated and include: - Updated event RX_L4_CLASS which is now 2 bits (was 3). The encoding of TCP, UDP and UNKNOWN are unchanged so the narrower Medford2 field definition is compatible with all controllers. - Fix definition

[dpdk-dev] [PATCH 24/80] net/sfc/base: improve comments for EF10 ext port mapping

2018-02-19 Thread Andrew Rybchenko
From: Richard Houldsworth Signed-off-by: Richard Houldsworth Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_nic.c | 108 ++-- 1 file changed, 92 insertions(+), 16 deletions(-) diff --git a/drivers/net/sfc/base/ef10_nic.c b/drivers/net/sfc/bas

[dpdk-dev] [PATCH 32/80] net/sfc/base: add support new link modes

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Add basic support for new link modes for Medford2. Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_phy.c | 48 + drivers/net/sfc/base/efx.h | 7 ++ 2 files changed, 55 insertions(+)

[dpdk-dev] [PATCH 25/80] net/sfc/base: add method to make checksum option descriptors

2018-02-19 Thread Andrew Rybchenko
From: Mark Spender Signed-off-by: Mark Spender Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_impl.h | 5 + drivers/net/sfc/base/ef10_tx.c | 40 +++- drivers/net/sfc/base/efx.h | 6 ++ drivers/net/sfc/base/efx_impl.h | 2 ++

[dpdk-dev] [PATCH 23/80] net/sfc/base: support runtime VI window size

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Medford2 uses a configurable VI window size, and requires updates to register accesses to use a runtime VI window size rather than the *_STEP register constants used for earlier controllers. Update the common code to query the VI window size via MCDI, and add new EFX_BAR_VI_*

[dpdk-dev] [PATCH 20/80] net/sfc/base: add Medford2 support to BOOTCFG module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_bootcfg.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx_bootcfg.c b/drivers/net/sfc/base/efx_bootcfg.c index 0f719

[dpdk-dev] [PATCH 14/80] net/sfc/base: add Medford2 support to MCDI module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_mcdi.c | 13 - drivers/net/sfc/base/efx_mcdi.c | 18 -- drivers/net/sfc/base/efx_mcdi.h | 4 ++-- 3 files changed, 22 insertions(+), 13 deletions(-) diff

[dpdk-dev] [PATCH 12/80] net/sfc/base: add Medford2 support to INTR module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_intr.c | 13 - drivers/net/sfc/base/efx_intr.c | 10 -- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/net/sfc/base/ef10_intr.c b/drivers/n

[dpdk-dev] [PATCH 15/80] net/sfc/base: add Medford2 support to PHY module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_phy.c | 4 ++-- drivers/net/sfc/base/efx_phy.c | 13 +++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/base/ef10_phy.c b/drivers/net/sfc/ba

[dpdk-dev] [PATCH 11/80] net/sfc/base: add Medford2 support to FILTER module

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/ef10_filter.c | 19 --- drivers/net/sfc/base/efx_filter.c | 10 -- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/drivers/net/sfc/base/ef10_filter.c

[dpdk-dev] [PATCH 05/80] net/sfc/base: add Medford2 PCI IDs

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index 5158434..1bea124 100644 --- a/drivers/net/sfc/base/efx.h +++ b/dr

[dpdk-dev] [PATCH 06/80] net/sfc/base: add efsys option for Medford2

2018-02-19 Thread Andrew Rybchenko
From: Andy Moreton Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/base/efx_check.h | 97 +++- drivers/net/sfc/efsys.h | 2 + 2 files changed, 59 insertions(+), 40 deletions(-) diff --git a/drivers/net/sfc/base/efx_

Re: [dpdk-dev] [PATCH] version: 18.05-rc0

2018-02-19 Thread Hemant Agrawal
Hi Thomas, Can you integrate ? http://dpdk.org/dev/patchwork/patch/33666/ An early integration will help the subsequent kernel module patches to use new path. Regards, Hemant > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tues

Re: [dpdk-dev] [PATCH] net/enic: add primary mac address handler

2018-02-19 Thread Hyong Youb Kim
On Mon, Feb 19, 2018 at 01:42:27PM +0100, David Marchand wrote: > Reused the .mac_addr_add and .mac_addr_del callbacks code to implement > primary mac address handler. > > Signed-off-by: David Marchand Hi, thanks for taking a stab at this. > +static void enicpmd_set_mac_addr(struct rte_eth_dev

Re: [dpdk-dev] [PATCH v4] lib/librte_meter: add meter configuration profile

2018-02-19 Thread Thomas Monjalon
08/01/2018 16:43, Jasvinder Singh: > From: Cristian Dumitrescu > > This patch adds support for meter configuration profiles. > Benefits: simplified configuration procedure, improved performance. > > Q1: What is the configuration profile and why does it make sense? > A1: The configuration profile

Re: [dpdk-dev] [PATCH] version: 18.05-rc0

2018-02-19 Thread Thomas Monjalon
The new release cycle is started! If you think some patches are already ready for integration in master, please notify me. Note that changes impacting a lot of future patches (big changes, renames, or core features) are preferred to be integrated early in the cycle. Thanks for your attention

Re: [dpdk-dev] [PATCH] vhost: fix offset while mmaping log base address

2018-02-19 Thread Maxime Coquelin
On 02/08/2018 05:59 PM, Tomasz Kulasek wrote: QEMU always set offset to 0 but for sanity we should take the offset into account. Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request") Cc: yuanhan@linux.intel.com Cc: sta...@dpdk.org Signed-off-by: Pawel Wodkowski Signed-off-by:

[dpdk-dev] [PATCH] version: 18.05-rc0

2018-02-19 Thread Thomas Monjalon
Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index 8173802bf..f2c899d03 100644 --- a/lib/librte_ea

Re: [dpdk-dev] [PATCH 1/4] vhost: remove unused macro

2018-02-19 Thread Maxime Coquelin
On 02/14/2018 05:01 AM, Jianfeng Tan wrote: Cc: tomaszx.kula...@intel.com Cc: maxime.coque...@redhat.com Cc: y...@fridaylinux.org Signed-off-by: Jianfeng Tan --- lib/librte_vhost/vhost.h | 2 -- 1 file changed, 2 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime

Re: [dpdk-dev] [PATCH 2/4] vhost: avoid function call in data path

2018-02-19 Thread Maxime Coquelin
On 02/14/2018 05:01 AM, Jianfeng Tan wrote: Previously, get_device() is a function call. It's OK for slow path configuration, but takes some cycles for data path. To avoid that, we turn this function to inline type. Cc: maxime.coque...@redhat.com Cc: y...@fridaylinux.org Signed-off-by: Jianf

Re: [dpdk-dev] [PATCH v1] doc: add template release notes for 18.05

2018-02-19 Thread Thomas Monjalon
> > Add template release notes for DPDK 18.05 with inline comments and > > explanations of the various sections. > > > > Signed-off-by: John McNamara > > Acked-by: Erik Gabriel Carrillo Added to the index and applied, thanks.

Re: [dpdk-dev] [PATCH 4/4] vhost: avoid populate guest memory

2018-02-19 Thread Maxime Coquelin
Hi Jianfeng, On 02/14/2018 05:01 AM, Jianfeng Tan wrote: It's not necessary to polulate guest memory from vhost side. Cc: maxime.coque...@redhat.com Cc: y...@fridaylinux.org Signed-off-by: Jianfeng Tan --- lib/librte_vhost/vhost_user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(

Re: [dpdk-dev] Request to create a draft repo for Windows DPDK Patches

2018-02-19 Thread Jason Messer
Resending on dev alias -Original Message- From: Jason Messer Sent: Friday, February 16, 2018 10:52 AM To: us...@dpdk.org Cc: Kappler, Elizabeth M ; Omar Cardona ; techbo...@dpdk.org Subject: Request to create a draft repo for Windows DPDK Patches Hello - As we reported at the DPDK Summ

Re: [dpdk-dev] [PATCH 1/2] eal: add API to align integer to previous power of 2

2018-02-19 Thread Thomas Monjalon
19/02/2018 15:13, Matan Azrad: > Hi Wiles > > From: Wiles, Keith, Monday, February 19, 2018 3:56 PM > > > On Feb 19, 2018, at 12:03 AM, Matan Azrad wrote: > > >> Is this the type of API that needs to be marked experimental, > > > > > > I think it is relevant to any exposed API(not only for intern

Re: [dpdk-dev] [PATCH 1/2] eal: add API to align integer to previous power of 2

2018-02-19 Thread Wiles, Keith
> On Feb 19, 2018, at 8:13 AM, Matan Azrad wrote: > > Hi Wiles > > From: Wiles, Keith, Monday, February 19, 2018 3:56 PM >>> On Feb 19, 2018, at 12:03 AM, Matan Azrad wrote: Is this the type of API that needs to be marked experimental, >>> >>> I think it is relevant to any exposed API(n

Re: [dpdk-dev] [PATCH 1/2] eal: add API to align integer to previous power of 2

2018-02-19 Thread Matan Azrad
Hi Wiles From: Wiles, Keith, Monday, February 19, 2018 3:56 PM > > On Feb 19, 2018, at 12:03 AM, Matan Azrad wrote: > >> Is this the type of API that needs to be marked experimental, > > > > I think it is relevant to any exposed API(not only for internal libraries). > > > >> we should be able to

Re: [dpdk-dev] Linking with -ldpdk

2018-02-19 Thread Neil Horman
On Mon, Feb 19, 2018 at 10:39:39AM +0100, tom.barbe...@uliege.be wrote: > Hi list, > > I found out that to staticly compile against DPDK using the combined lib, I > needed all these options : > > -I${RTE_SDK}/${RTE_TARGET}/include -L${RTE_SDK}/${RTE_TARGET}/lib > -Wl,--whole-archive -ldpdk -Wl,

Re: [dpdk-dev] [PATCH 1/2] eal: add API to align integer to previous power of 2

2018-02-19 Thread Wiles, Keith
> On Feb 19, 2018, at 12:03 AM, Matan Azrad wrote: > > >> >> Is this the type of API that needs to be marked experimental, > > I think it is relevant to any exposed API(not only for internal libraries). > >> we should be able to prove these functions, correct? > > Don't we need to prove an

Re: [dpdk-dev] [PATCH 0/8] vhost: input validation enhancements

2018-02-19 Thread Maxime Coquelin
On 02/05/2018 01:16 PM, Stefan Hajnoczi wrote: This patch series addresses missing input validation that I came across when reviewing vhost_user.c. The first patch explains the security model and the rest fixes places with missing checks. Now is a good time to discuss the security model if an

[dpdk-dev] 17.11.1 patches review and test

2018-02-19 Thread Yuanhan Liu
Hi all, Here is a list of patches targeted for LTS release 17.11.1. Please help review and test. The planned date for the final release is 27th, Feb. Before that, please shout if anyone has objections with these patches being applied. These patches are located at branch 17.11 of dpdk-stable repo:

[dpdk-dev] [PATCH] net/enic: add primary mac address handler

2018-02-19 Thread David Marchand
Reused the .mac_addr_add and .mac_addr_del callbacks code to implement primary mac address handler. Signed-off-by: David Marchand --- drivers/net/enic/enic_ethdev.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index 6

Re: [dpdk-dev] [PATCH] net/e1000: add mac_addr_set set to em

2018-02-19 Thread David Marchand
On Mon, Feb 19, 2018 at 1:39 AM, Chas Williams <3ch...@gmail.com> wrote: > From: Chas Williams > > Based on the equivalent code in the igb driver. > > Signed-off-by: Chas Williams > --- > drivers/net/e1000/em_ethdev.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/drivers

  1   2   >