Re: [PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Willem de Bruijn
>> What is the issue with using separate sockets that you are >> having? I generally end up using that even with V2. > > Why do you end up having to use 2 sockets with V2? That part > worked out quite nicely for my case (for a simple netserver like > req/resp handler). Yes, that should work fine,

[PATCH] Introduce a sysctl that modifies the value of PROT_SOCK.

2016-12-30 Thread Krister Johansen
Add net.ipv4.ip_unprotected_port_start, which is a per namespace sysctl that denotes the first unprotected inet port in the namespace. To disable all protected ports set this to zero. It also checks for overlap with the local port range. The protected and local range may not overlap. The use ca

[PATCH] Ipvlan should return an error when an address is already in use.

2016-12-30 Thread Krister Johansen
The ipvlan code already knows how to detect when a duplicate address is about to be assigned to an ipvlan device. However, that failure is not propogated outward and leads to a silent failure. This teaches the ip address addition functions how to report this error to the user applications so that

Re: [PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Sowmini Varadhan
On (12/30/16 18:39), Willem de Bruijn wrote: > > Variable length slots seems like the only one from that list that > makes sense on Tx. > > It is already possible to prepare multiple buffers before triggering > transmit, so the block-based signal moderation is not very relevant. FWIW, here is ou

Re: [PATCH net-next rfc 0/6] convert tc_verd to integer bitfields

2016-12-30 Thread Willem de Bruijn
On Thu, Dec 29, 2016 at 10:21 PM, David Miller wrote: > From: Willem de Bruijn > Date: Wed, 28 Dec 2016 14:13:24 -0500 > >> The skb tc_verd field takes up two bytes but uses far fewer bits. >> Convert the remaining use cases to bitfields that fit in existing >> holes (depending on config options)

[PATCH] net: socket: don't set sk_uid to garbage value in ->setattr()

2016-12-30 Thread Eric Biggers
From: Eric Biggers ->setattr() was recently implemented for socket files to sync the socket inode's uid to the new 'sk_uid' member of struct sock. It does this by copying over the ia_uid member of struct iattr. However, ia_uid is actually only valid when ATTR_UID is set in ia_valid, indicating

Re: [PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Willem de Bruijn
>> Once we define the interface as equivalent to v2, we cannot redefine it to >> support v3-only features later. > > What v3 only features do we think we want to support? Variable length slots seems like the only one from that list that makes sense on Tx. It is already possible to prepare multipl

Bug w/ (policy) routing

2016-12-30 Thread Olivier Brunel
Hi, (Please cc me as I'm not subscribed to the list, thanks.) I'm trying to set things up using some policy routing, and having some weird issues I can't really explain. It looks to me like there might be a bug somewhere... This is done under Arch Linux 64bits, iproute2 4.9.0 (`ip -V` says ip ut

Re: [PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Sowmini Varadhan
On (12/30/16 16:33), Willem de Bruijn wrote: > > Once we define the interface as equivalent to v2, we cannot redefine it to > support v3-only features later. What v3 only features do we think we want to support? Tpacket_v3 went in commit f6fb8f100b807378fda19e83e5ac6828b638603a : Date:

Re: [PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Willem de Bruijn
On Fri, Dec 30, 2016 at 11:54 AM, Sowmini Varadhan wrote: > Although TPACKET_V3 Rx has some benefits over TPACKET_V2 Rx, > *_v3 does not currently have Tx support. As a result an application > that wants the best perf for Tx and Rx (e.g. to handle > request/response transacations) ends up needing

Re: [PATCH v4 2/2] net: 3com: typhoon: typhoon_init_one: make return values more specific

2016-12-30 Thread David Miller
From: Thomas Preisner Date: Fri, 30 Dec 2016 03:37:54 +0100 > In some cases the return value of a failing function is not being used > and the function typhoon_init_one() returns another negative error code > instead. > > Signed-off-by: Thomas Preisner > Signed-off-by: Milan Stephan Applied t

Re: [PATCH v4 1/2] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

2016-12-30 Thread David Miller
From: Thomas Preisner Date: Fri, 30 Dec 2016 03:37:53 +0100 > In a few cases the err-variable is not set to a negative error code if a > function call in typhoon_init_one() fails and thus 0 is returned > instead. > It may be better to set err to the appropriate negative error > code before return

Re: [PATCH v1 0/2] bpf: add longest prefix match map

2016-12-30 Thread David Miller
From: Daniel Mack Date: Thu, 29 Dec 2016 18:28:53 +0100 > This patch set adds a longest prefix match algorithm that can be used > to match IP addresses to a stored set of ranges. It is exposed as a > bpf map type. > > Internally, data is stored in an unbalanced tree of nodes that has a > maxi

Re: [PATCH net-next] net: Allow IP_MULTICAST_IF to set index to L3 slave

2016-12-30 Thread David Miller
From: David Ahern Date: Thu, 29 Dec 2016 15:39:37 -0800 > IP_MULTICAST_IF fails if sk_bound_dev_if is already set and the new index > does not match it. e.g., > > ntpd[15381]: setsockopt IP_MULTICAST_IF 192.168.1.23 fails: Invalid > argument > > Relax the check in setsockopt to allow setti

Re: [PATCH] ipv4: make tcp_notsent_lowat sysctl knob behave as true unsigned int

2016-12-30 Thread David Miller
From: Pavel Tikhomirov Date: Thu, 29 Dec 2016 17:35:07 +0300 > @@ -958,7 +959,9 @@ static struct ctl_table ipv4_net_table[] = { > .data = &init_net.ipv4.sysctl_tcp_notsent_lowat, > .maxlen = sizeof(unsigned int), > .mode = 0644

Re: [PATCH v2] scm: fix possible control message header alignment issue

2016-12-30 Thread David Miller
From: yuan linyu Date: Thu, 29 Dec 2016 20:39:32 +0800 > From: yuan linyu > > 1. put_cmsg{_compat}() may copy data to user when buffer free space less than >control message header alignment size. > 2. scm_detach_fds{_compat}() may calc wrong fdmax if control message header >have greater

[PATCH net 0/2] l2tp: socket lookup fixes for l2tp_ip and l2tp_ip6

2016-12-30 Thread Guillaume Nault
There are still some cases that aren't correctly handled in the socket lookup functions of l2tp_ip and l2tp_ip6. This series fixes lookups for connected sockets and for sockets bound to the IPv6 unspecified address. bind() and connect() should now work as expected on IPPROTO_L2TP sockets. Extra fe

[PATCH net 1/2] l2tp: consider '::' as wildcard address in l2tp_ip6 socket lookup

2016-12-30 Thread Guillaume Nault
An L2TP socket bound to the unspecified address should match with any address. If not, it can't receive any packet and __l2tp_ip6_bind_lookup() can't prevent another socket from binding on the same device/tunnel ID. While there, rename the 'addr' variable to 'sk_laddr' (local addr), to make follow

[PATCH net 2/2] l2tp: take remote address into account in l2tp_ip and l2tp_ip6 socket lookups

2016-12-30 Thread Guillaume Nault
For connected sockets, __l2tp_ip{,6}_bind_lookup() needs to check the remote IP when looking for a matching socket. Otherwise a connected socket can receive traffic not originating from its peer. Drop l2tp_ip_bind_lookup() and l2tp_ip6_bind_lookup() instead of updating their prototype, as these fu

Re: [net-next PATCH 3/6] i40e: Sync link state between VFs and VFPRs

2016-12-30 Thread Samudrala, Sridhar
On 12/30/2016 7:43 AM, Or Gerlitz wrote: On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala wrote: [..] - enable/disable VF link state via ndo_set_vf_link_state will update the admin state of associated VFPR. why you want to do that? anything missing here w.o using the legacy mode? Nothing

Re: [net-next PATCH 5/6] i40e: Add TX and RX support in switchdev mode.

2016-12-30 Thread Samudrala, Sridhar
On 12/30/2016 7:31 AM, Or Gerlitz wrote: On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala wrote: In switchdev mode, broadcast filter is not enabled on VFs, The broadcasts and nit ", The broadcast" --> ", the broadcasts" or ". The broadcasts" unknown frames from VFs are received by the PF a

[PATCH net-next] af_packet: Provide a TPACKET_V2 compatible Tx path for TPACKET_V3

2016-12-30 Thread Sowmini Varadhan
Although TPACKET_V3 Rx has some benefits over TPACKET_V2 Rx, *_v3 does not currently have Tx support. As a result an application that wants the best perf for Tx and Rx (e.g. to handle request/response transacations) ends up needing 2 sockets, one with *_v2 for Tx and another with *_v3 for Rx. This

Re: [net-next PATCH 0/6] i40e: Add VF port representator support or SR-IOV VFs

2016-12-30 Thread Samudrala, Sridhar
On 12/29/2016 6:53 PM, David Miller wrote: From: Sridhar Samudrala Date: Thu, 29 Dec 2016 22:20:57 -0800 - Patch 1 introduces devlink interface to get/set the mode of SRIOV switch. - Patch 2 adds support to create VF port representor(VFPR) netdevs associated with SR-IOV VFs that can be used

Re: [net-next PATCH 3/6] i40e: Sync link state between VFs and VFPRs

2016-12-30 Thread Or Gerlitz
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala wrote: [..] > - enable/disable VF link state via ndo_set_vf_link_state will update the > admin state of associated VFPR. why you want to do that? anything missing here w.o using the legacy mode?

Re: [net-next PATCH 5/6] i40e: Add TX and RX support in switchdev mode.

2016-12-30 Thread Or Gerlitz
On Fri, Dec 30, 2016 at 8:21 AM, Sridhar Samudrala wrote: > In switchdev mode, broadcast filter is not enabled on VFs, The broadcasts and nit ", The broadcast" --> ", the broadcasts" or ". The broadcasts" > unknown frames from VFs are received by the PF and passed to corresponding VF > port repr

[PATCH][V3] rtlwifi: fix spelling mistake: "encrypiton" -> "encryption"

2016-12-30 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in RT_TRACE message Signed-off-by: Colin Ian King --- drivers/net/wireless/realtek/rtlwifi/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek

Re: [PATCH][V2] [media] gp8psk: fix spelling mistake: "firmare" -> "firmware"

2016-12-30 Thread Kalle Valo
Colin King writes: > From: Colin Ian King > > Trivial fix to spelling mistake in err message. Also change "don't" to > "does not". > > Signed-off-by: Colin Ian King > --- > drivers/media/usb/dvb-usb/gp8psk.c | 2 +- > drivers/net/wireless/realtek/rtlwifi/core.c | 2 +- > 2 files chang

[PATCH] ath9k: fix spelling mistake: "meaurement" -> "measurement"

2016-12-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ath_err message Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath9k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index a35

Re: brcmfmac: fix spelling mistakes on "Ivalid"

2016-12-30 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > Trivial fixes to spelling mistake "Ivalid" to "Invalid" in > brcmf_err error messages. > > Signed-off-by: Colin Ian King > Acked-by: Arend van Spriel Patch applied to wireless-drivers-next.git, thanks. ad334bbb07b0 brcmfmac: fix spelling mist

Re: rtlwifi: fix spelling mistake: "contry" -> "country"

2016-12-30 Thread Kalle Valo
Colin Ian King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in RT_TRACE message > > Signed-off-by: Colin Ian King > Acked-by: Larry Finger Patch applied to wireless-drivers-next.git, thanks. 3b1fc7680a0f rtlwifi: fix spelling mistake: "contry" -> "country" -- https://

Re: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ > identifier i; > posi

Re: net: wireless: marvell: libertas: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ > identifier i; > posi

Re: net: wireless: ath: wil6210: constify cfg80211_ops structures

2016-12-30 Thread Kalle Valo
Bhumika Goyal wrote: > cfg80211_ops structures are only passed as an argument to the function > wiphy_new. This argument is of type const, so cfg80211_ops strutures > having this property can be declared as const. > Done using Coccinelle > > @r1 disable optional_qualifier @ > identifier i; > posi

RE: [net-next 15/21] ixgbe: Configure advertised speeds correctly for KR/KX backplane

2016-12-30 Thread Rosen, Rami
Hi, Hi, On this occasion, also the next can be fixed: > From: Don Skidmore > > This patch ensures that the advertised link speeds are configured for > X553 KR/KX backplane. Without this patch the link remains at 1G when > resuming form low power after being downshifted by LPLU. Should be "f

[PATCH] net: stmmac: remove unused duplicate property snps,axi_all

2016-12-30 Thread Niklas Cassel
From: Niklas Cassel For core revision 3.x Address-Aligned Beats is available in two registers. The DT property snps,aal was created for AAL in the DMA bus register, which is a read/write bit. The DT property snps,axi_all was created for AXI_AAL in the AXI bus mode register, which is a read only b

More info about lockless qdisc patch

2016-12-30 Thread Xingjun Liu
Hi John, I note you have a patch request last august about "support lockless qdisc”, see: https://www.mail-archive.com/netdev@vger.kernel.org/msg124489.html We take an interest in it. Do you have any info/plan on this patch? Thanks Xingjun

Re: [net-next 15/21] ixgbe: Configure advertised speeds correctly for KR/KX backplane

2016-12-30 Thread Sergei Shtylyov
Hello. On 12/30/2016 12:33 PM, Jeff Kirsher wrote: From: Don Skidmore This patch ensures that the advertised link speeds are configured for X553 KR/KX backplane. Without this patch the link remains at 1G when resuming form low power after being downshifted by LPLU. Signed-off-by: Don Skidmo

Re: [net-next 12/21] ixgbevf: fix AER error handling

2016-12-30 Thread Sergei Shtylyov
Hello! On 12/30/2016 12:33 PM, Jeff Kirsher wrote: From: Emil Tantilov Make sure that we free the IRQs in ixgbevf_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. Previously it was possible to trigger BUG_ON() check in free_m

admin

2016-12-30 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

[net-next 17/21] ixgbe: Remove unused firmware version functions and method

2016-12-30 Thread Jeff Kirsher
From: Mark Rustad The firmware version method and functions are not used anywhere, so remove them all. Signed-off-by: Mark Rustad Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c | 2 -- drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c

[net-next 02/21] ixgbe: Report driver version to firmware for x550 devices

2016-12-30 Thread Jeff Kirsher
From: Tony Nguyen Some x550 devices require the driver version reported to its firmware; this patch sends the driver version string to the firmware through the host interface command for x550 devices. Signed-off-by: Tony Nguyen Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers

[net-next 21/21] ixgbe: Add PF support for VF promiscuous mode

2016-12-30 Thread Jeff Kirsher
From: Don Skidmore This patch extends the xcast mailbox message to include support for unicast promiscuous mode. To allow a VF to enter this mode the PF must be in promiscuous mode. A later patch will add the support needed in the VF driver (ixgbevf) Signed-off-by: Don Skidmore Tested-by: And

[net-next 20/21] ixgbevf: Add support for VF promiscuous mode

2016-12-30 Thread Jeff Kirsher
From: Don Skidmore This patch extends the mailbox message to allow for VF promiscuous mode support. Signed-off-by: Don Skidmore Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 1 + drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c

[net-next 06/21] ixgbe: Reduce I2C retry count on X550 devices

2016-12-30 Thread Jeff Kirsher
From: Tony Nguyen A retry count of 10 is likely to run into problems on X550 devices that have to detect and reset unresponsive CS4227 devices. So, reduce the I2C retry count to 3 for X550 and above. This should avoid any possible regressions in existing devices. Signed-off-by: Tony Nguyen Test

[net-next 18/21] ixgbe: Implement firmware interface to access some PHYs

2016-12-30 Thread Jeff Kirsher
From: Mark Rustad Implement new interface for firmware commands to access some PHYs. Signed-off-by: Mark Rustad Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_common.h | 2 + drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 66

[net-next 04/21] ixgbe: add mask for 64 RSS queues

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov The indirection table was reported incorrectly for X550 and newer where we can support up to 64 RSS queues. Reported-by Krishneil Singh Signed-off-by: Emil Tantilov Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 8

[net-next 07/21] ixgbe: Fix reporting of 100Mb capability

2016-12-30 Thread Jeff Kirsher
From: Tony Nguyen BaseT adapters that are capable of supporting 100Mb are not reporting this capability. This patch corrects the reporting so that 100Mb is shown as supported on those adapters. Signed-off-by: Tony Nguyen Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/e

[net-next 09/21] ixgbevf: handle race between close and suspend on shutdown

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov When an interface is part of a namespace it is possible that ixgbevf_close() may be called while ixgbevf_suspend() is running which ends up in a double free WARN and/or a BUG in free_msi_irqs() To handle this situation we extend the rtnl_lock() to protect the call to netif_de

[net-next 13/21] ixgbe: Fix incorrect bitwise operations of PTP Rx timestamp flags

2016-12-30 Thread Jeff Kirsher
From: Yusuke Suzuki Rx timestamp does not work on 82599 and X540 because bitwise operation of RX_HWTSTAMP flags is incorrect and ixgbe_ptp_rx_hwtstamp() is never called. This patch fixes it to enable Rx timestamp on 82599 and X540. Without this fix: ptp4l[278.730]: selected /dev/ptp8 as PTP cloc

[net-next 19/21] ixgbe: Implement support for firmware-controlled PHYs

2016-12-30 Thread Jeff Kirsher
From: Mark Rustad Implement support for devices that have firmware-controlled PHYs. Signed-off-by: Mark Rustad Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 4 + drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 9 + driver

[net-next 12/21] ixgbevf: fix AER error handling

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov Make sure that we free the IRQs in ixgbevf_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. Previously it was possible to trigger BUG_ON() check in free_msix_irqs() in the case where we call ixgbevf_remove() a

[net-next 14/21] ixgbevf: restore hw_addr on resume or error

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov Restore adapter->hw.hw_addr after handling an error, or a resume operation to make sure we can access the registers. Signed-off-by: Emil Tantilov Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 3 +++ 1 file cha

[net-next 05/21] ixgbe: Add bounds check for x540 LED functions

2016-12-30 Thread Jeff Kirsher
From: Tony Nguyen This is an extension of commit 003287e0f087 ("ixgbevf: Correct parameter sent to LED function"); add bounds checking to x540 functions to ensure the index is valid. Signed-off-by: Tony Nguyen Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/inte

[net-next 11/21] ixgbe: fix AER error handling

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov Make sure that we free the IRQs in ixgbe_io_error_detected() when responding to an PCIe AER error and also restore them when the interface recovers from it. Previously it was possible to trigger BUG_ON() check in free_msix_irqs() in the case where we call ixgbe_remove() after

[net-next 08/21] ixgbe: handle close/suspend race with netif_device_detach/present

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in free_msi_irqs(). To handle this situation we extend the rtnl_lock() to protect the call to netif_de

[net-next 10/21] ixgbe: test for trust in macvlan adjustments for VF

2016-12-30 Thread Jeff Kirsher
From: Ken Cox There are two methods for setting mac addresses in a Macvlan, that differentiate themselves in the function macvlan_set_mac_Address. If the macvlan mode is passthru, then we use the dev_set_mac_address method, otherwise we use the dev_uc api via macvlan_sync_addresses. The latter me

[net-next 00/21][pull request] 10GbE Intel Wired LAN Driver Updates 2016-12-29

2016-12-30 Thread Jeff Kirsher
This series contains updates to ixgbe and ixgbevf only. Emil fixes ixgbe to use the NVM settings for FEC, so do not override the settings. Fixed the indirection table for x550, where newer devices can support up to 64 RSS queues. Extends the rtnl_lock() to protect the call to netif_device_detach

[net-next 15/21] ixgbe: Configure advertised speeds correctly for KR/KX backplane

2016-12-30 Thread Jeff Kirsher
From: Don Skidmore This patch ensures that the advertised link speeds are configured for X553 KR/KX backplane. Without this patch the link remains at 1G when resuming form low power after being downshifted by LPLU. Signed-off-by: Don Skidmore Signed-off-by: Jeff Kirsher --- drivers/net/ether

[net-next 01/21] ixgbe: do not disable FEC from the driver

2016-12-30 Thread Jeff Kirsher
From: Emil Tantilov FEC is configured by the NVM and the driver should not be overriding it. Signed-off-by: Emil Tantilov Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/

[net-next 03/21] ixgbe: Fix check for ixgbe_phy_x550em_ext_t reset

2016-12-30 Thread Jeff Kirsher
From: Tony Nguyen The generic PHY reset check we had previously is not sufficient for the ixgbe_phy_x550em_ext_t PHY type. Check 1.CC02.0 instead - same as ixgbe_init_ext_t_x550(). Signed-off-by: Tony Nguyen Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel

[net-next 16/21] ixgbe: Fix issues with EEPROM access

2016-12-30 Thread Jeff Kirsher
From: Mark Rustad There are two problems with EEPROM access. One is that it needs to hold the semaphore until the entire response is read or else the response can be corrupted by other firmware accesses. The second problem is that acquiring and releasing the semaphore is slow, so it should be tak

[PATCH v3] net: ethernet: faraday: To support device tree usage.

2016-12-30 Thread Greentime Hu
Signed-off-by: Greentime Hu --- Changes in v3: - Nothing changed in this patch but I have committed andestech to vendor-prefixes.txt. drivers/net/ethernet/faraday/ftmac100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/et