[PATCH net-next v5 0/2] add UniPhier AVE ethernet support

2017-12-10 Thread Kunihiko Hayashi
This series adds support for Socionext AVE ethernet controller implemented on UniPhier SoCs. This driver supports RGMII/RMII modes. v4: https://www.spinics.net/lists/netdev/msg469294.html The PHY patch included in v1 has already separated in: http://www.spinics.net/lists/netdev/msg454595.html Ch

[PATCH net-next v5 2/2] net: ethernet: socionext: add AVE ethernet driver

2017-12-10 Thread Kunihiko Hayashi
The UniPhier platform from Socionext provides the AVE ethernet controller that includes MAC and MDIO bus supporting RGMII/RMII modes. The controller is named AVE. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Reviewed-by: Andrew Lunn --- drivers/net/ethernet/Kconfig |

[PATCH net-next v5 1/2] dt-bindings: net: add DT bindings for Socionext UniPhier AVE

2017-12-10 Thread Kunihiko Hayashi
DT bindings for the AVE ethernet controller found on Socionext's UniPhier platforms. Signed-off-by: Kunihiko Hayashi Signed-off-by: Jassi Brar Acked-by: Rob Herring --- .../bindings/net/socionext,uniphier-ave4.txt | 48 ++ 1 file changed, 48 insertions(+) create mode

[PATCH] e1000e: Fix e1000_check_for_copper_link_ich8lan return value.

2017-12-10 Thread Benjamin Poirier
e1000e_check_for_copper_link() and e1000_check_for_copper_link_ich8lan() are the two functions that may be assigned to mac.ops.check_for_link when phy.media_type == e1000_media_type_copper. Commit 19110cfbb34d ("e1000e: Separate signaling for link check/link up") changed the meaning of the return v

Re: [PATCH v4 0/4] Teach phylib hard-resetting devices

2017-12-10 Thread Simon Horman
On Mon, Dec 04, 2017 at 11:34:48AM +0100, Geert Uytterhoeven wrote: > Hi David, Andrew, Florian, Simon, Magnus, > > This patch series adds optional PHY reset support to phylib. > > The first two patches are destined for David's net-next tree. They add > core PHY reset code, and update a dri

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Jie Deng
On 2017/12/11 13:38, Al Viro wrote: > On Mon, Dec 11, 2017 at 05:05:20AM +, Al Viro wrote: > >> What for? Sure, this variant will work, but why bother with >> a = le32_to_cpu(b); >> (cpu_to_le32(a) & ) | >> and how is that better than >> (b & ...) | ... >> >> IDGI...

Re: [PATCH net-next v3 1/5] net: Introduce NETIF_F_GRO_HW.

2017-12-10 Thread Michael Chan
On Sun, Dec 10, 2017 at 9:02 AM, Alexander Duyck wrote: > On Sat, Dec 9, 2017 at 10:40 PM, Michael Chan > wrote: >> It is possible that if you have incoming packets 1, 2, 3, 4, 5 for a >> TCP connection, HW_GRO can aggregate packets 1, 2, 3, but cannot >> aggregate packets 4 and 5 due to hardwar

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Jie Deng
On 2017/12/11 13:05, Al Viro wrote: > On Mon, Dec 11, 2017 at 12:33:42PM +0800, Jie Deng wrote: >> Hi AI Viro, >>> @@ -125,8 +125,8 @@ >>> typeof(len) _len = (len); \ >>> typeof(val) _val = (val); \ >>> _val =

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Al Viro
On Mon, Dec 11, 2017 at 05:05:20AM +, Al Viro wrote: > What for? Sure, this variant will work, but why bother with > a = le32_to_cpu(b); > (cpu_to_le32(a) & ) | > and how is that better than > (b & ...) | ... > > IDGI... Mind you, I'm not sure if there is any poin

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Al Viro
On Mon, Dec 11, 2017 at 12:33:42PM +0800, Jie Deng wrote: > Hi AI Viro, > > @@ -125,8 +125,8 @@ > > typeof(len) _len = (len); \ > > typeof(val) _val = (val); \ > > _val = (_val << _pos) & GENMASK(_pos + _len - 1

RE: [PATCH net-next] netdevsim: correctly check return value of debugfs_create_dir

2017-12-10 Thread Prashant Bhole
> From: David Miller [mailto:da...@davemloft.net] > > From: Prashant Bhole > Date: Fri, 8 Dec 2017 09:52:50 +0900 > > > Return value is now checked with IS_ERROR_OR_NULL because > > debugfs_create_dir doesn't return error value. It either returns NULL > > or a valid pointer. > > > > Signed-off

Re: [RFC][PATCH] apparent big-endian bugs in dwc-xlgmac

2017-12-10 Thread Jie Deng
Hi AI Viro, On 2017/12/10 12:53, Al Viro wrote: > In xlgmac_dev_xmit(): > > /* Mark it as a CONTEXT descriptor */ > dma_desc->desc3 = XLGMAC_SET_REG_BITS_LE( > dma_desc->desc3, >

Re: [PATCH 27/45] net: remove duplicate includes

2017-12-10 Thread David Miller
From: Pravin Shedge Date: Sun, 10 Dec 2017 23:30:21 +0530 > On Thu, Dec 7, 2017 at 2:28 AM, David Miller wrote: >> From: Pravin Shedge >> Date: Wed, 6 Dec 2017 23:02:58 +0530 >> >>> These duplicate includes have been found with scripts/checkincludes.pl but >>> they have been removed manually t

Re: [PATCH] ptp: make PTP a menuconfig to ease disabling it all

2017-12-10 Thread Richard Cochran
On Sat, Dec 09, 2017 at 04:07:15PM +0100, Vincent Legoll wrote: > No need to get into the submenu to disable all PTP-related > config entries. > > This makes it easier to disable all PTP config options > without entering the submenu. It will also enable one > to see that en/dis-abled state from th

Re: [PATCH net-next v3 2/5] net: Disable GRO_HW when generic XDP is installed on a device.

2017-12-10 Thread Alexander Duyck
On Sat, Dec 9, 2017 at 10:49 PM, Michael Chan wrote: > On Sat, Dec 9, 2017 at 2:37 PM, Alexander Duyck > wrote: >> On Sat, Dec 9, 2017 at 1:40 PM, Michael Chan >> wrote: >>> On Sat, Dec 9, 2017 at 10:56 AM, Alexander Duyck >>> wrote: I think these two lines are redundant in dev_disable_lr

Re: Linux 4.15-rc3 (uml + bpf_perf_event.h)

2017-12-10 Thread Randy Dunlap
On 12/10/2017 06:08 PM, Linus Torvalds wrote: > Another week, another rc. > um (uml) won't build on i386 or x86_64: CC init/main.o In file included from ../include/linux/perf_event.h:18:0, from ../include/linux/trace_events.h:10, from ../include/trace/sys

Re: [PATCH net-next] libbpf: add function to setup XDP

2017-12-10 Thread Toshiaki Makita
On 2017/12/09 23:43, Eric Leblond wrote: > Most of the code is taken from set_link_xdp_fd() in bpf_load.c and > slightly modified to be library compliant. > > Signed-off-by: Eric Leblond ... > +int bpf_set_link_xdp_fd(int ifindex, int fd, __u32 flags) ... > + for (nh = (struct nlmsghdr *)buf;

[PATCH net-next 3/3] tcp: smoother receiver autotuning

2017-12-10 Thread Eric Dumazet
Back in linux-3.13 (commit b0983d3c9b13 ("tcp: fix dynamic right sizing")) I addressed the pressing issues we had with receiver autotuning. But DRS suffers from extra latencies caused by rcv_rtt_est.rtt_us drifts. One common problem happens during slow start, since the apparent RTT measured by the

[PATCH net-next 2/3] tcp: avoid integer overflows in tcp_rcv_space_adjust()

2017-12-10 Thread Eric Dumazet
When using large tcp_rmem[2] values (I did tests with 500 MB), I noticed overflows while computing rcvwin. Lets fix this before the following patch. Signed-off-by: Eric Dumazet Acked-by: Soheil Hassas Yeganeh Acked-by: Wei Wang --- include/linux/tcp.h | 2 +- net/ipv4/tcp_input.c | 12 +

[PATCH net-next 0/3] tcp: better receiver autotuning

2017-12-10 Thread Eric Dumazet
Now TCP senders no longer backoff when a drop is detected, it appears we are very often receive window limited. This series makes tcp_rcv_space_adjust() slightly more robust and responsive. Eric Dumazet (3): tcp: do not overshoot window_clamp in tcp_rcv_space_adjust() tcp: avoid integer overf

[PATCH net-next 1/3] tcp: do not overshoot window_clamp in tcp_rcv_space_adjust()

2017-12-10 Thread Eric Dumazet
While rcvbuf is properly clamped by tcp_rmem[2], rcvwin is left to a potentially too big value. It has no serious effect, since : 1) tcp_grow_window() has very strict checks. 2) window_clamp can be mangled by user space to any value anyway. tcp_init_buffer_space() and companions use tcp_full_spac

RE: [PATCH] dt-bindings: fec: Make the phy-reset-gpio polarity explicit

2017-12-10 Thread Andy Duan
From: Fabio Estevam Sent: Friday, December 08, 2017 10:12 PM >The GPIO polarity passed to phy-reset-gpio is ignored by the FEC driver and it >is assumed to be active low. > >It can be active high only when the 'phy-reset-active-high' property is >present. > >The current examples pass active high

Re: [BUG] mveta: mvneta_txq_bufs_free NULL pointer dereference

2017-12-10 Thread Simon Guinot
On Sat, Dec 02, 2017 at 12:06:12PM +0100, Sean Nyekjær wrote: > Hi > > >> I'm not sure at all, but could you try to apply > >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0d63785c6b94b5d2f095f90755825f90eea791f5 > >> and see if the problem is resolved ?> > > I wil

Re: [BUG] micrel phy suspend/resume

2017-12-10 Thread Russell King - ARM Linux
On Sun, Dec 10, 2017 at 03:50:28PM -0800, Florian Fainelli wrote: > Hi Russell, > > On 12/10/2017 08:47 AM, Russell King - ARM Linux wrote: > > Guys, > > > > I've just tripped over a bug with the Micrel PHY driver, but it > > really isn't specific to the Micrel PHY driver. > > > > When we suspen

Re: [BUG] micrel phy suspend/resume

2017-12-10 Thread Florian Fainelli
Hi Russell, On 12/10/2017 08:47 AM, Russell King - ARM Linux wrote: > Guys, > > I've just tripped over a bug with the Micrel PHY driver, but it > really isn't specific to the Micrel PHY driver. > > When we suspend, we suspend the PHY and then the MAC driver (eg, > on the ZII board): > > [ 198.

[PATCH][netfilter-next] netfilter: conntrack: make struct nf_conntrack_l4proto_gre4 static

2017-12-10 Thread Colin King
From: Colin Ian King The structure nf_conntrack_l4proto_gre4 is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'nf_conntrack_l4proto_gre4' was not declared. Should it be static? Signed-off-by: Colin Ian King --- net/netfilter/

[PATCH net-next 2/2 v8] net: ethernet: Add a driver for Gemini gigabit ethernet

2017-12-10 Thread Linus Walleij
The Gemini ethernet has been around for years as an out-of-tree patch used with the NAS boxen and routers built on StorLink SL3512 and SL3516, later Storm Semiconductor, later Cortina Systems. These ASICs are still being deployed and brand new off-the-shelf systems using it can easily be acquired.

[PATCH net-next 1/2 v8] net: ethernet: Add DT bindings for the Gemini ethernet

2017-12-10 Thread Linus Walleij
This adds the device tree bindings for the Gemini ethernet controller. It is pretty straight-forward, using standard bindings and modelling the two child ports as child devices under the parent ethernet controller device. Cc: devicet...@vger.kernel.org Cc: Tobias Waldvogel Cc: Michał Mirosław Si

[PATCH v5] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Ben Whitten
This commit introduces a NETDEV trigger for named device activity. Available triggers are link, rx, and tx. Signed-off-by: Ben Whitten --- Changes in v5: Adjust header comment style to be consistent Changes in v4: Adopt SPDX licence header Changes in v3: Cancel the software blink prior to a ones

Re: [PATCH net-next] libbpf: add function to setup XDP

2017-12-10 Thread David Ahern
On 12/10/17 1:34 PM, Eric Leblond wrote: >> Would it be possible to print out or preferably return to the caller >> the ext ack error message? A couple of drivers are using it for XDP >> mis-configuration reporting instead of printks. We should encourage >> other to do the same and support it in

Re: [PATCH net-next] libbpf: add function to setup XDP

2017-12-10 Thread Eric Leblond
Hello, On Sat, 2017-12-09 at 15:57 -0800, Jakub Kicinski wrote: > On Sat, 9 Dec 2017 15:43:15 +0100, Eric Leblond wrote: > > + for (nh = (struct nlmsghdr *)buf; NLMSG_OK(nh, len); > > +nh = NLMSG_NEXT(nh, len)) { > > + if (nh->nlmsg_pid != getpid()) { > > + r

Re: [benet] possible endianness bug in be_cmd_txq_create()

2017-12-10 Thread Al Viro
On Sun, Dec 10, 2017 at 06:43:08PM +, Al Viro wrote: > On Sun, Dec 10, 2017 at 04:41:20PM +, Al Viro wrote: > > > I don't have the hardware, so the above is completely untested (caught by > > sparse when trying to do endianness annotations in drivers/net), but it > > does look like it migh

[PATCH 1/1] rtlwifi: always initialize variables given to RT_TRACE()

2017-12-10 Thread Nicolas Iooss
In rtl_rx_ampdu_apply(), when rtlpriv->cfg->ops->get_btc_status() returns false, RT_TRACE() is called with the values of variables reject_agg and agg_size, which have not been initialized. Always initialize these variables in order to prevent using uninitialized values. This issue has been found

Re: [PATCH v4] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Jacek Anaszewski
On 12/10/2017 08:12 PM, Ben Whitten wrote: > Hi Jacek, > > On 10 December 2017 at 18:31, Jacek Anaszewski > wrote: >> Hi Ben, >> >> Thanks for the update. I have one doubt about comment style >> at the top of the file. Please refer below. >> >> On 12/10/2017 05:24 PM, Ben Whitten wrote: >>> This

Re: [PATCH v4] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Ben Whitten
Hi Jacek, On 10 December 2017 at 18:31, Jacek Anaszewski wrote: > Hi Ben, > > Thanks for the update. I have one doubt about comment style > at the top of the file. Please refer below. > > On 12/10/2017 05:24 PM, Ben Whitten wrote: >> This commit introduces a NETDEV trigger for named device >> act

Re: [PATCH v4] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Philippe Ombredanne
On Sun, Dec 10, 2017 at 5:24 PM, Ben Whitten wrote: > This commit introduces a NETDEV trigger for named device > activity. Available triggers are link, rx, and tx. > > Signed-off-by: Ben Whitten > > --- > Changes in v4: > Adopt SPDX licence header Thanks you! Acked-by: Philippe Ombredanne > Ch

Re: [benet] possible endianness bug in be_cmd_txq_create()

2017-12-10 Thread Al Viro
On Sun, Dec 10, 2017 at 04:41:20PM +, Al Viro wrote: > I don't have the hardware, so the above is completely untested (caught by > sparse when trying to do endianness annotations in drivers/net), but it > does look like it might be worth a look from benet maintainers. Another very fishy place

Re: [PATCH v4] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Jacek Anaszewski
Hi Ben, Thanks for the update. I have one doubt about comment style at the top of the file. Please refer below. On 12/10/2017 05:24 PM, Ben Whitten wrote: > This commit introduces a NETDEV trigger for named device > activity. Available triggers are link, rx, and tx. > > Signed-off-by: Ben Whitte

Re: [PATCH 27/45] net: remove duplicate includes

2017-12-10 Thread Pravin Shedge
On Thu, Dec 7, 2017 at 2:28 AM, David Miller wrote: > From: Pravin Shedge > Date: Wed, 6 Dec 2017 23:02:58 +0530 > >> These duplicate includes have been found with scripts/checkincludes.pl but >> they have been removed manually to avoid removing false positives. >> >> Signed-off-by: Pravin Shedg

Dear Friend

2017-12-10 Thread Mrs Alice Walton
my name is Mrs. Alice Walton, a business woman an America Citizen and the heiress to the fortune of Walmart stores, born October 7, 1949. I have a mission for you worth $100,000,000.00(Hundred Million United State Dollars) which I intend using for CHARITY

Re: [PATCH net-next v3 1/5] net: Introduce NETIF_F_GRO_HW.

2017-12-10 Thread Alexander Duyck
On Sat, Dec 9, 2017 at 10:40 PM, Michael Chan wrote: > On Sat, Dec 9, 2017 at 2:04 PM, Alexander Duyck > wrote: >> On Sat, Dec 9, 2017 at 1:31 PM, Michael Chan >> wrote: >>> On Sat, Dec 9, 2017 at 10:50 AM, Alexander Duyck >>> wrote: So I would disagree with it being a subset of NETIF_F_G

[BUG] micrel phy suspend/resume

2017-12-10 Thread Russell King - ARM Linux
Guys, I've just tripped over a bug with the Micrel PHY driver, but it really isn't specific to the Micrel PHY driver. When we suspend, we suspend the PHY and then the MAC driver (eg, on the ZII board): [ 198.822751] 400d.ethernet-1:00: bus : mdio_bus_suspend+0x0/0x34 [ 198.822859] __mdiobu

[benet] possible endianness bug in be_cmd_txq_create()

2017-12-10 Thread Al Viro
In be_cmd_txq_create() we have if (req->hdr.version > 0) req->if_id = cpu_to_le16(adapter->if_handle); req->num_pages = PAGES_4K_SPANNED(q_mem->va, q_mem->size); req->ulp_num = BE_ULP1_NUM; req->type = BE_ETH_TX_RING_TYPE_STANDARD; req->cq_id

[PATCH v4] leds: trigger: Introduce a NETDEV trigger

2017-12-10 Thread Ben Whitten
This commit introduces a NETDEV trigger for named device activity. Available triggers are link, rx, and tx. Signed-off-by: Ben Whitten --- Changes in v4: Adopt SPDX licence header Changes in v3: Cancel the software blink prior to a oneshot re-queue Changes in v2: Sort includes and redate documen

[PATCH net-next 1/3] net:tracepoint: replace tcp_set_state tracepoint with sock_set_state tracepoint

2017-12-10 Thread Yafang Shao
As sk_state is a common field for struct sock, so the state transition should not be a TCP specific feature. So I rename tcp_set_state tracepoint to sock_set_state tracepoint with some minor changes and move it into file trace/events/sock.h. The minor changes against on the original tcp_set_state

[PATCH net-next 3/3] net:tracepoint: using sock_set_state tracepoint to trace SCTP state transition

2017-12-10 Thread Yafang Shao
With changes in inet_ files, SCTP state transitions are traced with sockt_set_state tracepoint. Signed-off-by: Yafang Shao --- net/sctp/endpointola.c | 2 +- net/sctp/sm_sideeffect.c | 4 ++-- net/sctp/socket.c| 14 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) d

[PATCH net-next 2/3] net:tracepoint: using sock_set_state tracepoint to trace DCCP state transition

2017-12-10 Thread Yafang Shao
With changes in inet_ files, DCCP state transitions are traced with sock_set_state tracepoint. Signed-off-by: Yafang Shao --- net/dccp/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dccp/proto.c b/net/dccp/proto.c index b68168f..92b9613 100644 --- a/net/dccp/prot

[PATCH net-next 0/3] replace tcp_set_state tracepoint with sock_set_state tracepoint

2017-12-10 Thread Yafang Shao
Hi, According to the discussion in the mail thread https://patchwork.kernel.org/patch/10099243/, tcp_set_state tracepoint is renamed to sock_set_state tracepoint and is moved to include/trace/events/sock.h. Using this new tracepoint to trace TCP/DCCP/SCTP state transition. Yafang Shao (3): net

[PATCH v6 2/3] sock: Move the socket inuse to namespace.

2017-12-10 Thread Tonghao Zhang
In some case, we want to know how many sockets are in use in different _net_ namespaces. It's a key resource metric. This patch adds a member in struct netns_core. This is a counter for socket-inuse in the _net_ namespace. The patch will add/sub counter in the sk_alloc, sk_clone_lock and __sk_free

[PATCH v6 3/3] sock: Hide unused variable when !CONFIG_PROC_FS.

2017-12-10 Thread Tonghao Zhang
When CONFIG_PROC_FS is disabled, we will not use the prot_inuse counter. This adds an #ifdef to hide the variable definition in that case. This is not a bugfix. But we can save bytes when there are many network namespace. Cc: Pavel Emelyanov Signed-off-by: Martin Zhang Signed-off-by: Tonghao Zha

[PATCH v6 1/3] sock: Change the netns_core member name.

2017-12-10 Thread Tonghao Zhang
Change the member name will make the code more readable. This patch will be used in next patch. Signed-off-by: Martin Zhang Signed-off-by: Tonghao Zhang --- include/net/netns/core.h | 2 +- net/core/sock.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a

Re: [PATCH net] sctp: make sure stream nums can match optlen in sctp_setsockopt_reset_streams

2017-12-10 Thread Marcelo Ricardo Leitner
On Sun, Dec 10, 2017 at 03:40:51PM +0800, Xin Long wrote: > Now in sctp_setsockopt_reset_streams, it only does the check > optlen < sizeof(*params) for optlen. But it's not enough, as > params->srs_number_streams should also match optlen. > > If the streams in params->srs_stream_list are less than

Re: [PATCH 1/2] net: sh_eth: add support for SH7786

2017-12-10 Thread Sergei Shtylyov
On 12/10/2017 03:20 PM, Sergei Shtylyov wrote: This commit adds the sh_eth_cpu_data structure that describes the SH7786 variant of the IP. Signed-off-by: Thomas Petazzoni --- drivers/net/ethernet/renesas/sh_eth.c | 25 + 1 file changed, 25 insertions(+) diff --git a

Re: v4.15-rc2 on thinkpad x60: ethernet stopped working

2017-12-10 Thread Gabriel C
On 10.12.2017 09:39, Pavel Machek wrote: Hi! Hi, In v4.15-rc2+, network manager can not see my ethernet card, and manual attempts to ifconfig it up did not really help, either. Card is: 02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller Dmesg says: dmesg

Re: [PATCH 1/2] net: sh_eth: add support for SH7786

2017-12-10 Thread Sergei Shtylyov
On 12/10/2017 03:20 PM, Sergei Shtylyov wrote: [...] The reset looks good... Sorry, I meant to type "rest". :-) MBR, Sergei

Re: [PATCH 1/2] net: sh_eth: add support for SH7786

2017-12-10 Thread Sergei Shtylyov
On 12/04/2017 05:17 PM, Thomas Petazzoni wrote: This commit adds the sh_eth_cpu_data structure that describes the SH7786 variant of the IP. Signed-off-by: Thomas Petazzoni --- drivers/net/ethernet/renesas/sh_eth.c | 25 + 1 file changed, 25 insertions(+) diff --git

Module compile error

2017-12-10 Thread Алексей Болдырев
CC [M] drivers/net/ethernet/intel/ixgbe/ixgbe_main.o In file included from ./include/net/vxlan.h:6:0, from drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:60: ./include/net/dst_metadata.h: In function ‘skb_vpls_info’: ./include/net/dst_metadata.h:36:9: error: implicit declaration o

Re: [PATCH 1/2] net: sh_eth: add support for SH7786

2017-12-10 Thread Sergei Shtylyov
Hello! On 12/08/2017 06:40 PM, Thomas Petazzoni wrote: This commit adds the sh_eth_cpu_data structure that describes the SH7786 variant of the IP. The manual seems to be unavailable, so I have to trust you. :-) Yes, sadly. However, if you tell me what to double check, I'd be happy to

[PATCH net] fou: fix some member types in guehdr

2017-12-10 Thread Xin Long
guehdr struct is used to build or parse gue packets, which are always in big endian. It's better to define all guehdr members as __beXX types. Also, in validate_gue_flags it's not good to use a __be32 variable for both Standard flags(__be16) and Private flags (__be32), and pass it to other funcion

v4.15-rc2 on thinkpad x60: ethernet stopped working

2017-12-10 Thread Pavel Machek
Hi! In v4.15-rc2+, network manager can not see my ethernet card, and manual attempts to ifconfig it up did not really help, either. Card is: 02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller Dmesg says: dmesg | grep eth [0.648931] e1000e :02:00.0 eth0: