Re: [PATCH] r8169: Add new device ID support

2018-10-23 Thread Shawn Lin
Hi David, On 2018/10/24 10:19, David Miller wrote: From: Shawn Lin Date: Wed, 24 Oct 2018 09:46:47 +0800 It's found my r8169 ethernet card at hand has a device ID of 0x which wasn't on the list of rtl8169_pci_tbl. Add a new entry to make it work: ... 01:00.0 Class 0200: 10ec: I

Re: [PATCH] r8169: Add new device ID support

2018-10-23 Thread David Miller
From: Shawn Lin Date: Wed, 24 Oct 2018 13:48:55 +0800 > Hi David, > > On 2018/10/24 10:19, David Miller wrote: >> From: Shawn Lin >> Date: Wed, 24 Oct 2018 09:46:47 +0800 >> >>> It's found my r8169 ethernet card at hand has a device ID >>> of 0x which wasn't on the list of

Re: [PATCH net v2] net/ipv6: Add anycast addresses to a global hashtable

2018-10-23 Thread Jeff Barnhill
Thanks for the feedback. As suggested, I did these things: - switched to refcount_t - stopped grabbing a reference on the netns (now able to use kfree_rcu) - re-ordered ipv6_chk_acast_addr variable definitions to reverse xmas tree With regards to your question in __ipv6_dev_ac_inc(): > +

Re: [RFC PATCH v2 06/10] udp: cope with UDP GRO packet misdirection

2018-10-23 Thread Subash Abhinov Kasiviswanathan
Is the "likely" required here? Not required, but currently helpful IMHO, as we should hit the above only on unlikey and really unwonted configuration. Note that only SKB_GSO_UDP_L4 GSO packets will not match the above likely condition. HW can coalesce all incoming streams of UDP and may not

Re: [PATCH net v2] net/ipv6: Add anycast addresses to a global hashtable

2018-10-23 Thread Eric Dumazet
On 10/23/2018 06:58 PM, Jeff Barnhill wrote: > icmp6_send() function is expensive on systems with a large number of > interfaces. Every time it’s called, it has to verify that the source > address does not correspond to an existing anycast address by looping > through every device and every

Re: [PATCH] r8169: Add new device ID support

2018-10-23 Thread David Miller
From: Shawn Lin Date: Wed, 24 Oct 2018 09:46:47 +0800 > It's found my r8169 ethernet card at hand has a device ID > of 0x which wasn't on the list of rtl8169_pci_tbl. Add > a new entry to make it work: ... > 01:00.0 Class 0200: 10ec: I don't know about this. A value of zero could mean

[PATCH net v2] net/ipv6: Add anycast addresses to a global hashtable

2018-10-23 Thread Jeff Barnhill
icmp6_send() function is expensive on systems with a large number of interfaces. Every time it’s called, it has to verify that the source address does not correspond to an existing anycast address by looping through every device and every anycast address on the device. This can result in

Re: [PATCH net-next] tcp: add tcp_reset_xmit_timer() helper

2018-10-23 Thread David Miller
From: Eric Dumazet Date: Tue, 23 Oct 2018 11:54:16 -0700 > With EDT model, SRTT no longer is inflated by pacing delays. > > This means that RTO and some other xmit timers might be setup > incorrectly. This is particularly visible with either : > > - Very small enforced pacing rates

[PATCH net v2] net: udp: fix handling of CHECKSUM_COMPLETE packets

2018-10-23 Thread Sean Tranchetti
Current handling of CHECKSUM_COMPLETE packets by the UDP stack is incorrect for any packet that has an incorrect checksum value. udp4/6_csum_init() will both make a call to __skb_checksum_validate_complete() to initialize/validate the csum field when receiving a CHECKSUM_COMPLETE packet. When

Re: [PATCH nf] netfilter: ipv6: fix oops when defragmenting locally generated fragments

2018-10-23 Thread Maciej Żenczykowski
On Tue, Oct 23, 2018 at 7:47 AM, Florian Westphal wrote: > Unlike ipv4 and normal ipv6 defrag, netfilter ipv6 defragmentation did > not save/restore skb->dst. > > This causes oops when handling locally generated ipv6 fragments, as > output path needs a valid dst. > > Reported-by: Maciej

Re: [PATCH v2] wireless: mark expected switch fall-throughs

2018-10-23 Thread Johannes Berg
On Tue, 2018-10-23 at 12:58 +0200, Gustavo A. R. Silva wrote: > On 10/23/18 10:59 AM, Gustavo A. R. Silva wrote: > > > > On 10/23/18 9:01 AM, Johannes Berg wrote: > > > On Tue, 2018-10-23 at 02:13 +0200, Gustavo A. R. Silva wrote: > > > > In preparation to enabling -Wimplicit-fallthrough, mark

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > On Tue, 2018-10-23 at 12:10 +0200, Toke Høiland-Jørgensen wrote: >> Saeed Mahameed writes: >> >> > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: >> > > Saeed Mahameed writes: >> > > >> > > > I think that the mlx5 driver doesn't know how to tell the

Re: ethernet "bus" number in DTS ?

2018-10-23 Thread Florian Fainelli
On 10/23/18 1:02 PM, Joakim Tjernlund wrote: > On Tue, 2018-10-23 at 11:20 -0700, Florian Fainelli wrote: >> >> On 10/23/18 11:02 AM, Joakim Tjernlund wrote: >>> On Tue, 2018-10-23 at 10:03 -0700, Florian Fainelli wrote: On 10/23/18 9:49 AM, Joakim Tjernlund wrote: > SPI (and

Re: ethernet "bus" number in DTS ?

2018-10-23 Thread Joakim Tjernlund
On Tue, 2018-10-23 at 11:20 -0700, Florian Fainelli wrote: > > On 10/23/18 11:02 AM, Joakim Tjernlund wrote: > > On Tue, 2018-10-23 at 10:03 -0700, Florian Fainelli wrote: > > > > > > > > > On 10/23/18 9:49 AM, Joakim Tjernlund wrote: > > > > SPI (and others) has a way to define bus number in a

Re: [RFC PATCH] cgroup, netclassid: add a preemption point to write_classid

2018-10-23 Thread Tejun Heo
On Thu, Oct 18, 2018 at 10:56:17AM +0200, Michal Hocko wrote: > From: Michal Hocko > > We have seen a customer complaining about soft lockups on !PREEMPT > kernel config with 4.4 based kernel ... > If a cgroup has many tasks with many open file descriptors then we would > end up in a large loop

Re: [PATCH v2] rtlwifi: remove set but not used variable 'radiob_array_table' and 'radiob_arraylen'

2018-10-23 Thread Joe Perches
On Tue, 2018-10-23 at 16:28 +0800, zhong jiang wrote: > radiob_array_table' and 'radiob_arraylen' are not used after setting its > value. > It is safe to remove the unused variable. Meanwhile, radio B radio should be > removed as well. because it will no longer be referenced. The patch subject

[PATCH net-next] tcp: add tcp_reset_xmit_timer() helper

2018-10-23 Thread Eric Dumazet
With EDT model, SRTT no longer is inflated by pacing delays. This means that RTO and some other xmit timers might be setup incorrectly. This is particularly visible with either : - Very small enforced pacing rates (SO_MAX_PACING_RATE) - Reduced rto (from the default 200 ms) This can lead to TCP

Re: [PATCH] Revert "be2net: remove desc field from be_eq_obj"

2018-10-23 Thread Ivan Vecera
On 23.10.2018 20:03, David Miller wrote: > From: Ivan Vecera > Date: Tue, 23 Oct 2018 16:40:26 +0200 > >> The mentioned commit needs to be reverted because we cannot pass >> string allocated on stack to request_irq(). This function stores >> uses this pointer for later use (e.g.

Re: [PATCH net] net/ipv6: Add anycast addresses to a global hashtable

2018-10-23 Thread Jeff Barnhill
Thanks! You are right. I mis-understood net->ifindex. I think I need to instead hold the net pointer in the new ipv6_ac_addrlist structure. Do you see a problem with that? On Mon, Oct 22, 2018 at 10:26 PM Eric Dumazet wrote: > > > > On 10/22/2018 07:12 PM, Jeff Barnhill wrote: > > icmp6_send()

Re: ethernet "bus" number in DTS ?

2018-10-23 Thread Florian Fainelli
On 10/23/18 11:02 AM, Joakim Tjernlund wrote: > On Tue, 2018-10-23 at 10:03 -0700, Florian Fainelli wrote: >> CAUTION: This email originated from outside of the organization. Do not >> click links or open attachments unless you recognize the sender and know the >> content is safe. >> >> >> On

Re: [PATCH] bonding:avoid repeated display of same link status change

2018-10-23 Thread David Miller
From: mk.si...@oracle.com Date: Tue, 23 Oct 2018 20:59:24 +0530 > @@ -229,6 +229,7 @@ struct bonding { > struct dentry *debug_dir; > #endif /* CONFIG_DEBUG_FS */ > struct rtnl_link_stats64 bond_stats; > + atomic_t rtnl_needed; As mentioned by others, if the only operations you

Re: [PATCH net 1/1] qed: Fix static checker warning

2018-10-23 Thread David Miller
From: Rahul Verma Date: Tue, 23 Oct 2018 08:04:24 -0700 > From: Rahul Verma > > Static Checker Warnings: > drivers/net/ethernet/qlogic/qed/qed_main.c:1510 > qed_fill_link_capability() > error: uninitialized symbol 'tcvr_state'. >

Re: [PATCH] Revert "be2net: remove desc field from be_eq_obj"

2018-10-23 Thread David Miller
From: Ivan Vecera Date: Tue, 23 Oct 2018 16:40:26 +0200 > The mentioned commit needs to be reverted because we cannot pass > string allocated on stack to request_irq(). This function stores > uses this pointer for later use (e.g. /proc/interrupts) so we need > to keep this string persistently. >

Re: ethernet "bus" number in DTS ?

2018-10-23 Thread Joakim Tjernlund
On Tue, 2018-10-23 at 10:03 -0700, Florian Fainelli wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On 10/23/18 9:49 AM, Joakim Tjernlund wrote: > > SPI (and

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Saeed Mahameed
On Tue, 2018-10-23 at 12:10 +0200, Toke Høiland-Jørgensen wrote: > Saeed Mahameed writes: > > > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: > > > Saeed Mahameed writes: > > > > > > > I think that the mlx5 driver doesn't know how to tell the other > > > > device > > > > to

Re: [PATCH net 1/1] net/smc: save link group ptr before calling smc_buf_unuse

2018-10-23 Thread David Miller
From: Ursula Braun Date: Tue, 23 Oct 2018 15:48:05 +0200 > @@ -315,6 +314,8 @@ static void smc_buf_unuse(struct smc_connection *conn) > /* remove a finished connection from its link group */ > void smc_conn_free(struct smc_connection *conn) > { > + struct smc_link_group *lgr; > + >

Re: [PATCH net] Revert "net: simplify sock_poll_wait"

2018-10-23 Thread David Miller
From: Karsten Graul Date: Tue, 23 Oct 2018 13:40:39 +0200 > This reverts commit dd979b4df817e9976f18fb6f9d134d6bc4a3c317. > > This broke tcp_poll for SMC fallback: An AF_SMC socket establishes an > internal TCP socket for the initial handshake with the remote peer. > Whenever the SMC connection

Re: [PATCH] net/wan/fsl_ucc_hdlc: add BQL support

2018-10-23 Thread David Miller
From: Mathias Thore Date: Tue, 23 Oct 2018 13:48:32 +0200 > Add byte queue limits support in the fsl_ucc_hdlc driver. > > Signed-off-by: Mathias Thore > --- > > Note that this patch is created relative to another patch that was > applied recently: net/wan/fsl_ucc_hdlc: error counters

Re: [PATCH net v2 0/3] Bugfix for the netsec driver

2018-10-23 Thread David Miller
From: masahisa.koj...@linaro.org Date: Tue, 23 Oct 2018 20:24:25 +0900 > From: Masahisa Kojima > > This patch series include bugfix for the netsec ethernet > controller driver, fix the problem in interface down/up. > > changes in v2: > - change the place to perform the PHY power down > - use

Re: [PATCHv3 iproute2-next] ip/geneve: fix ttl inherit behavior

2018-10-23 Thread David Ahern
On 10/22/18 1:46 AM, Hangbin Liu wrote: > Currently when we add geneve with "ttl inherit", we only set ttl to 0, which > is actually use whatever default value instead of inherit the inner protocol's > ttl value. > > To make a difference with ttl inherit and ttl == 0, we add an attribute >

Re: [PATCH v3 1/4] net: emac: implement 802.1Q VLAN TX tagging support

2018-10-23 Thread David Miller
Sorry, net-next is closed. Please resubmit this when net-next opens back up. Thank you.

Re: [iproute PATCH v2] tc: htb: Print default value in hex

2018-10-23 Thread Stephen Hemminger
On Tue, 23 Oct 2018 12:36:24 +0200 Phil Sutter wrote: > Value of 'default' is assumed to be hexadecimal when parsing, so > consequently it should be printed in hex as well. This is a regression > introduced when adding JSON output. > > As requested, also change JSON output to print the value as

Re: Improving accuracy of PHC readings

2018-10-23 Thread Miroslav Lichvar
On Fri, Oct 19, 2018 at 04:52:13PM +, Keller, Jacob E wrote: > > This should significantly improve the accuracy of the synchronization, > > reduce the uncertainty in the readings to less than a half or third, > > and also reduce the jitter as there are fewer register reads sensitive > > to the

[PATCH net 1/1] qed: Fix static checker warning

2018-10-23 Thread Rahul Verma
From: Rahul Verma Static Checker Warnings: drivers/net/ethernet/qlogic/qed/qed_main.c:1510 qed_fill_link_capability() error: uninitialized symbol 'tcvr_state'. drivers/net/ethernet/qlogic/qed/qed_mcp.c:1951 qed_mcp_trans_speed_mask() error: uninitialized

Re: Improving accuracy of PHC readings

2018-10-23 Thread Miroslav Lichvar
On Mon, Oct 22, 2018 at 03:48:02PM -0700, Richard Cochran wrote: > On Fri, Oct 19, 2018 at 11:51:37AM +0200, Miroslav Lichvar wrote: > > The extra timestamp doesn't fit the API of the PTP_SYS_OFFSET ioctl, > > so it would need to shift the timestamp it returns by the missing > > intervals

[PATCH net 1/1] net/smc: save link group ptr before calling smc_buf_unuse

2018-10-23 Thread Ursula Braun
From: Karsten Graul The pointer to the link group is unset in the smc connection structure right before the call to smc_buf_unuse. Save the pointer and provide it to smc_buf_unuse. Fixes: a6920d1d130c ("net/smc: handle unregistered buffers") Signed-off-by: Karsten Graul Signed-off-by: Ursula

Re: [PATCH v3 net-next 03/11] net: dsa: microchip: Initialize mutex before use

2018-10-23 Thread Andrew Lunn
On Mon, Oct 22, 2018 at 07:26:07PM -0700, tristram...@microchip.com wrote: > From: Tristram Ha > > Initialize mutex before use. Hi Tristram This seems like a fix for the driver, not simple refactoring. Please could you rebase this on net, add a fixes: tag, and send it to netdev for merging.

Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks

2018-10-23 Thread Andrew Lunn
> If it's okay for Generic 10G driver I can submit only this and > manually reset PHY in stmmac driver so that I don't need to > implement custom PHY driver ... Hi Jose That is a bad idea. What happens when somebody uses a different PHY which uses a different reset sequence? Please keep with the

Re: CRC errors between mvneta and macb

2018-10-23 Thread Richard Genoud
Le 22/10/2018 à 20:19, Andrew Lunn a écrit : >> I dug more on the subject, and I think I found what Marvell's PHY/MAC >> doesn't like. > > Hi Richard > > What PHY is being used? > >> After analyzing the ethernet frame on the Davicom PHY's output (pin >> TX+), I find out that the FCS errors

Re: [RFC PATCH v2 00/10] udp: implement GRO support

2018-10-23 Thread Paolo Abeni
Hi, On Tue, 2018-10-23 at 14:10 +0200, Steffen Klassert wrote: > On Fri, Oct 19, 2018 at 04:25:10PM +0200, Paolo Abeni wrote: > > This series implements GRO support for UDP sockets, as the RX counterpart > > of commit bec1f6f69736 ("udp: generate gso with UDP_SEGMENT"). > > The core functionality

Re: [RFC PATCH v2 00/10] udp: implement GRO support

2018-10-23 Thread Steffen Klassert
On Fri, Oct 19, 2018 at 04:25:10PM +0200, Paolo Abeni wrote: > This series implements GRO support for UDP sockets, as the RX counterpart > of commit bec1f6f69736 ("udp: generate gso with UDP_SEGMENT"). > The core functionality is implemented by the second patch, introducing a new > sockopt to

I wait for your prompt response.

2018-10-23 Thread Aziz Dake
Good day, I am Mr. Aziz Dake, from Burkina Faso a Minister confide on me to look for foreign partner who will assist him to invest the sum of Thirty Million Dollars ($30,000,000) in your country. He has investment interest in mining, exotic properties for commercial resident, development

[PATCH net] Revert "net: simplify sock_poll_wait"

2018-10-23 Thread Karsten Graul
This reverts commit dd979b4df817e9976f18fb6f9d134d6bc4a3c317. This broke tcp_poll for SMC fallback: An AF_SMC socket establishes an internal TCP socket for the initial handshake with the remote peer. Whenever the SMC connection can not be established this TCP socket is used as a fallback. All

Re: [PATCH net v2 0/3] Bugfix for the netsec driver

2018-10-23 Thread Masahisa Kojima
Hi Florian, Ard, Yes, that is my mistake. Thank you very much for pointing out, Ard. On Tue, 23 Oct 2018 at 20:32, Ard Biesheuvel wrote: > > (+ Florian) > > On 23 October 2018 at 08:24, wrote: > > From: Masahisa Kojima > > > > This patch series include bugfix for the netsec ethernet > >

Re: [PATCH net v2 0/3] Bugfix for the netsec driver

2018-10-23 Thread Ard Biesheuvel
(+ Florian) On 23 October 2018 at 08:24, wrote: > From: Masahisa Kojima > > This patch series include bugfix for the netsec ethernet > controller driver, fix the problem in interface down/up. > > changes in v2: > - change the place to perform the PHY power down > - use the MACROs defiend in

[PATCH net v2 3/3] net: socionext: Reset tx queue in ndo_stop

2018-10-23 Thread masahisa . kojima
From: Masahisa Kojima We observed that packets and bytes count are not reset when user performs interface down. Eventually, tx queue is exhausted and packets will not be sent out. To avoid this problem, resets tx queue in ndo_stop. Fixes: 533dd11a12f6 ("net: socionext: Add Synquacer NetSec

[PATCH net v2 1/3] net: socionext: Stop PHY before resetting netsec

2018-10-23 Thread masahisa . kojima
From: Masahisa Kojima In ndo_stop, driver resets the netsec ethernet controller IP. When the netsec IP is reset, HW running mode turns to NRM mode and driver has to wait until this mode transition completes. But mode transition to NRM will not complete if the PHY is in normal operation state.

[PATCH net v2 2/3] net: socionext: Add dummy PHY register read in phy_write()

2018-10-23 Thread masahisa . kojima
From: Masahisa Kojima There is a compatibility issue between RTL8211E implemented in Developerbox and netsec ethernet controller IP. Our MDIO controller stops MDC clock right after the write access, but RTL8211E expects MDC clock must be kept toggling for several clock cycle with MDIO high

[PATCH net v2 0/3] Bugfix for the netsec driver

2018-10-23 Thread masahisa . kojima
From: Masahisa Kojima This patch series include bugfix for the netsec ethernet controller driver, fix the problem in interface down/up. changes in v2: - change the place to perform the PHY power down - use the MACROs defiend in include/uapi/linux/mii.h - update commit comment Masahisa

Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks

2018-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2018 at 11:28:09AM +0100, Jose Abreu wrote: > On 23-10-2018 11:20, Russell King - ARM Linux wrote: > > I have no idea what you're proposing there - your patches weren't copied > > to me. > > They just set / unset MDIO_CTRL1_LPOWER bit in PCS. I find that > without this remote end

[iproute PATCH v2] tc: htb: Print default value in hex

2018-10-23 Thread Phil Sutter
Value of 'default' is assumed to be hexadecimal when parsing, so consequently it should be printed in hex as well. This is a regression introduced when adding JSON output. As requested, also change JSON output to print the value as hex string. Fixes: f354fa6aa5ff0 ("tc: jsonify htb qdisc")

Re: [RFC PATCH v2 06/10] udp: cope with UDP GRO packet misdirection

2018-10-23 Thread Steffen Klassert
On Mon, Oct 22, 2018 at 02:51:56PM +0200, Paolo Abeni wrote: > > > + > > > +static int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) > > > +{ > > > + struct sk_buff *next, *segs; > > > + int ret; > > > + > > > + if (likely(!udp_unexpected_gso(sk, skb))) > > > + return

Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks

2018-10-23 Thread Jose Abreu
On 23-10-2018 11:20, Russell King - ARM Linux wrote: > On Tue, Oct 23, 2018 at 11:17:50AM +0100, Jose Abreu wrote: >> On 22-10-2018 18:13, Florian Fainelli wrote: >>> On 10/22/18 8:48 AM, Russell King - ARM Linux wrote: On Mon, Oct 22, 2018 at 01:47:48PM +0100, Jose Abreu wrote: > Hello,

Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks

2018-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2018 at 11:17:50AM +0100, Jose Abreu wrote: > On 22-10-2018 18:13, Florian Fainelli wrote: > > On 10/22/18 8:48 AM, Russell King - ARM Linux wrote: > >> On Mon, Oct 22, 2018 at 01:47:48PM +0100, Jose Abreu wrote: > >>> Hello, > >>> > >>> On 22-10-2018 13:28, Andrew Lunn wrote: >

Re: [PATCH net-next 1/4] net: phy: Use C45 Helpers when forcing PHY

2018-10-23 Thread Jose Abreu
On 22-10-2018 18:11, Florian Fainelli wrote: > On 10/22/18 3:32 AM, Jose Abreu wrote: >> If PHY is in force state and we have a C45 phy we need to use the >> standard C45 helpers and not the C22 ones. >> >> Signed-off-by: Jose Abreu >> Cc: Andrew Lunn >> Cc: Florian Fainelli >> Cc: "David S.

Re: [PATCH net-next 3/4] net: phy-c45: Implement reset/suspend/resume callbacks

2018-10-23 Thread Jose Abreu
On 22-10-2018 18:13, Florian Fainelli wrote: > On 10/22/18 8:48 AM, Russell King - ARM Linux wrote: >> On Mon, Oct 22, 2018 at 01:47:48PM +0100, Jose Abreu wrote: >>> Hello, >>> >>> On 22-10-2018 13:28, Andrew Lunn wrote: > EXPORT_SYMBOL_GPL(gen10g_resume); > @@ -327,7 +381,7 @@ struct

Re: Kernel oops with mlx5 and dual XDP redirect programs

2018-10-23 Thread Toke Høiland-Jørgensen
Saeed Mahameed writes: > On Thu, 2018-10-18 at 23:53 +0200, Toke Høiland-Jørgensen wrote: >> Saeed Mahameed writes: >> >> > I think that the mlx5 driver doesn't know how to tell the other >> > device >> > to stop transmitting to it while it is resetting.. Maybe tariq or >> > Jesper know more

[PATCH v3 3/4] net: emac: remove IBM_EMAC_RX_SKB_HEADROOM

2018-10-23 Thread Christian Lamparter
The EMAC driver had a custom IBM_EMAC_RX_SKB_HEADROOM Kconfig option that reserved additional skb headroom for RX. This patch removes the option and migrates the code to use napi_alloc_skb() and netdev_alloc_skb_ip_align() in its place. Signed-off-by: Christian Lamparter ---

[PATCH v3 2/4] net: emac: implement TCP segmentation offload (TSO)

2018-10-23 Thread Christian Lamparter
This patch enables TSO(v4) hw feature for emac driver. As atleast the APM82181's TCP/IP acceleration hardware controller (TAH) provides TCP segmentation support in the transmit path. Signed-off-by: Christian Lamparter --- drivers/net/ethernet/ibm/emac/core.c | 112 ++-

[PATCH v3 4/4] net: emac: add deprecation notice to emac custom phy users

2018-10-23 Thread Christian Lamparter
This patch starts the deprecation process of emac's small library of supported phys by adding a message to inform all remaining users to start looking into converting their platform's device-tree to PHYLIB. EMAC's phy.c support is limited to mostly single ethernet transceivers: CIS8201, BCM5248,

[PATCH v3 1/4] net: emac: implement 802.1Q VLAN TX tagging support

2018-10-23 Thread Christian Lamparter
As per' APM82181 Embedded Processor User Manual 26.1 EMAC Features: VLAN: - Support for VLAN tag ID in compliance with IEEE 802.3ac. - VLAN tag insertion or replacement for transmit packets This patch completes the missing code for the VLAN tx tagging support, as the the EMAC_MR1_VLE was

Re: [RFC PATCH v2 06/10] udp: cope with UDP GRO packet misdirection

2018-10-23 Thread Paolo Abeni
Hi, On Mon, 2018-10-22 at 13:04 -0600, Subash Abhinov Kasiviswanathan wrote: > On 2018-10-19 08:25, Paolo Abeni wrote: > > In some scenarios, the GRO engine can assemble an UDP GRO packet > > that ultimately lands on a non GRO-enabled socket. > > This patch tries to address the issue explicitly

Re: [PATCH net-next 1/3] net/sock: factor out dequeue/peek with offset code

2018-10-23 Thread Paolo Abeni
Hi, On Mon, 2018-10-22 at 21:49 -0700, Alexei Starovoitov wrote: > On Mon, May 15, 2017 at 11:01:42AM +0200, Paolo Abeni wrote: > > And update __sk_queue_drop_skb() to work on the specified queue. > > This will help the udp protocol to use an additional private > > rx queue in a later patch. > >