Re: [PATCH] net: ethernet: ravb: Fix release of refclk

2021-04-19 Thread David Miller
From: Adam Ford Date: Sat, 17 Apr 2021 08:23:29 -0500 > The call to clk_disable_unprepare() can happen before priv is > initialized. This means moving clk_disable_unprepare out of > out_release into a new label. > > Fixes: 8ef7adc6beb2("net: ethernet: ravb: Enable optional refclk") >

Re: [PATCH][next] sctp: Fix out-of-bounds warning in sctp_process_asconf_param()

2021-04-19 Thread David Miller
From: "Gustavo A. R. Silva" Date: Fri, 16 Apr 2021 19:07:05 -0500 > Dave, > > On 4/16/21 19:00, patchwork-bot+netdev...@kernel.org wrote: >> Hello: >> >> This patch was applied to netdev/net-next.git (refs/heads/master): >> >> On Fri, 16 Apr 2021 14:12:36 -0500 you wrote: >>> Fix the

Re: [PATCH v2 net-next 0/9] net: Korina improvements

2021-04-14 Thread David Miller
From: Thomas Bogendoerfer Date: Wed, 14 Apr 2021 17:29:36 +0200 > While converting Mikrotik RB532 support to use device tree I stumbled > over the korina ethernet driver, which used way too many MIPS specific > hacks. This series cleans this all up and adds support for device tree. > > Changes

Re: [PATCH net-next 6/7] net: stmmac: Enable RX via AF_XDP zero-copy

2021-04-12 Thread David Miller
+ /* synchronize_rcu() needed for pending XDP buffers to drain */ + for (queue = 0; queue < rx_queues_cnt; queue++) { + rx_q = >rx_queue[queue]; + if (rx_q->xsk_pool) { + synchronize_rcu(); Are you sure this is safe here, especially

Re: [PATCH v3 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-08 Thread David Miller
From: Dexuan Cui Date: Fri, 9 Apr 2021 00:24:51 + >> From: David Miller >> Sent: Thursday, April 8, 2021 4:46 PM >> ... >> > +struct gdma_msg_hdr { >> > + u32 hdr_type; >> > + u32 msg_type; >> > + u16 msg_version; >>

Re: [PATCH v3 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)

2021-04-08 Thread David Miller
From: Dexuan Cui Date: Thu, 8 Apr 2021 15:58:40 -0700 > +struct gdma_msg_hdr { > + u32 hdr_type; > + u32 msg_type; > + u16 msg_version; > + u16 hwc_msg_id; > + u32 msg_size; > +} __packed; > + > +struct gdma_dev_id { > + union { > + struct { > +

Re: [PATCH] bnx2x: Fix potential infinite loop

2021-04-07 Thread David Miller
From: Colin King Date: Wed, 7 Apr 2021 15:28:02 +0100 > From: Colin Ian King > > The for_each_tx_queue loop iterates with a u8 loop counter i and > compares this with the loop upper limit of bp->num_queues that > is an int type. There is a potential infinite loop if bp->num_queues > is

Re: [PATCH net-next] net: tipc: Fix spelling errors in net/tipc module

2021-04-06 Thread David Miller
From: Zheng Yongjun Date: Tue, 6 Apr 2021 23:19:09 +0800 > These patches fix a series of spelling errors in net/tipc module. > > Reported-by: Hulk Robot > Signed-off-by: Zheng Yongjun This does not apply to net-next, please respin. Thanks.

Re: [PATCH net v4] atl1c: move tx cleanup processing out of interrupt

2021-04-06 Thread David Miller
From: Gatis Peisenieks Date: Tue, 06 Apr 2021 17:49:32 +0300 > Tx queue cleanup happens in interrupt handler on same core as rx queue > processing. Both can take considerable amount of processing in high > packet-per-second scenarios. > > Sending big amounts of packets can stall the rx

Re: [PATCH] net: hso: fix null-ptr-deref during tty device unregistration

2021-04-06 Thread David Miller
From: Anirudh Rayabharam Date: Tue, 6 Apr 2021 18:13:59 +0530 > Multiple ttys try to claim the same the minor number causing a double > unregistration of the same device. The first unregistration succeeds > but the next one results in a null-ptr-deref. > > The get_free_serial_index() function

Re: [PATCH net-next v5] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-04-06 Thread David Miller
From: Xie He Date: Fri, 2 Apr 2021 02:30:00 -0700 > X.25 Layer 3 (the Packet Layer) expects layer 2 to provide a reliable > datalink service such that no packets are reordered or dropped. And > X.25 Layer 2 (the LAPB layer) is indeed designed to provide such service. > > However, this

Re: [PATCH] net: tun: set tun->dev->addr_len during TUNSETLINK processing

2021-04-05 Thread David Miller
From: Phillip Potter Date: Mon, 5 Apr 2021 12:35:55 +0100 > When changing type with TUNSETLINK ioctl command, set tun->dev->addr_len > to match the appropriate type, using new tun_get_addr_len utility function > which returns appropriate address length for given type. Fixes a > KMSAN-found

Re: [PATCH] net/rds: Fix a use after free in rds_message_map_pages

2021-03-30 Thread David Miller
From: Lv Yunlong Date: Tue, 30 Mar 2021 03:16:02 -0700 > @@ -348,7 +348,7 @@ struct rds_message *rds_message_map_pages(unsigned long > *page_addrs, unsigned in > rm->data.op_sg = rds_message_alloc_sgs(rm, num_sgs); > if (IS_ERR(rm->data.op_sg)) { > rds_message_put(rm);

Re: [PATCH] fddi: skfp: Rudimentary spello fixes

2021-03-25 Thread David Miller
From: Bhaskar Chowdhury Date: Thu, 25 Mar 2021 12:38:35 +0530 > > s/autohorized/authorized/ > s/recsource/resource/ > s/measuered/measured/ > sauthoriziation/authorization/ > > Signed-off-by: Bhaskar Chowdhury Does not apply cleanly to net-next please respin. Thank you.

[GIT] Networking

2021-03-24 Thread David Miller
Various fixes, all over: 1) Fix overflow in ptp_qoriq_adjfine(), from Yangbo Lu. 2) Always store the rx queue mapping in veth, from Maciej Fijalkowski. 3) Don't allow vmlinux btf in map_create, from Alexei Starovoitov. 4) Fix memory leak in octeontx2-af from Colin Ian King. 5) Use kvalloc in

Re: [PATCH] net: make unregister netdev warning timeout configurable

2021-03-22 Thread David Miller
From: Dmitry Vyukov Date: Sat, 20 Mar 2021 15:28:51 +0100 > netdev_wait_allrefs() issues a warning if refcount does not drop to 0 > after 10 seconds. While 10 second wait generally should not happen > under normal workload in normal environment, it seems to fire falsely > very often during

Re: [PATCH v4 RESEND net-next] net: socket: use BIT() for MSG_*

2021-03-17 Thread David Miller
From: Menglong Dong Date: Wed, 17 Mar 2021 16:21:14 +0800 > Hello, > > On Wed, Mar 17, 2021 at 9:38 AM Guenter Roeck wrote: >> >> On Wed, Mar 17, 2021 at 01:02:51AM +0200, Andy Shevchenko wrote: >> > On Wednesday, March 17, 2021, Guenter Roeck wrote: >> > > ... >> >> The problem is in

Re: [PATCH net-next] net: sched: remove unnecessay lock protection for skb_bad_txq/gso_skb

2021-03-16 Thread David Miller
From: Yunsheng Lin Date: Tue, 16 Mar 2021 10:40:56 +0800 > On 2021/3/16 7:41, David Miller wrote: >> From: Yunsheng Lin > > At least for the fast path, taking two locks for lockless qdisc hurts > performance when handling requeued skb, especially if the lockles

Re: [PATCH net-next] net: sched: remove unnecessay lock protection for skb_bad_txq/gso_skb

2021-03-15 Thread David Miller
From: Yunsheng Lin Date: Mon, 15 Mar 2021 17:30:10 +0800 > Currently qdisc_lock(q) is taken before enqueuing and dequeuing > for lockless qdisc's skb_bad_txq/gso_skb queue, qdisc->seqlock is > also taken, which can provide the same protection as qdisc_lock(q). > > This patch removes the

Re: [PATCH v2 2/3] net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver

2021-03-15 Thread David Miller
From: Cristian Ciocaltea Date: Mon, 15 Mar 2021 13:29:17 +0200 > + > +#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) > +static int debug = -1; > +module_param(debug, int, 0); > +MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)"); Module parameters are

Re: [PATCH net] flow_dissector: fix byteorder of dissected ICMP ID

2021-03-14 Thread David Miller
From: Vladimir Oltean Date: Sun, 14 Mar 2021 20:44:49 + > On Sun, Mar 14, 2021 at 09:21:40PM +0100, Jakub Sitnicki wrote: >> On Fri, Mar 12, 2021 at 09:08 PM CET, Alexander Lobakin wrote: >> >> Smells like a breaking change for existing consumers of this value. >> >> How about we change

Re: [PATCH v2 net-next 0/6] skbuff: micro-optimize flow dissection

2021-03-13 Thread David Miller
None of these apply to net-next as per the patchwork automated checks. Any idea why? Thanks.

Re: [PATCH] net: bonding: fix error return code of bond_neigh_init()

2021-03-12 Thread David Miller
From: Eric Dumazet Date: Wed, 10 Mar 2021 17:55:04 +0100 > > Agreed, this commit made no sense, please revert. Done.

Re: [PATCH 4/4] ftgmac100: Restart MAC HW once

2021-03-11 Thread David Miller
From: Joel Stanley Date: Fri, 12 Mar 2021 00:26:43 + > On Tue, 20 Oct 2020 at 04:14, Joel Stanley wrote: >> >> On Mon, 19 Oct 2020 at 08:57, Dylan Hung wrote: >> > >> > The interrupt handler may set the flag to reset the mac in the future, >> > but that flag is not cleared once the reset

Re: [GIT] SPARC

2021-03-09 Thread David Miller
From: Linus Torvalds Date: Tue, 9 Mar 2021 17:17:24 -0800 > On Tue, Mar 9, 2021 at 5:15 PM David Miller wrote: >> >> Somehow you pull didn't get commits: > > Look closer at the pull date. That was before you had updated your branch. > > I did a second pull just mo

Re: [GIT] SPARC

2021-03-09 Thread David Miller
From: David Miller Date: Tue, 09 Mar 2021 16:24:54 -0800 (PST) > From: Linus Torvalds > Date: Tue, 9 Mar 2021 11:27:41 -0800 > >> On Tue, Mar 9, 2021 at 11:08 AM David Miller wrote: >> >> (And yes, I prefer lore.kernel.org over marc, although for single >

Re: [GIT] SPARC

2021-03-09 Thread David Miller
From: Linus Torvalds Date: Tue, 9 Mar 2021 11:27:41 -0800 > On Tue, Mar 9, 2021 at 11:08 AM David Miller wrote: > > (And yes, I prefer lore.kernel.org over marc, although for single > patches it doesn't make much of a difference. For patch series, I find > 'b4' so convenient th

Re: [GIT] SPARC

2021-03-09 Thread David Miller
From: John Paul Adrian Glaubitz Date: Tue, 9 Mar 2021 01:19:05 +0100 > Hi Dave! > > On 3/9/21 12:46 AM, David Miller wrote: >> Just some more random bits from Al, including a conversion over to generic >> exytables. > > Is there a chance we could include this i

[GIT] SPARC

2021-03-08 Thread David Miller
Just some more random bits from Al, including a conversion over to generic exytables. Please pull, thanks a lot! The following changes since commit 062c84fccc805738d76a2699c4d3c95184ec: Merge tag 'rproc-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc

Re: [PATCH][next] net: mscc: ocelot: Fix fall-through warnings for Clang

2021-03-05 Thread David Miller
Please resubmit these again when net-next opens back up, thank you.

[GIT] Sparc

2021-02-23 Thread David Miller
A host of mall cleanups and adjustments that have accumulated while I was away, nothing major. Please pull, thanks a lot! The following changes since commit dd0d718152e4c65b173070d48ea9dfc06894c3e5: Merge tag 'spi-fix-v5.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Re: [PATCH v15 0/4] Adding the Sparx5 Serdes driver

2021-02-18 Thread David Miller
From: Steen Hegelund Date: Thu, 18 Feb 2021 17:14:47 +0100 > Adding the Sparx5 Serdes driver > The net-next tree is closed so this will have to wait until the next merge window. Thanks.

Re: [PATCH net-next v2 0/2] net: phy: at803x: paging support

2021-02-18 Thread David Miller
From: Michael Walle Date: Thu, 18 Feb 2021 20:46:10 +0100 > Am 2021-02-18 20:26, schrieb Vladimir Oltean: >> On Thu, Feb 18, 2021 at 07:52:38PM +0100, Michael Walle wrote: >>> Add paging support to the QCA AR8031/33 PHY. This will be needed if we >>> add support for the .config_inband_aneg

Re: [PATCH net-next v3 0/5] lan743x speed boost

2021-02-17 Thread David Miller
From: Sven Van Asbroeck Date: Wed, 17 Feb 2021 17:04:05 -0500 > Hi Jakub and Bryan, > > Jakub, is there anything else you'd like to see from us, before you > are satisfied that patches 1/5 and 2/5 can be merged into your tree? They are already merged into net-next

Re: [PATCH net-next] octeontx2-pf: fix an off by one bug in otx2_get_fecparam()

2021-02-15 Thread David Miller
From: Dan Carpenter Date: Mon, 15 Feb 2021 18:56:46 +0300 > The "<= FEC_MAX_INDEX" comparison should be "< FEC_MAX_INDEX". > > I did some cleanup in this function to hopefully make the code a bit > clearer. There was no blank line after the declaration block. The > closing curly brace on the

Re: [PATCH 2/4] net: stmmac: Add Toshiba Visconti SoCs glue driver

2021-02-11 Thread David Miller
From: Nobuhiro Iwamatsu Date: Thu, 11 Feb 2021 01:29:52 +0900 > +static int visconti_eth_init_hw(struct platform_device *pdev, struct > plat_stmmacenet_data *plat_dat) > +{ > + struct visconti_eth *dwmac; > + unsigned int reg_val, clk_sel_val; Please use reverse christmas tree ordering

Re: [PATCH v3 net-next 07/11] net: prep switchdev drivers for concurrent SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS

2021-02-10 Thread David Miller
From: Vladimir Oltean Date: Wed, 10 Feb 2021 11:14:41 +0200 > From: Vladimir Oltean > > Because the bridge will start offloading SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS > while not serialized by any lock such as the br->lock spinlock, existing > drivers that treat that attribute and cache the

Re: [PATCH v14 2/4] phy: Add media type and speed serdes configuration interfaces

2021-02-10 Thread David Miller
From: Steen Hegelund Date: Wed, 10 Feb 2021 09:52:53 +0100 > Provide new phy configuration interfaces for media type and speed that > allows allows e.g. PHYs used for ethernet to be configured with this > information. > > Signed-off-by: Lars Povlsen > Signed-off-by: Steen Hegelund >

Re: [PATCH v12 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-02-10 Thread David Miller
From: Date: Wed, 10 Feb 2021 11:48:17 +0200 > > +static int bm_underrun_protect = 1; > + > +module_param(bm_underrun_protect, int, 0444); > +MODULE_PARM_DESC(bm_underrun_protect, "Set BM underrun protect feature > (0-1), def=1"); No new module parameters, please.

[GIT] Networking

2021-02-09 Thread David Miller
Another pile of networing fixes: 1) ath9k build error fix from Arnd Bergmann 2) dma memory leak fix in mediatec driver from Lorenzo Bianconi. 3) bpf int3 kprobe fix from Alexei Starovoitov. 4) bpf stackmap integer overflow fix from Bui Quang Minh. 5) Add usb device ids for Cinterion MV31 to

Re: [PATCH v2] net: ethernet: fs_enet: Add missing MODULE_LICENSE

2021-01-05 Thread David Miller
From: Michael Ellerman Date: Tue, 5 Jan 2021 20:15:15 +1100 > Since commit 1d6cd3929360 ("modpost: turn missing MODULE_LICENSE() > into error") the ppc32_allmodconfig build fails with: > > ERROR: modpost: missing MODULE_LICENSE() in > drivers/net/ethernet/freescale/fs_enet/mii-fec.o >

Re: [PATCH net,stable v3] net: cdc_ncm: correct overhead in delayed_ndp_size

2021-01-05 Thread David Miller
From: Jouni Seppänen Date: Tue, 5 Jan 2021 06:52:49 +0200 > From: Jouni K. Seppänen > > Aligning to tx_ndp_modulus is not sufficient because the next align > call can be cdc_ncm_align_tail, which can add up to ctx->tx_modulus + > ctx->tx_remainder - 1 bytes. This used to lead to occasional

Re: [PATCH v2] net: qrtr: fix null-ptr-deref in qrtr_ns_remove

2021-01-05 Thread David Miller
From: Qinglang Miao Date: Tue, 5 Jan 2021 13:57:54 +0800 > A null-ptr-deref bug is reported by Hulk Robot like this: > -- > KASAN: null-ptr-deref in range [0x0128-0x012f] > Call Trace: > qrtr_ns_remove+0x22/0x40 [ns] > qrtr_proto_fini+0xa/0x31 [qrtr] >

Re: [PATCH net-next] net: nfc: nci: Change the NCI close sequence

2021-01-05 Thread David Miller
From: Bongsu Jeon Date: Mon, 28 Dec 2020 10:46:31 +0900 > From: Bongsu Jeon > > Change the NCI close sequence because the NCI Command timer should be > deleted after flushing the NCI command work queue. > > Signed-off-by: Bongsu Jeon Applied.

Re: [PATCH] neighbour: Disregard DEAD dst in neigh_update

2021-01-05 Thread David Miller
From: Tong Zhu Date: Wed, 30 Dec 2020 17:54:23 -0500 > In 4.x kernel a dst in DST_OBSOLETE_DEAD state is associated > with loopback net_device and leads to loopback neighbour. It > leads to an ethernet header with all zero addresses. > > A very troubling case is working with mac80211 and ath9k.

Re: [PATCH v3 net-next] net: kcm: Replace fput with sockfd_put

2021-01-05 Thread David Miller
From: Zheng Yongjun Date: Wed, 30 Dec 2020 17:18:09 +0800 > The function sockfd_lookup uses fget on the value that is stored in > the file field of the returned structure, so fput should ultimately be > applied to this value. This can be done directly, but it seems better > to use the specific

Re: [PATCH net-next] net/mlxfw: Use kzalloc for allocating only one thing

2021-01-05 Thread David Miller
From: Zheng Yongjun Date: Wed, 30 Dec 2020 16:18:35 +0800 > Use kzalloc rather than kcalloc(1,...) > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > @@ > > - kcalloc(1, > + kzalloc( > ...) > // > > Signed-off-by: Zheng

Re: [PATCH v4 net RESEND] net/sonic: Fix some resource leaks in error handling paths

2021-01-05 Thread David Miller
From: Finn Thain Date: Sun, 03 Jan 2021 11:26:26 +1100 > From: Christophe JAILLET > > A call to dma_alloc_coherent() is wrapped by sonic_alloc_descriptors(). > > This is correctly freed in the remove function, but not in the error > handling path of the probe function. Fix this by adding the

Re: [PATCH] liquidio: style: Identical condition and return expression 'retval', return value is always 0.

2021-01-05 Thread David Miller
From: YANG LI Date: Wed, 30 Dec 2020 14:07:30 +0800 > The warning was because of the following line in function > liquidio_set_fec(): > > retval = wait_for_sc_completion_timeout(oct, sc, 0); > if (retval) > return (-EIO); > > If this statement is not true, retval must be 0 and not

Re: [PATCH RESEND net-next 0/4] enetc: code cleanups

2021-01-05 Thread David Miller
From: Michael Walle Date: Mon, 28 Dec 2020 14:00:30 +0100 > This are some code cleanups in the MDIO part of the enetc. They are > intended to make the code more readable. Series applied, thank you.

Re: [PATCH net v2] net: hdlc_ppp: Fix issues when mod_timer is called while timer is running

2020-12-28 Thread David Miller
From: Xie He Date: Sun, 27 Dec 2020 18:53:39 -0800 > ppp_cp_event is called directly or indirectly by ppp_rx with "ppp->lock" > held. It may call mod_timer to add a new timer. However, at the same time > ppp_timer may be already running and waiting for "ppp->lock". In this > case, there's no

Re: [PATCH] ipv6: Prevent overrun when parsing v6 header options

2020-12-28 Thread David Miller
From: Defang Bo Date: Sun, 27 Dec 2020 22:11:35 +0800 > Similar to commit<2423496af35>, the fragmentation code tries to parse the > header options in order > to figure out where to insert the fragment option. Since nexthdr points > to an invalid option, the calculation of the size of the

Re: [PATCH -net] net: sched: prevent invalid Scell_log shift count

2020-12-28 Thread David Miller
From: Randy Dunlap Date: Thu, 24 Dec 2020 22:23:44 -0800 > Check Scell_log shift size in red_check_params() and modify all callers > of red_check_params() to pass Scell_log. > > This prevents a shift out-of-bounds as detected by UBSAN: > UBSAN: shift-out-of-bounds in

Re: [PATCH v4] net: neighbor: fix a crash caused by mod zero

2020-12-28 Thread David Miller
From: weichenchen Date: Fri, 25 Dec 2020 13:44:45 +0800 > pneigh_enqueue() tries to obtain a random delay by mod > NEIGH_VAR(p, PROXY_DELAY). However, NEIGH_VAR(p, PROXY_DELAY) > migth be zero at that point because someone could write zero > to /proc/sys/net/ipv4/neigh/[device]/proxy_delay after

Re: [PATCH net-next V8] net: Variable SLAAC: SLAAC with prefixes of arbitrary length in PIO

2020-12-15 Thread David Miller
From: Dmytro Shytyi Date: Wed, 09 Dec 2020 04:27:54 +0100 > Variable SLAAC [Can be activated via sysctl]: > SLAAC with prefixes of arbitrary length in PIO (randomly > generated hostID or stable privacy + privacy extensions). > The main problem is that SLAAC RA or PD allocates a /64 by the

Re: [PATCH net-next] net: lapbether: Consider it successful if (dis)connecting when already (dis)connected

2020-12-10 Thread David Miller
From: Xie He Date: Tue, 8 Dec 2020 14:50:44 -0800 > When the upper layer instruct us to connect (or disconnect), but we have > already connected (or disconnected), consider this operation successful > rather than failed. > > This can help the upper layer to correct its record about whether we

Re: [PATCH net-next] net: mediatek: simplify the return expression of mtk_gmac_sgmii_path_setup()

2020-12-10 Thread David Miller
From: Zheng Yongjun Date: Thu, 10 Dec 2020 21:50:50 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied, thanks.

Re: [PATCH net-next] net/mlx4: simplify the return expression of mlx4_init_srq_table()

2020-12-10 Thread David Miller
From: Zheng Yongjun Date: Thu, 10 Dec 2020 21:50:00 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: stmmac: simplify the return tc_delete_knode()

2020-12-10 Thread David Miller
From: Zheng Yongjun Date: Thu, 10 Dec 2020 21:48:33 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied, thanks.

Re: [PATCH] vxlan: avoid double unlikely() notation when using IS_ERR()

2020-12-10 Thread David Miller
From: Antonio Quartulli Date: Thu, 10 Dec 2020 09:55:49 +0100 > The definition of IS_ERR() already applies the unlikely() notation > when checking the error status of the passed pointer. For this > reason there is no need to have the same notation outside of > IS_ERR() itself. > > Clean up code

Re: [PATCH net-next 0/7] net: hns3: updates for -next

2020-12-09 Thread David Miller
From: Huazhong Tan Date: Thu, 10 Dec 2020 11:42:05 +0800 > This patchset adds support for tc mqprio offload, hw tc > offload of tc flower, and adpation for max rss size changes. ZSeries applied, thanks.

Re: [PATCH v2 net-next 1/1] net: stmmac: allow stmmac to probe for C45 PHY devices

2020-12-09 Thread David Miller
From: Wong Vee Khee Date: Thu, 10 Dec 2020 06:47:00 +0800 > Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45. > This extended the probing of C45 PHY devices on the MDIO bus. > > Signed-off-by: Wong Vee Khee > --- > v2 changelog: > - Added conditional check for gmac4. Applied,

Re: [PATCH net-next] net: x25: Fix handling of Restart Request and Restart Confirmation

2020-12-09 Thread David Miller
From: Xie He Date: Wed, 9 Dec 2020 00:16:04 -0800 > 1. When the x25 module gets loaded, layer 2 may already be running and > connected. In this case, although we are in X25_LINK_STATE_0, we still > need to handle the Restart Request received, rather than ignore it. > > 2. When we are in

Re: [PATCH net-next v2] net: hdlc_x25: Remove unnecessary skb_reset_network_header calls

2020-12-09 Thread David Miller
From: Xie He Date: Tue, 8 Dec 2020 17:40:13 -0800 > 1. In x25_xmit, skb_reset_network_header is not necessary before we call > lapb_data_request. The lapb module doesn't need skb->network_header. > So there is no need to set skb->network_header before calling > lapb_data_request. > > 2. In

Re: [PATCH v2 net-next] net/mlx4: simplify the return expression of mlx4_init_cq_table()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 09:20:02 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the otx2_ptp_adjfine()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:27:26 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: emulex: benet: simplify the return expression of be_if_create()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:19:57 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: sja1105: simplify the return sja1105_cls_flower_stats()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:25:04 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: stmmac: simplify the return dwmac5_rxp_disable()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:23:25 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: dsa: simplify the return rtl8366_vlan_prepare()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:26:21 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: hinic: simplify the return hinic_configure_max_qnum()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:22:41 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: cisco: enic: simplify the return vnic_cq_alloc()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:20:31 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: dpaa: simplify the return dpaa_eth_refill_bpools()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:21:07 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: octeontx2: simplify the return expression of rvu_npa_init()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:18:44 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: marvell: prestera: simplify the return expression of prestera_port_close()

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 17:17:51 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH v2 net-next 0/2] nfc: s3fwrn5: Change I2C interrupt trigger to EDGE_RISING

2020-12-09 Thread David Miller
From: Bongsu Jeon Date: Tue, 8 Dec 2020 23:10:10 +0900 > From: Bongsu Jeon > > For stable Samsung's I2C interrupt handling, I changed the interrupt > trigger from IRQ_TYPE_LEVEL_HIGH to IRQ_TYPE_EDGE_RISING and removed > the hard coded interrupt trigger type in the i2c module for the

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ipa: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:40:03 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: thunderbolt: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:52 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mv88e6xxx: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:39:38 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: usb: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:38:11 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ethernet: ti: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:16 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: freescale: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:37:39 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] hisilicon/hns3: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:36:30 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] hisilicon/hns: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:35:31 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: mlx5: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:41 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: rxrpc: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:32:28 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: micrel: convert comma to semicolon

2020-12-09 Thread David Miller
From: Zheng Yongjun Date: Wed, 9 Dec 2020 21:34:02 +0800 > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: ipv6: rpl_iptunnel: simplify the return expression of rpl_do_srh()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:09:49 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: atheros: simplify the return expression of atl2_phy_setup_autoneg_adv()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:57:30 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/mlx4: simplify the return expression of mlx4_init_cq_table()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:55:43 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/mlx5: simplify the return expression of mlx5_esw_offloads_pair()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:56:25 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] drivers: net: qlcnic: simplify the return expression of qlcnic_sriov_vf_shutdown()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 21:54:37 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:13:53 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net: core: devlink: simplify the return expression of devlink_nl_cmd_trap_set_doit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:10:46 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

Re: [PATCH net-next] net/sched: cls_u32: simplify the return expression of u32_reoffload_knode()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:08:22 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied

Re: [PATCH net-next] net: core: devlink: simplify the return expression of devlink_nl_cmd_trap_set_doit()

2020-12-08 Thread David Miller
From: Zheng Yongjun Date: Tue, 8 Dec 2020 20:10:46 +0800 > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied.

  1   2   3   4   5   6   7   8   9   10   >