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
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
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
/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
/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
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
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
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
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
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
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
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
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/
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
/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
/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
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
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
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
-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
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
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.
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.
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
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
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 +
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
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
-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
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.
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
-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
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.
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
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.
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
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 +
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
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
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.
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 +
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
' 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
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
-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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
)
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
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
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
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
' 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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
...@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
.
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
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
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
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
-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
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
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
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 +++--
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
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
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
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
-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
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
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
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
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
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
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
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
...@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
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
501 - 600 of 780 matches
Mail list logo