Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:24, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. However the patch looks okay it brings imbalance to understanding how

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 19:23, Joe Perches wrote: On Mon, 2016-01-25 at 18:51 +0600, Aleksey Makarov wrote: On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. This loses the index of the preferred console. I'm not sure this is better

[PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-25 Thread Aleksey Makarov
/en-us/library/windows/hardware/dn639131(v=vs.85).aspx Signed-off-by: Aleksey Makarov --- arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 ++ drivers/acpi/Makefile | 1 + drivers/acpi/spcr.c | 85 + include/linux/console.h | 12

[PATCH 0/3] ACPI: parse the SPCR table

2016-01-25 Thread Aleksey Makarov
/the-owf-1-0-agreements/owfa-1-0 Aleksey Makarov (3): printk: make preferred_console local static bool ACPI: parse SPCR and enable matching console serial: pl011: add acpi_match for amba-pl011.c arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 ++ drivers/acpi

[PATCH 3/3] serial: pl011: add acpi_match for amba-pl011.c

2016-01-25 Thread Aleksey Makarov
Add an implementation of acpi_match() to the pl011 driver. It allows to check if the console matches one specified with ACPI SPCR table. Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 14 ++ include/acpi/actbl2.h | 4 2 files changed, 18

[PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. Signed-off-by: Aleksey Makarov --- kernel/printk/printk.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:24, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov <aleksey.maka...@linaro.org> wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. However the patch looks okay it

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. This loses the index of the preferred console. I'm not sure this is better

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 19:23, Joe Perches wrote: On Mon, 2016-01-25 at 18:51 +0600, Aleksey Makarov wrote: On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics

Re: [PATCH 3/3] serial: pl011: add acpi_match for amba-pl011.c

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:22, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 4:21 PM, Andy Shevchenko <andy.shevche...@gmail.com> wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov <aleksey.maka...@linaro.org> wrote: Add an implementation of acpi_match() to the pl011 driver. It all

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:14, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov <aleksey.maka...@linaro.org> wrote: 'ARM Server Base Boot Requiremets' [1] mention SPCR (Serial Port Console Redirection Table) [2] as a mandatory ACPI table that specifies the configuration of

[PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- kernel/printk/printk.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/

[PATCH 3/3] serial: pl011: add acpi_match for amba-pl011.c

2016-01-25 Thread Aleksey Makarov
Add an implementation of acpi_match() to the pl011 driver. It allows to check if the console matches one specified with ACPI SPCR table. Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/tty/serial/amba-pl011.c | 14 ++ include/acpi/actbl2.h

[PATCH 0/3] ACPI: parse the SPCR table

2016-01-25 Thread Aleksey Makarov
/the-owf-1-0-agreements/owfa-1-0 Aleksey Makarov (3): printk: make preferred_console local static bool ACPI: parse SPCR and enable matching console serial: pl011: add acpi_match for amba-pl011.c arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 ++ drivers/acpi

[PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-25 Thread Aleksey Makarov
/en-us/library/windows/hardware/dn639131(v=vs.85).aspx Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 ++ drivers/acpi/Makefile | 1 + drivers/acpi/spcr.c

Re: [PATCH v6 1/2] ACPI: introduce a function to find the first physical device

2016-01-20 Thread Aleksey Makarov
Hi Andy, On 20.01.2016 21:12, Andy Shevchenko wrote: On Wed, Jan 20, 2016 at 4:29 PM, Aleksey Makarov wrote: Factor out the code that finds the first physical device of a given ACPI device. It is used in several places. Reviewed-by: Andy Shevchenko Signed-off-by: Aleksey Makarov Hmm

Re: [PATCH v6 1/2] ACPI: introduce a function to find the first physical device

2016-01-20 Thread Aleksey Makarov
Hi Andy, On 20.01.2016 21:12, Andy Shevchenko wrote: On Wed, Jan 20, 2016 at 4:29 PM, Aleksey Makarov <aleksey.maka...@linaro.org> wrote: Factor out the code that finds the first physical device of a given ACPI device. It is used in several places. Reviewed-by: Andy Shevchenko <and

[PATCH v4 2/3] ACPI: scan add in amba probing

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

[PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Aleksey Makarov
-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 140 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 146 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git

[PATCH v4 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v4 0/3] Add AMBA bus probing support to ACPI

2015-12-23 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v4 0/3] Add AMBA bus probing support to ACPI

2015-12-23 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v4 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/tty

[PATCH v4 2/3] ACPI: scan add in amba probing

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insert

[PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Aleksey Makarov
etween probing methods. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 140 +++ drivers/acpi/internal.h | 5 +

[PATCH v3 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

[PATCH v3 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 155 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git

[PATCH v3 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v2 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v2 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 155 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git

[PATCH v2 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v2 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

[PATCH v2 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v2 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insert

[PATCH v2 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
etween probing methods. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 +

[PATCH v3 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insert

[PATCH v3 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/tty

[PATCH v3 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
etween probing methods. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 +

[PATCH v2 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory <graeme.greg...@linaro.org> In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory <graeme.greg...@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org> --- drivers/tty

[PATCH net-next v2 8/8] net: thunderx: Support for internal loopback mode

2015-08-30 Thread Aleksey Makarov
' mode can be enabled or disabled via ethtool. Note: This feature is not supported when no of VFs enabled are morethan no of physical interfaces i.e active BGX LMACs Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 11

[PATCH net-next v2 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-30 Thread Aleksey Makarov
interface. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov Signed-off-by: Robert Richter --- drivers/net/ethernet/cavium/thunder/nic.h | 42 - drivers/net/ethernet/cavium/thunder/nic_main.c | 173 +++-- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 134

[PATCH net-next v2 6/8] net: thunderx: Rework interrupt handling

2015-08-30 Thread Aleksey Makarov
-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 1 + drivers/net/ethernet/cavium/thunder/nicvf_main.c | 172 - drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 1 + 3 files changed, 102 insertions(+), 72

[PATCH net-next v2 4/8] net: thunderx: Receive hashing HW offload support

2015-08-30 Thread Aleksey Makarov
multiple CPUs. Offload can be disabled via ethtool. Signed-off-by: Robert Richter Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14 - drivers/net/ethernet/cavium/thunder/nicvf_main.c | 35 -- 2 files

[PATCH net-next v2 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-30 Thread Aleksey Makarov
. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic_main.c | 4 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++--- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 28 ++ drivers/net

[PATCH net-next v2 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 36 +++-- .../net/ethernet/cavium/thunder

[PATCH net-next v2 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham Signed-off-by: Robert Richter Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h| 3 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 44

[PATCH net-next v2 1/8] net: thunderx: fix MAINTAINERS

2015-08-30 Thread Aleksey Makarov
From: Aleksey Makarov The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4e6dcb6..43cf79e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-30 Thread Aleksey Makarov
xey Klimov) Aleksey Makarov (1): net: thunderx: fix MAINTAINERS Sunil Goutham (7): net: thunderx: Add receive error stats reporting via ethtool net: thunderx: mailboxes: remove code duplication net: thunderx: Receive hashing HW offload support net: thunderx: Support for HW VLAN strip

Re: [PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-30 Thread Aleksey Makarov
w version registers different handlers for different irqs. I don't see why it can be wrong. I am going to address your other suggestions in the next version of the patchset. Thank you Aleksey Makarov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: [PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-30 Thread Aleksey Makarov
registers different handlers for different irqs. I don't see why it can be wrong. I am going to address your other suggestions in the next version of the patchset. Thank you Aleksey Makarov -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH net-next v2 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-30 Thread Aleksey Makarov
for transmit packets. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nic_main.c | 4 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++--- drivers/net/ethernet

[PATCH net-next v2 6/8] net: thunderx: Rework interrupt handling

2015-08-30 Thread Aleksey Makarov
handlers. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nic.h | 1 + drivers/net/ethernet/cavium/thunder/nicvf_main.c | 172 - drivers/net/ethernet/cavium

[PATCH net-next v2 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet

[PATCH net-next v2 4/8] net: thunderx: Receive hashing HW offload support

2015-08-30 Thread Aleksey Makarov
flows across multiple CPUs. Offload can be disabled via ethtool. Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14

[PATCH net-next v2 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-30 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium

[PATCH net-next v2 1/8] net: thunderx: fix MAINTAINERS

2015-08-30 Thread Aleksey Makarov
From: Aleksey Makarov aleksey.maka...@caviumnetworks.com The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-30 Thread Aleksey Makarov
) Aleksey Makarov (1): net: thunderx: fix MAINTAINERS Sunil Goutham (7): net: thunderx: Add receive error stats reporting via ethtool net: thunderx: mailboxes: remove code duplication net: thunderx: Receive hashing HW offload support net: thunderx: Support for HW VLAN stripping net

[PATCH net-next v2 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-30 Thread Aleksey Makarov
primary VF's interface. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com Signed-off-by: Robert Richter rrich...@cavium.com --- drivers/net/ethernet/cavium/thunder/nic.h | 42 - drivers/net/ethernet/cavium/thunder

[PATCH net-next v2 8/8] net: thunderx: Support for internal loopback mode

2015-08-30 Thread Aleksey Makarov
connectivity. 'loopback' mode can be enabled or disabled via ethtool. Note: This feature is not supported when no of VFs enabled are morethan no of physical interfaces i.e active BGX LMACs Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com

[PATCH net-next 4/8] net: thunderx: Receive hashing HW offload support

2015-08-28 Thread Aleksey Makarov
multiple CPUs. Offload can be disabled via ethtool. Signed-off-by: Robert Richter Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14 - drivers/net/ethernet/cavium/thunder/nicvf_main.c | 35 -- 2 files

[PATCH net-next 8/8] net: thunderx: Support for internal loopback mode

2015-08-28 Thread Aleksey Makarov
' mode can be enabled or disabled via ethtool. Note: This feature is not supported when no of VFs enabled are morethan no of physical interfaces i.e active BGX LMACs Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 11

[PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Aleksey Makarov
interface. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov Signed-off-by: Robert Richter --- drivers/net/ethernet/cavium/thunder/nic.h | 42 - drivers/net/ethernet/cavium/thunder/nic_main.c | 173 +++-- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 136

[PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham Rework interrupt handler to avoid checking IRQ affinity of CQ interrupts. Now separate handlers are registered for each IRQ including RBDR. Also register interrupt handlers for only those which are being used. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov

[PATCH net-next 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h | 36 +++-- .../net/ethernet/cavium/thunder

[PATCH net-next 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham Signed-off-by: Robert Richter Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h| 3 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 44

[PATCH net-next 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-28 Thread Aleksey Makarov
. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic_main.c | 4 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++--- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 28 ++ drivers/net

[PATCH net-next 1/8] net: thunderx: fix MAINTAINERS

2015-08-28 Thread Aleksey Makarov
From: Aleksey Makarov The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4e6dcb6..43cf79e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH net-next 3/8] net: thunderx: mailboxes: remove code duplication

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Use the nicvf_send_msg_to_pf() function in the mailbox code. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet

[PATCH net-next 2/8] net: thunderx: Add receive error stats reporting via ethtool

2015-08-28 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Added ethtool support to dump receive packet error statistics reported in CQE. Also made some small fixes Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium

[PATCH net-next 5/8] net: thunderx: Support for HW VLAN stripping

2015-08-28 Thread Aleksey Makarov
for transmit packets. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nic_main.c | 4 drivers/net/ethernet/cavium/thunder/nicvf_main.c | 28 +++--- drivers/net/ethernet

[PATCH net-next 1/8] net: thunderx: fix MAINTAINERS

2015-08-28 Thread Aleksey Makarov
From: Aleksey Makarov aleksey.maka...@caviumnetworks.com The liquidio and thunder drivers have different maintainers. Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH net-next 4/8] net: thunderx: Receive hashing HW offload support

2015-08-28 Thread Aleksey Makarov
flows across multiple CPUs. Offload can be disabled via ethtool. Signed-off-by: Robert Richter rrich...@cavium.com Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 14

[PATCH net-next 7/8] net: thunderx: Support for upto 96 queues for a VF

2015-08-28 Thread Aleksey Makarov
primary VF's interface. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com Signed-off-by: Robert Richter rrich...@cavium.com --- drivers/net/ethernet/cavium/thunder/nic.h | 42 - drivers/net/ethernet/cavium/thunder

[PATCH net-next 8/8] net: thunderx: Support for internal loopback mode

2015-08-28 Thread Aleksey Makarov
connectivity. 'loopback' mode can be enabled or disabled via ethtool. Note: This feature is not supported when no of VFs enabled are morethan no of physical interfaces i.e active BGX LMACs Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com

[PATCH net-next 6/8] net: thunderx: Rework interrupt handler

2015-08-28 Thread Aleksey Makarov
...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nic.h | 1 + drivers/net/ethernet/cavium/thunder/nicvf_main.c | 172 - drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 2 + 3 files changed, 103

[PATCH net 06/11] net: thunderx: Suppress alloc_pages() failure warnings

2015-07-29 Thread Aleksey Makarov
. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c index

[PATCH net 07/11] net: thunderx: Wakeup TXQ only if CQE_TX are processed

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Previously TXQ is wakedup whenever napi is executed and irrespective of if any CQE_TX are processed or not. Added 'txq_stop' and 'txq_wake' counters to aid in debugging if there are any future issues. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers

[PATCH net 00/11] net: thunderx: Misc fixes

2015-07-29 Thread Aleksey Makarov
Miscellaneous fixes for the ThunderX VNIC driver All the patches can be applied individually. It's ok to drop some if the maintainer feels uncomfortable with applying for 4.2. Sunil Goutham (10): net: thunderx: Fix data integrity issues with LDWB net: thunderx: Fix memory leak while tearing

[PATCH net 01/11] net: thunderx: Fix data integrity issues with LDWB

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Switching back to LDD transactions from LDWB. While transmitting packets out with LDWB transactions data integrity issues are seen very frequently. hence switching back to LDD. Signed-off-by: Sunil Goutham Signed-off-by: Robert Richter Signed-off-by: Aleksey Makarov

[PATCH net 09/11] net: thunderx: Fix crash when changing rss with mutliple traffic flows

2015-07-29 Thread Aleksey Makarov
-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium/thunder/nicvf_main.c index abee2d7..c7a29a3 100644 --- a/drivers/net

[PATCH net 05/11] net: thunderx: Fix TSO packet statistic

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Fixing TSO packages not being counted. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/drivers/net

[PATCH net 11/11] net: thunderx: Fix for crash while BGX teardown

2015-07-29 Thread Aleksey Makarov
From: Thanneeru Srinivasulu Cortina phy does not have kernel driver and we don't attach device with phy layer for intefaces like XFI, XLAUI etc, Hence check for interface type before calling disconnect. Signed-off-by: Thanneeru Srinivasulu Signed-off-by: Aleksey Makarov --- drivers/net

[PATCH net 03/11] net: thunderx: Fix RQ_DROP miscalculation

2015-07-29 Thread Aleksey Makarov
irst half of CQ under heavy load and time taken by NAPI to clear transmit notifications will increase with higher queue sizes. Again results in SQ being stopped. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.h | 14 +++--

[PATCH net 04/11] net: thunderx: Fix memory leak when changing queue count

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Fix for memory leak when changing queue/channel count via ethtool Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 23 +- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git

[PATCH net 02/11] net: thunderx: Fix memory leak while tearing down interface

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Fixed 'tso_hdrs' memory not being freed properly. Also fixed SQ skbuff maintenance issues. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 1 + drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 8

[PATCH net 08/11] net: thunderx: Set watchdog timeout value

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham If a txq (SQ) remains in stopped state after this timeout its considered as stuck and interface is reinited. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic.h| 9 + drivers/net/ethernet/cavium/thunder

[PATCH net 10/11] net: thunderx: Add PCI driver shutdown routine

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium/thunder/nicvf_main.c

[PATCH net 07/11] net: thunderx: Wakeup TXQ only if CQE_TX are processed

2015-07-29 Thread Aleksey Makarov
-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nic.h | 3 +- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 3 +- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 40 +++--- 3 files changed, 31 insertions

[PATCH net 00/11] net: thunderx: Misc fixes

2015-07-29 Thread Aleksey Makarov
Miscellaneous fixes for the ThunderX VNIC driver All the patches can be applied individually. It's ok to drop some if the maintainer feels uncomfortable with applying for 4.2. Sunil Goutham (10): net: thunderx: Fix data integrity issues with LDWB net: thunderx: Fix memory leak while tearing

[PATCH net 02/11] net: thunderx: Fix memory leak while tearing down interface

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fixed 'tso_hdrs' memory not being freed properly. Also fixed SQ skbuff maintenance issues. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder

[PATCH net 03/11] net: thunderx: Fix RQ_DROP miscalculation

2015-07-29 Thread Aleksey Makarov
notifications taking first half of CQ under heavy load and time taken by NAPI to clear transmit notifications will increase with higher queue sizes. Again results in SQ being stopped. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com

[PATCH net 04/11] net: thunderx: Fix memory leak when changing queue count

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fix for memory leak when changing queue/channel count via ethtool Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- .../net/ethernet/cavium/thunder/nicvf_ethtool.c| 23

[PATCH net 09/11] net: thunderx: Fix crash when changing rss with mutliple traffic flows

2015-07-29 Thread Aleksey Makarov
Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_main.c b/drivers/net/ethernet/cavium

[PATCH net 05/11] net: thunderx: Fix TSO packet statistic

2015-07-29 Thread Aleksey Makarov
From: Sunil Goutham sgout...@cavium.com Fixing TSO packages not being counted. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH net 01/11] net: thunderx: Fix data integrity issues with LDWB

2015-07-29 Thread Aleksey Makarov
rrich...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/drivers/net/ethernet/cavium/thunder

[PATCH net 11/11] net: thunderx: Fix for crash while BGX teardown

2015-07-29 Thread Aleksey Makarov
...@caviumnetworks.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c b/drivers/net/ethernet/cavium/thunder

[PATCH net 06/11] net: thunderx: Suppress alloc_pages() failure warnings

2015-07-29 Thread Aleksey Makarov
not be allocated. Signed-off-by: Sunil Goutham sgout...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@caviumnetworks.com --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder

<    1   2   3   4   5   6   7   8   >