Hi David,
Sorry, I missed the cover letter.
I have added it and resent the patchset.
Thanks.
- Xing Zheng
On 2015年12月28日 13:14, David Miller wrote:
I only see 3 patches in this series.
Furthermore, you failed to provide a proper "[PATCH 0/4] xxx" posting
providing a high level description of
The RK3036's GRFs offset are different with RK3066/RK3188, and need to set
mac TX/RX clock before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/Kconfig |4 ++--
drivers/net/ethernet/arc/emac_rockchip.c |9 +++--
2 files changed, 9 insertions(+), 4 deleti
After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and
other connecting PHY via mdiobus_read, so we need to set correct
ref clock rate for emac before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/emac_rockchip.c | 11 +++
1 file changed, 7 insertion
Hi,
We have supported the emac for RK3066/RK3188, but the RK3036 have some
configuration different with them. We should let the driver of emac_rockchip
compatible with other Rockchip SoCs.
Xing Zheng (4):
net: ethernet: arc: Probe emac after set RMII clock
net: ethernet: arc: Keep emac co
On the RK3066/RK3188, there was fixed GRF offset configuration to set emac
and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other
SoCs (RK3036) which maybe have different GRF offset, and need adjust mac
TX/RX clock.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/emac
From: Suresh Reddy
Commit 72ef3a88fa8e ("be2net: set pci_func_num while issuing
GET_PROFILE_CONFIG cmd") passed a specific pf_num while issuing a
GET_PROFILE_CONFIG cmd as FW returns descriptors for all functions when
pf_num is zero. But, when pf_num is set to a non-zero value, FW does not
return
From: Suresh Reddy
>From FW version 11.0 onwards, the FW supports a new "secure mode" feature
(based on a jumper setting on the adapter.) In this mode, the FW image when
flashed is authenticated with a digital signature. This patch logs
appropriate error messages and return a status to ethtool wh
This patch removes a line of code that changes adapter->recommended_prio
value followed by yet another assignment.
Also, the variable is used to store the vlan priority value that is already
shifted to the PCP bits position in the vlan tag format. Hence, the name of
this variable is changed to reco
From: Suresh Reddy
All code relating to FW cmds is in be_cmds.[ch] excepting FW flash cmd
related code. This patch moves these routines from be_main.c to be_cmds.c
Signed-off-by: Suresh Reddy
Signed-off-by: Sathya Perla
---
drivers/net/ethernet/emulex/benet/be_cmds.c | 583 +++
From: Suresh Reddy
Signed-off-by: Suresh Reddy
Signed-off-by: Sathya Perla
---
drivers/net/ethernet/emulex/benet/be.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/emulex/benet/be.h
b/drivers/net/ethernet/emulex/benet/be.h
index 8b8212f..22bf7af 1006
From: Venkat Duvvuru
eeh_error, fw_timeout, hw_error variables in the be_adapter structure are
not used anymore. An earlier patch that introduced adapter->err_flags to
store this information missed removing these variables.
Signed-off-by: Venkat Duvvuru
Signed-off-by: Sathya Perla
---
drivers
From: Venkat Duvvuru
This patch adds support for ethtool's --get-dump option in be2net,
to retrieve FW dump. In the past when this option was not yet available,
this feature was supported via the --register-dump option as a workaround.
This patch removes support for FW-dump via --register-dump op
From: Suresh Reddy
BE3 chip doesn't support VEPA mode.
Signed-off-by: Suresh Reddy
Signed-off-by: Sathya Perla
---
drivers/net/ethernet/emulex/benet/be_main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c
b/drivers/net/ethernet/emulex/bene
From: Suresh Reddy
Many constant definitions relating to the FW-image layout
(such as section offset values) were defined in decimal format rather than
hexa-decimal. This makes this part of the code un-readable. Also some
defines related to BE2 are labeld "g2" and defines related to BE3 are
label
Hi David,
The following patch set contains some feature additions, code re-organization
and cleanup and a few non-critical fixes. Pls consider applying this to
the net-next tree. Thanks.
v2 changes: replaced an if/else block that checks for error values with a
switch/case statement in patch 5.
Pa
From: Suresh Reddy
The VF link state setting transition from "disable" to "auto" does not work
due to a bug in SET_LOGICAL_LINK_CONFIG_V1 cmd in FW. This issue could not
be fixed in FW due to some backward compatibility issues it causes with
some released drivers. The issue has been fixed by intr
From: Michael Chan
Date: Sun, 27 Dec 2015 18:19:17 -0500
> Mainly clean-ups, optimizations, and updating to the latest firmware
> interface spec.
Series applied, thanks Michael.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel
From: David Miller
Date: Mon, 28 Dec 2015 00:32:43 -0500 (EST)
> From: Andrew Lunn
> Date: Sun, 27 Dec 2015 12:58:25 +0100
>
>> This patchset add ethtool support for reading statistics from the PHY.
>> The Marvell and Micrel Phys are then extended to report receiver
>> packet errors and idle er
From: Julia Lawall
Date: Sun, 27 Dec 2015 22:01:29 +0100
> The qlcnic_dcb_ops structures are never modified, so declare them as const.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall
Applied, thanks Julia.
--
To unsubscribe from this list: send the line "unsubscribe netd
On Mon, Dec 28, 2015 at 02:10:47AM +0300, Sergei Shtylyov wrote:
> Now that {cpu|edmac}_to_{edmac|cpu}() functions boiled down to the mere
> {cpu|le32}_to_{le32|cpu}() calls, there's no need for these functions
> anymore, so just get rid of them.
>
> Signed-off-by: Sergei Shtylyov
Acked-by: Simo
From: Andrew Lunn
Date: Sun, 27 Dec 2015 12:58:25 +0100
> This patchset add ethtool support for reading statistics from the PHY.
> The Marvell and Micrel Phys are then extended to report receiver
> packet errors and idle errors.
>
> v2:
> Fix linking when phylib is not enabled.
Series applied
On Mon, Dec 28, 2015 at 02:07:08AM +0300, Sergei Shtylyov wrote:
> Commit 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support") added support
> for the big-endian EDMAC descriptors. However, it was never used and never
> worked right until the recent driver fixes. I think we now can just remove
From: Chunhao Lin
Date: Thu, 24 Dec 2015 21:15:25 +0800
> Fix typo in setting PHY parameter and update the way of reading PHY register
> "rg_saw_cnt".
Series applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.or
From: Marcelo Ricardo Leitner
Date: Wed, 23 Dec 2015 16:28:40 -0200
> Commit cacc06215271 ("sctp: use GFP_USER for user-controlled kmalloc")
> missed two other spots.
>
> For connectx, as it's more likely to be used by kernel users of the API,
> it detects if GFP_USER should be used or not.
>
>
From: Marcelo Ricardo Leitner
Date: Wed, 23 Dec 2015 16:44:09 -0200
> From: Marcelo Ricardo Leitner
>
> Accepted or peeled off sockets were missing a security label (e.g.
> SELinux) which means that socket was in "unlabeled" state.
>
> This patch clones the sock's label from the parent sock an
From: Thomas Falcon
Date: Mon, 21 Dec 2015 11:26:06 -0600
> This is a new device driver for a high performance SR-IOV assisted virtual
> network for IBM System p and IBM System i systems. The SR-IOV VF will be
> attached to the VIOS partition and mapped to the Linux client via the
> hypervisor's
I only see 3 patches in this series.
Furthermore, you failed to provide a proper "[PATCH 0/4] xxx" posting
providing a high level description of what this series is doing, and
how it is doing it, and why.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of
From:
Date: Mon, 21 Dec 2015 02:21:24 +0200
> The Freescale Data Path Acceleration Architecture (DPAA) is a set
> of hardware components on specific QorIQ multicore processors.
> This architecture provides the infrastructure to support
> simplified sharing of networking interfaces and accelerator
On December 14, 2015 11:26:21 PM PST, Dustin Byford
wrote:
>On Mon Dec 07 17:35, Russell King - ARM Linux wrote:
>> Hi,
>
>Hello.
>
>> SFP modules are hot-pluggable ethernet transceivers; they can be
>> detected at runtime and accordingly configured. There are a range of
>> modules offering many
On December 7, 2015 9:35:53 AM PST, Russell King - ARM Linux
wrote:
>
>Overall, phylink supports several link modes, with dynamic switching
>possible between these:
>* A true fixed link mode, where the parameters are set by DT.
>* PHY mode, where we read the negotiation results from the PHY
>regi
The wcn36xx wifi driver follows the life cycle of the WLAN_CTRL SMD
channel, as such it should be a SMD client. This patch makes this
transition, now that we have the necessary frameworks available.
Signed-off-by: Bjorn Andersson
---
drivers/net/wireless/ath/wcn36xx/Kconfig | 2 +-
drivers/n
Merge the two allocation instead of separately allocating room for the
indication payload.
Signed-off-by: Bjorn Andersson
---
drivers/net/wireless/ath/wcn36xx/smd.c | 15 ++-
drivers/net/wireless/ath/wcn36xx/smd.h | 2 +-
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git
The mainline kernel now has the necessary implementations for SMD, SMSM and
WCNSS_CTRL. This series provides the changes necessary for the wcn36xx driver
to utilize this infrastructure and make this driver work in mainline.
A driver for loading the WCNSS firmware, through remoteproc, has been pos
In preparation for handling incoming messages from IRQ context, change
the indication list lock to a spinlock
Signed-off-by: Bjorn Andersson
---
drivers/net/wireless/ath/wcn36xx/smd.c | 12 ++--
drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 2 +-
2 files changed, 7 insertions(+), 7 d
Add binding representing the Qualcomm wcn3620/60/80 WiFi block.
Signed-off-by: Bjorn Andersson
---
.../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 ++
1 file changed, 76 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net/wireless/qcom,wcn36xx-wif
From: Rob Swindell
NC-SI firmware of type apeFW (10) is now supported.
Signed-off-by: Rob Swindell
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
b/driv
1. Use local variable pf for repeated access to this pointer.
2. The 2nd argument num_vfs was unnecessarily declared as pointer to int.
This function doesn't change num_vfs so change the argument to int.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 33 +
We need to keep track of all resources, such as rx rings, tx rings,
cmpl rings, rss contexts, stats contexts, vnics, after we have
divided them for the VFs. Otherwise, subsequent ring changes on
the PF may not work correctly.
We adjust all max resources in struct bnxt_pf_info after they have been
From: David Christensen
Added the PCI IDs for the BCM57301 and BCM57402 controllers.
Signed-off-by: David Christensen
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/b
If hardware completes single segment rx frames, don't bother setting
up all the GRO related fields. Pass the SKB up as a normal frame.
Reviewed-by: vasundhara volam
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletio
Newer firmware will return the ring group resource when we call
hwrm_func_qcaps(). To be compatible with older firmware, use the
number of tx rings as the number of ring groups if the older firmware
returns 0. When determining how many rx rings we can support, take
the ring group resource in acco
From: Jeffrey Huang
During remove_one, the driver should issue hwrm_func_drv_unrgtr
command to inform firmware that this function has been unloaded.
This is to let firmware keep track of driver present/absent state
when driver is gracefully unloaded. A keep alive timer is needed
later to keep tra
From: Satish Baddipadige
rx_l4_csum_error is now incremented only when offload is enabled
Signed-off-by: Satish Baddipadige
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/
Remove the unnecessary "if" statement before the "for" statement:
if (x) {
for (i = 0; i < x; i++)
...
}
Also, change the ring free function to return void as it only returns 0.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 201 +---
The hardware resources required to enable NTUPLE varies depending on
how many rx channels are configured. We need to make sure we have the
resources before we enable NTUPLE. Add bnxt_rfs_capable() to do the
checking.
In addition, we need to do the same checking in ndo_fix_features(). As
the rx
This interface will be forward compatible with future changes.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 33 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 8 +-
drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 865 +---
drive
Mainly clean-ups, optimizations, and updating to the latest firmware
interface spec.
Michael Chan (12):
bnxt_en: support hwrm_func_drv_unrgtr command
bnxt_en: Optimize ring alloc and ring free functions.
bnxt_en: Add support for upgrading APE/NC-SI firmware via Ethtool
FLASHDEV
bnxt_en
Also, no need to check for bp->rx_nr_rings as it is always >= 1. If the
allocation fails, it is not a fatal error and we can still proceed.
Signed-off-by: Michael Chan
---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/ne
Now that {cpu|edmac}_to_{edmac|cpu}() functions boiled down to the mere
{cpu|le32}_to_{le32|cpu}() calls, there's no need for these functions
anymore, so just get rid of them.
Signed-off-by: Sergei Shtylyov
---
drivers/net/ethernet/renesas/sh_eth.c | 72 +-
1 f
Commit 71557a37adb5 ("[netdrvr] sh_eth: Add SH7619 support") added support
for the big-endian EDMAC descriptors. However, it was never used and never
worked right until the recent driver fixes. I think we now can just remove
this support, it was only burdening the driver from the start. It shou
Hello.
Here's a set of 2 patches against DaveM's 'net-next.git' repo plus the
recently merged to 'net.git' repo fix for the 16-bit descriptor endianness.
We get rid of ~30 LoCs and ~300 bytes of code.
[1/2] sh_eth: remove EDMAC_BIG_ENDIAN
[2/2] sh_eth: get rid of {cpu|edmac}_to_{edmac|cpu}()
The qlcnic_dcb_ops structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c |4 ++--
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h |2 +-
2 files changed, 3 insertions(+)
On 27/12/2015 04:28, Florian Fainelli wrote:
> Le 25/12/2015 16:27, Martin Blumenstingl wrote:
>
>> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
>> index f566b6e..0b262a2 100644
>> --- a/drivers/net/phy/at803x.c
>> +++ b/drivers/net/phy/at803x.c
>> @@ -36,8 +36,10 @@
>> #defin
On 2015/11/06, Dmitry Vyukov reported a deadlock involving the splice
system call and AF_UNIX sockets,
http://lists.openwall.net/netdev/2015/11/06/24
The situation was analyzed as
(a while ago) A: socketpair()
B: splice() from a pipe to /mnt/regular_file
does sb_start_write() on /mnt
C:
On Sun, Dec 27, 2015 at 12:07:15PM -0800, Florian Fainelli wrote:
> On December 27, 2015 3:58:25 AM PST, Andrew Lunn wrote:
> >This patchset add ethtool support for reading statistics from the PHY.
> >The Marvell and Micrel Phys are then extended to report receiver
> >packet errors and idle errors
On December 27, 2015 3:58:25 AM PST, Andrew Lunn wrote:
>This patchset add ethtool support for reading statistics from the PHY.
>The Marvell and Micrel Phys are then extended to report receiver
>packet errors and idle errors.
Reviewed-by: Florian Fainelli
This is very useful, thanks! I like tha
Fixes: ceb5d58b2170 ("net: fix sock_wake_async() rcu protection")
Commit ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") from
the current 4.4 release cycle introduces a new flags member in
struct socket_wq and moved SOCKWQ_ASYNC_NOSPACE and SOCKWQ_ASYNC_WAITDATA
from struct socket's fla
On Sun, Dec 27, 2015 at 03:23:30PM +0200, Andy Shevchenko wrote:
> On Sun, Dec 27, 2015 at 3:15 PM, Geliang Tang wrote:
> > Use to_platform_device() instead of open-coding it.
> >
> > Signed-off-by: Geliang Tang
> > ---
> > drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 3 +--
> > 1 file ch
>> https://cwe.mitre.org/data/definitions/252.html
>
> The value is not unchecked.
Would you like to express any stronger relationship between
the function call example and the occurrence of an if statement
by the discussed SmPL script?
> I made a specific rule because the specific problem is q
On Sun, Dec 27, 2015 at 4:28 AM, Florian Fainelli wrote:
>> Signed-off-by: Martin Blumenstingl
>> ---
>> drivers/net/phy/at803x.c | 78
>> ++--
>> 1 file changed, 69 insertions(+), 9 deletions(-)
>>
>> diff --git a/drivers/net/phy/at803x.c b/drivers/n
On Sun, Dec 27, 2015 at 3:15 PM, Geliang Tang wrote:
> Use to_platform_device() instead of open-coding it.
>
> Signed-off-by: Geliang Tang
> ---
> drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/his
Use to_platform_device() instead of open-coding it.
Signed-off-by: Geliang Tang
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
b/drivers/net/ethernet/hisilicon/hns/hns_
The PHY counters receiver errors and errors while idle.
Signed-off-by: Andrew Lunn
---
drivers/net/phy/marvell.c | 135 ++
1 file changed, 135 insertions(+)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 0240552b50f3..50b5eac
This patchset add ethtool support for reading statistics from the PHY.
The Marvell and Micrel Phys are then extended to report receiver
packet errors and idle errors.
v2:
Fix linking when phylib is not enabled.
Andrew Lunn (3):
ethtool: Add phy statistics
phy: marvell: Add ethtool statistic
Ethernet PHYs can maintain statistics, for example errors while idle
and receive errors. Add an ethertool mechanism to retrieve these
statistics, using the same model as MAC statistics.
Signed-off-by: Andrew Lunn
---
drivers/net/phy/phy.c| 35 +++
include/linux/ph
The PHY counters receiver errors and errors while idle.
Signed-off-by: Andrew Lunn
---
drivers/net/phy/micrel.c | 96
1 file changed, 96 insertions(+)
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index e13ad6cdcc22..1a6048a8c2
On Sun, 27 Dec 2015, SF Markus Elfring wrote:
> > The error return value of platform_get_irq seems to often get dropped.
>
> How do you think about any more fine-tuning here?
>
> Commit message:
> * … of the platform_get_irq() function seems to get dropped too often.
>
> * Why do you concentr
On 12/27/2015 9:13 AM, Julia Lawall wrote:
Well, looking again, the patch should be good. I just thought its goal was
to fix the code as well...
I could do that for the irq < 0 case, but I think that in that case, kbuild
will only run the patch version, and the <= cases will not be reporte
Use to_pci_dev() instead of open-coding it.
Signed-off-by: Geliang Tang
---
drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
index 36818c7.
Use to_pci_dev() instead of open-coding it.
Signed-off-by: Geliang Tang
---
drivers/ssb/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c
index 0f28c08..67428f4 100644
--- a/drivers/ssb/pci.c
+++ b/drivers/ssb/pci.c
@@ -1130,7 +11
Use to_pci_dev() instead of open-coding it.
Signed-off-by: Geliang Tang
---
drivers/atm/solos-pci.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index 0c2b4ba0..6ac2b2b 100644
--- a/drivers/atm/solos-pci.c
+++ b/drive
71 matches
Mail list logo