I found a strange place while reading “net/ipv6/reassembly.c”

2018-08-14 Thread Ttttabcd
Hello everyone who develops the kernel. At the beginning I was looking for the source author, but his email address has expired, so I can only come here to ask questions. The problem is in the /net/ipv6/reassembly.c file, the author is Pedro Roque. I found some strange places when I read the

Re: [PATCH] net: macb: Fix regression breaking non-MDIO fixed-link PHYs

2018-08-14 Thread Andrew Lunn
On Tue, Aug 14, 2018 at 05:58:12PM +0200, Uwe Kleine-König wrote: > Hello Ahmad, > > > On Tue, Aug 14, 2018 at 04:12:40PM +0200, Ahmad Fatoum wrote: > > The referenced commit broke initializing macb on the EVB-KSZ9477 eval board. > > There, of_mdiobus_register was called even for the fixed-link

Re: [PATCH] net: macb: Fix regression breaking non-MDIO fixed-link PHYs

2018-08-14 Thread Brad Mouring
Hello Ahmed, Uwe, On Tue, Aug 14, 2018 at 05:58:12PM +0200, Uwe Kleine-König wrote: > Hello Ahmad, > > > On Tue, Aug 14, 2018 at 04:12:40PM +0200, Ahmad Fatoum wrote: > > The referenced commit broke initializing macb on the EVB-KSZ9477 eval board. > > There, of_mdiobus_register was called even

Re: [PATCH v2 net-next] veth: Free queues on link delete

2018-08-14 Thread Toshiaki Makita
On 2018/08/15 10:29, David Ahern wrote: > On 8/14/18 7:16 PM, Toshiaki Makita wrote: >> Hmm, on second thought this queues need to be freed after veth_close() >> to make sure no packet will reference them. That means we need to free >> them in .ndo_uninit() or destructor. >> (rtnl_delete_link()

Re: [PATCH v2 net-next] veth: Free queues on link delete

2018-08-14 Thread David Ahern
On 8/14/18 7:16 PM, Toshiaki Makita wrote: > Hmm, on second thought this queues need to be freed after veth_close() > to make sure no packet will reference them. That means we need to free > them in .ndo_uninit() or destructor. > (rtnl_delete_link() calls dellink() before

Re: [PATCH v2 net-next] veth: Free queues on link delete

2018-08-14 Thread Toshiaki Makita
On 2018/08/15 10:04, dsah...@kernel.org wrote: > From: David Ahern > > kmemleak reported new suspected memory leaks. > $ cat /sys/kernel/debug/kmemleak > unreferenced object 0x8800354d5c00 (size 1024): > comm "ip", pid 836, jiffies 4294722952 (age 25.904s) > hex dump (first 32 bytes): >

[PATCH v2 net-next] veth: Free queues on link delete

2018-08-14 Thread dsahern
From: David Ahern kmemleak reported new suspected memory leaks. $ cat /sys/kernel/debug/kmemleak unreferenced object 0x8800354d5c00 (size 1024): comm "ip", pid 836, jiffies 4294722952 (age 25.904s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [PATCH net] veth: Free queues on link delete

2018-08-14 Thread David Ahern
On 8/14/18 6:37 PM, Toshiaki Makita wrote: > On 2018/08/15 7:36, dsah...@kernel.org wrote: >> From: David Ahern >> >> kmemleak reported new suspected memory leaks. >> $ cat /sys/kernel/debug/kmemleak >> unreferenced object 0x880130b6ec00 (size 1024): >> comm "ip", pid 916, jiffies

Re: [PATCH net] veth: Free queues on link delete

2018-08-14 Thread Toshiaki Makita
On 2018/08/15 7:36, dsah...@kernel.org wrote: > From: David Ahern > > kmemleak reported new suspected memory leaks. > $ cat /sys/kernel/debug/kmemleak > unreferenced object 0x880130b6ec00 (size 1024): > comm "ip", pid 916, jiffies 4296194668 (age 7251.672s) > hex dump (first 32 bytes): >

[RFC][bug?] "net/act_pedit: Introduce 'add' operation" is broken for anything wider than an octet

2018-08-14 Thread Al Viro
The code doing addition in that commit is + switch (cmd) { + case TCA_PEDIT_KEY_EX_CMD_SET: + val = tkey->val; + break; + case TCA_PEDIT_KEY_EX_CMD_ADD: +

Re: [PATCH bpf] bpf: fix a rcu usage warning in bpf_prog_array_copy_core()

2018-08-14 Thread Roman Gushchin
On Tue, Aug 14, 2018 at 04:59:45PM -0700, Alexei Starovoitov wrote: > On Tue, Aug 14, 2018 at 11:01:12AM -0700, Yonghong Song wrote: > > Commit 394e40a29788 ("bpf: extend bpf_prog_array to store pointers > > to the cgroup storage") refactored the bpf_prog_array_copy_core() > > to accommodate new

virtio_net failover and initramfs (was: Re: [PATCH net-next v11 2/5] netvsc: refactor notifier/event handling code to use the failover framework)

2018-08-14 Thread Siwei Liu
Are we sure all userspace apps skip and ignore slave interfaces by just looking at "IFLA_MASTER" attribute? When STANDBY is enabled on virtio-net, a failover master interface will appear, which automatically enslaves the virtio device. But it is found out that iSCSI (or any network boot) cannot

Re: [PATCH bpf] bpf: fix a rcu usage warning in bpf_prog_array_copy_core()

2018-08-14 Thread Alexei Starovoitov
On Tue, Aug 14, 2018 at 11:01:12AM -0700, Yonghong Song wrote: > Commit 394e40a29788 ("bpf: extend bpf_prog_array to store pointers > to the cgroup storage") refactored the bpf_prog_array_copy_core() > to accommodate new structure bpf_prog_array_item which contains > bpf_prog array itself. > > In

Re: [PATCH net-next] net: sched: act_ife: disable bh when taking ife_mod_lock

2018-08-14 Thread Cong Wang
On Tue, Aug 14, 2018 at 10:35 AM Vlad Buslov wrote: > > > On Mon 13 Aug 2018 at 23:18, Cong Wang wrote: > > Hi, Vlad, > > > > Could you help to test my fixes? > > > > I just pushed them into my own git repo: > > https://github.com/congwang/linux/commits/net-sched-fixes > > > > Particularly, this

Re: [PATCH net-next] net: sched: act_ife: always release ife action on init error

2018-08-14 Thread Cong Wang
On Tue, Aug 14, 2018 at 10:30 AM Vlad Buslov wrote: > > Action init API was changed to always take reference to action, even when > overwriting existing action. Substitute conditional action release, which > was executed only if action is newly created, with unconditional release in >

[PATCH net] veth: Free queues on link delete

2018-08-14 Thread dsahern
From: David Ahern kmemleak reported new suspected memory leaks. $ cat /sys/kernel/debug/kmemleak unreferenced object 0x880130b6ec00 (size 1024): comm "ip", pid 916, jiffies 4296194668 (age 7251.672s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [PATCH net] cls_matchall: fix tcf_unbind_filter missing

2018-08-14 Thread Cong Wang
On Tue, Aug 14, 2018 at 2:28 AM Hangbin Liu wrote: > > Fix tcf_unbind_filter missing in cls_matchall as this will trigger > WARN_ON() in cbq_destroy_class(). > > Fixes: fd62d9f5c575f ("net/sched: matchall: Fix configuration race") > Reported-by: Li Shuang > Signed-off-by: Hangbin Liu Acked-by:

[Patch net-next] ila: make lockdep happy again

2018-08-14 Thread Cong Wang
Previously, alloc_ila_locks() and bucket_table_alloc() call spin_lock_init() separately, therefore they have two different lock names and lock class keys. However, after commit b893281715ab ("ila: Call library function alloc_bucket_locks") they both call helper alloc_bucket_spinlocks() which now

Re: [endianness bug] cxgb4: mk_act_open_req() buggers ->{local,peer}_ip on big-endian hosts

2018-08-14 Thread Al Viro
How can cxgb4/cxgb4_tc_flower.c handling of 16bit fields possibly work on b-e? Look: case TCA_PEDIT_KEY_EX_HDR_TYPE_TCP: switch (offset) { case PEDIT_TCP_SPORT_DPORT: if (~mask & PEDIT_TCP_UDP_SPORT_MASK)

Re: [PATCH next-queue 3/8] ixgbe: add VF ipsec management

2018-08-14 Thread Shannon Nelson
improve the system] url: https://github.com/0day-ci/linux/commits/Shannon-Nelson/ixgbe-ixgbevf-IPsec-offload-support-for-VFs/20180814-074800 base: https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git dev-queue config: x86_64-randconfig-v0-08131550 (attached as .config

[PATCH net-next] net: sched: always disable bh when taking tcf_lock

2018-08-14 Thread Vlad Buslov
Recently, ops->init() and ops->dump() of all actions were modified to always obtain tcf_lock when accessing private action state. Actions that don't depend on tcf_lock for synchronization with their data path use non-bh locking API. However, tcf_lock is also used to protect rate estimator stats in

[PATCH bpf] bpf: fix a rcu usage warning in bpf_prog_array_copy_core()

2018-08-14 Thread Yonghong Song
Commit 394e40a29788 ("bpf: extend bpf_prog_array to store pointers to the cgroup storage") refactored the bpf_prog_array_copy_core() to accommodate new structure bpf_prog_array_item which contains bpf_prog array itself. In the old code, we had perf_event_query_prog_array():

Re: [PATCH][bpf-next] bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT"

2018-08-14 Thread David Miller
From: Alexei Starovoitov Date: Tue, 14 Aug 2018 10:39:12 -0700 > On Mon, Aug 13, 2018 at 03:00:32PM +0100, Colin King wrote: >> From: Colin Ian King >> >> Trivial fix to spelling mistake in error message >> >> Signed-off-by: Colin Ian King > > Acked-by: Alexei Starovoitov > > Dave, may be

Re: [PATCH] hv/netvsc: Fix NULL dereference at single queue mode fallback

2018-08-14 Thread Takashi Iwai
On Tue, 14 Aug 2018 19:29:32 +0200, David Miller wrote: > > From: Takashi Iwai > Date: Tue, 14 Aug 2018 19:10:50 +0200 > > > The recent commit 916c5e1413be ("hv/netvsc: fix handling of fallback > > to single queue mode") tried to fix the fallback behavior to a single > > queue mode, but it

Re: [PATCH][bpf-next] bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT"

2018-08-14 Thread Alexei Starovoitov
On Mon, Aug 13, 2018 at 03:00:32PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in error message > > Signed-off-by: Colin Ian King Acked-by: Alexei Starovoitov Dave, may be you can take this one directly, since PR for net-next is not yet sent to

Re: [PATCH net-next] net: sched: act_ife: disable bh when taking ife_mod_lock

2018-08-14 Thread Vlad Buslov
On Mon 13 Aug 2018 at 23:18, Cong Wang wrote: > Hi, Vlad, > > Could you help to test my fixes? > > I just pushed them into my own git repo: > https://github.com/congwang/linux/commits/net-sched-fixes > > Particularly, this is the revert: >

[PATCH net-next] net: sched: act_ife: always release ife action on init error

2018-08-14 Thread Vlad Buslov
Action init API was changed to always take reference to action, even when overwriting existing action. Substitute conditional action release, which was executed only if action is newly created, with unconditional release in tcf_ife_init() error handling code to prevent double free or memory leak

Re: [PATCH] hv/netvsc: Fix NULL dereference at single queue mode fallback

2018-08-14 Thread David Miller
From: Takashi Iwai Date: Tue, 14 Aug 2018 19:10:50 +0200 > The recent commit 916c5e1413be ("hv/netvsc: fix handling of fallback > to single queue mode") tried to fix the fallback behavior to a single > queue mode, but it changed the function to return zero incorrectly, > while the function

Re: [PATCH net-next v6 08/11] net: sched: don't release reference on action overwrite

2018-08-14 Thread Vlad Buslov
On Mon 13 Aug 2018 at 23:00, Cong Wang wrote: > On Thu, Jul 5, 2018 at 7:24 AM Vlad Buslov wrote: >> diff --git a/net/sched/act_ife.c b/net/sched/act_ife.c >> index 89a761395c94..acea3feae762 100644 >> --- a/net/sched/act_ife.c >> +++ b/net/sched/act_ife.c > ... >> @@ -548,6 +546,8 @@ static int

Re: [PATCH] hv/netvsc: Fix NULL dereference at single queue mode fallback

2018-08-14 Thread Stephen Hemminger
On Tue, 14 Aug 2018 19:10:50 +0200 Takashi Iwai wrote: > The recent commit 916c5e1413be ("hv/netvsc: fix handling of fallback > to single queue mode") tried to fix the fallback behavior to a single > queue mode, but it changed the function to return zero incorrectly, > while the function should

Re: [Intel-wired-lan] [PATCH next-queue 0/8] ixgbe/ixgbevf: IPsec offload support for VFs

2018-08-14 Thread Shannon Nelson
On 8/14/2018 8:30 AM, Alexander Duyck wrote: On Mon, Aug 13, 2018 at 11:43 AM Shannon Nelson wrote: This set of patches implements IPsec hardware offload for VF devices in Intel's 10Gbe x540 family of Ethernet devices. [...] So the one question I would have about this patch set is what

[PATCH] hv/netvsc: Fix NULL dereference at single queue mode fallback

2018-08-14 Thread Takashi Iwai
The recent commit 916c5e1413be ("hv/netvsc: fix handling of fallback to single queue mode") tried to fix the fallback behavior to a single queue mode, but it changed the function to return zero incorrectly, while the function should return an object pointer. Eventually this leads to a NULL

Re: [PATCH net] cxgb4: Add new T5 PCI device ids 0x50af and 0x50b0

2018-08-14 Thread David Miller
From: Ganesh Goudar Date: Tue, 14 Aug 2018 16:21:37 +0530 > Signed-off-by: Ganesh Goudar Applied.

Re: [PATCH net-next] net: dsa: mv88e6xxx: missing unlock on error path

2018-08-14 Thread David Miller
From: Dan Carpenter Date: Tue, 14 Aug 2018 12:09:05 +0300 > We added a new error path, but we need to drop the lock before we return. > > Fixes: 2d2e1dd29962 ("net: dsa: mv88e6xxx: Cache the port cmode") > Signed-off-by: Dan Carpenter Applied.

Re: [PATCH net-next] net: dsa: mv88e6xxx: bitwise vs logical bug

2018-08-14 Thread David Miller
From: Dan Carpenter Date: Tue, 14 Aug 2018 12:06:43 +0300 > We are trying to test if these flags are set but there are some && vs & > typos. > > Fixes: efd1ba6af93f ("net: dsa: mv88e6xxx: Add SERDES phydev_mac_change up > for 6390") > Signed-off-by: Dan Carpenter Applied.

Re: [PATCH] 9p/xen: fix check for xenbus_read error in front_probe

2018-08-14 Thread Stefano Stabellini
On Tue, 14 Aug 2018, Dominique Martinet wrote: > From: Dominique Martinet > > If the xen bus exists but does not expose the proper interface, it is > possible to get a non-zero length but still some error, leading to > strcmp failing trying to load invalid memory addresses e.g. >

Re: [PATCH net-next] ieee802154: hwsim: using right kind of iteration

2018-08-14 Thread David Miller
From: Alexander Aring Date: Sun, 12 Aug 2018 16:24:56 -0400 > This patch fixes the error path to unsubscribe all other phy's from > current phy. The actually code using a wrong kind of list iteration may > copied from the case to unsubscribe the current phy from all other > phy's. > > Cc:

Re: [PATCH] net: macb: Fix regression breaking non-MDIO fixed-link PHYs

2018-08-14 Thread Uwe Kleine-König
Hello Ahmad, On Tue, Aug 14, 2018 at 04:12:40PM +0200, Ahmad Fatoum wrote: > The referenced commit broke initializing macb on the EVB-KSZ9477 eval board. > There, of_mdiobus_register was called even for the fixed-link representing > the SPI-connected switch PHY, with the result that the driver

Re: [Intel-wired-lan] [PATCH next-queue 0/8] ixgbe/ixgbevf: IPsec offload support for VFs

2018-08-14 Thread Alexander Duyck
On Mon, Aug 13, 2018 at 11:43 AM Shannon Nelson wrote: > > This set of patches implements IPsec hardware offload for VF devices in > Intel's 10Gbe x540 family of Ethernet devices. > > The IPsec HW offload feature has been in the x540/Niantic family of > network devices since their release in

Re: [PATCH RFC net-next] openvswitch: Queue upcalls to userspace in per-port round-robin order

2018-08-14 Thread Stefano Brivio
Hi William, On Fri, 10 Aug 2018 07:11:01 -0700 William Tu wrote: > > int rr_select_srcport(struct dp_upcall_info *upcall) > > { > > /* look up source port from upcall->skb... */ > > } > > > > And we could then easily extend this to use BPF with maps one day. > > > > > Hi Stefano, > >

[PATCH] net: macb: Fix regression breaking non-MDIO fixed-link PHYs

2018-08-14 Thread Ahmad Fatoum
The referenced commit broke initializing macb on the EVB-KSZ9477 eval board. There, of_mdiobus_register was called even for the fixed-link representing the SPI-connected switch PHY, with the result that the driver attempts to enumerate PHYs on a non-existent MDIO bus: libphy:

Re: [PATCH v2 iproute2-next] Add SKB Priority qdisc support in tc(8)

2018-08-14 Thread David Ahern
On 8/13/18 8:57 PM, Nishanth Devarajan wrote: > sch_skbprio is a qdisc that prioritizes packets according to their > skb->priority > field. Under congestion, it drops already-enqueued lower priority packets to > make space available for higher priority packets. Skbprio was conceived as a >

Re: [PATCH net-next] net: dsa: mv88e6xxx: missing unlock on error path

2018-08-14 Thread Andrew Lunn
On Tue, Aug 14, 2018 at 12:09:05PM +0300, Dan Carpenter wrote: > We added a new error path, but we need to drop the lock before we return. > > Fixes: 2d2e1dd29962 ("net: dsa: mv88e6xxx: Cache the port cmode") > Signed-off-by: Dan Carpenter Signed-off-by: Andrew Lunn Andrew

Re: [PATCH net-next] net: dsa: mv88e6xxx: bitwise vs logical bug

2018-08-14 Thread Andrew Lunn
On Tue, Aug 14, 2018 at 12:06:43PM +0300, Dan Carpenter wrote: > We are trying to test if these flags are set but there are some && vs & > typos. > > Fixes: efd1ba6af93f ("net: dsa: mv88e6xxx: Add SERDES phydev_mac_change up > for 6390") > Signed-off-by: Dan Carpenter Reviewed-by: Andrew Lunn

[iproute PATCH 3/3] testsuite: Add a first ss test validating ssfilter

2018-08-14 Thread Phil Sutter
This tests a few ssfilter expressions by selecting sockets from a TCP dump file. The dump was created using the following command: | ss -ntaD testsuite/tests/ss/ss1.dump It is fed into ss via TCPDIAG_FILE environment variable. Signed-off-by: Phil Sutter --- testsuite/tests/ss/ss1.dump | Bin

[iproute PATCH 0/3] Fix and test ssfilter

2018-08-14 Thread Phil Sutter
This series contains a fix for ssfilter and introduces a testscript to verify correct functionality. Phil Sutter (3): ss: Review ssfilter testsuite: Prepare for ss tests testsuite: Add a first ss test validating ssfilter misc/ssfilter.y | 36 ++---

[iproute PATCH 1/3] ss: Review ssfilter

2018-08-14 Thread Phil Sutter
The original problem was ssfilter rejecting single expressions if enclosed in braces, such as: | sport = 22 or ( dport = 22 ) This is fixed by allowing 'expr' to be an 'exprlist' enclosed in braces. The no longer required recursion in 'exprlist' being an 'exprlist' enclosed in braces is dropped.

[iproute PATCH 2/3] testsuite: Prepare for ss tests

2018-08-14 Thread Phil Sutter
This merges the shared bits from ts_tc() and ts_ip() into a common function for being wrapped by the first ones and adds a third ts_ss() for testing ss commands. Signed-off-by: Phil Sutter --- testsuite/Makefile | 2 +- testsuite/lib/generic.sh | 37 ++---

Re: [PATCH bpf] Revert "xdp: add NULL pointer check in __xdp_return()"

2018-08-14 Thread Björn Töpel
Den fre 10 aug. 2018 kl 18:26 skrev Jakub Kicinski : > > On Fri, 10 Aug 2018 17:16:45 +0200, Björn Töpel wrote: > > Den fre 10 aug. 2018 kl 16:10 skrev Daniel Borkmann : > > > > > > On 08/10/2018 11:28 AM, Björn Töpel wrote: > > > > From: Björn Töpel > > > > > > > > This reverts commit

Re: [Query]: DSA Understanding

2018-08-14 Thread Lad, Prabhakar
Hi Florian, On Mon, Aug 13, 2018 at 7:57 PM Florian Fainelli wrote: > > On 08/13/2018 08:58 AM, Lad, Prabhakar wrote: > > Hi Andrew/Florain, > > > > On Mon, Aug 13, 2018 at 2:38 PM Andrew Lunn wrote: > >> > I agree, this should be padding packets correctly, can you still > instrument

Re: [PATCH net 2/2] net/mlx5e: Cleanup of dcbnl related fields

2018-08-14 Thread Håkon Bugge
> On 14 Aug 2018, at 11:01, Yuval Shaia wrote: > > On Wed, Aug 08, 2018 at 03:48:08PM -0700, Saeed Mahameed wrote: >> From: Huy Nguyen >> >> Remove unused netdev_registered_init/remove in en.h >> Return ENOSUPPORT if the check MLX5_DSCP_SUPPORTED fails. > > s/ENOSUPPORT/EOPNOTSUPP > (noted

[PATCH net] cxgb4: Add new T5 PCI device ids 0x50af and 0x50b0

2018-08-14 Thread Ganesh Goudar
Signed-off-by: Ganesh Goudar --- drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h b/drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h index e3adf43..60df66f 100644 ---

[PATCH net] cls_matchall: fix tcf_unbind_filter missing

2018-08-14 Thread Hangbin Liu
Fix tcf_unbind_filter missing in cls_matchall as this will trigger WARN_ON() in cbq_destroy_class(). Fixes: fd62d9f5c575f ("net/sched: matchall: Fix configuration race") Reported-by: Li Shuang Signed-off-by: Hangbin Liu --- net/sched/cls_matchall.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [Intel-wired-lan] e1000e driver stuck at 10Mbps after reconnection

2018-08-14 Thread Camille Bordignon
Le mercredi 08 août 2018 à 18:00:28 (+0300), Neftin, Sasha a écrit : > On 8/8/2018 17:24, Neftin, Sasha wrote: > > On 8/7/2018 09:42, Camille Bordignon wrote: > > > Le lundi 06 août 2018 à 15:45:29 (-0700), Alexander Duyck a écrit : > > > > On Mon, Aug 6, 2018 at 4:59 AM, Camille Bordignon > > > >

[PATCH net-next] net: dsa: mv88e6xxx: missing unlock on error path

2018-08-14 Thread Dan Carpenter
We added a new error path, but we need to drop the lock before we return. Fixes: 2d2e1dd29962 ("net: dsa: mv88e6xxx: Cache the port cmode") Signed-off-by: Dan Carpenter diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index 17752316ab10..8da3d39e3218 100644 ---

[PATCH net-next] net: dsa: mv88e6xxx: bitwise vs logical bug

2018-08-14 Thread Dan Carpenter
We are trying to test if these flags are set but there are some && vs & typos. Fixes: efd1ba6af93f ("net: dsa: mv88e6xxx: Add SERDES phydev_mac_change up for 6390") Signed-off-by: Dan Carpenter diff --git a/drivers/net/dsa/mv88e6xxx/serdes.c b/drivers/net/dsa/mv88e6xxx/serdes.c index

Re: [PATCH net 2/2] net/mlx5e: Cleanup of dcbnl related fields

2018-08-14 Thread Yuval Shaia
On Wed, Aug 08, 2018 at 03:48:08PM -0700, Saeed Mahameed wrote: > From: Huy Nguyen > > Remove unused netdev_registered_init/remove in en.h > Return ENOSUPPORT if the check MLX5_DSCP_SUPPORTED fails. s/ENOSUPPORT/EOPNOTSUPP (noted by Haakon) > Remove extra white space > > Fixes: 2a5e7a1344f4

[PATCH net-next][RFC] net/tls: Add support for async decryption of tls records

2018-08-14 Thread Vakul Garg
Incoming TLS records which are directly decrypted into user space application buffer i.e. records which are decrypted in zero-copy mode are submitted for async decryption. When the decryption cryptoapi returns -EINPROGRESS, the next tls record is parsed and then submitted for decryption. The

[PATCH] 9p/xen: fix check for xenbus_read error in front_probe

2018-08-14 Thread Dominique Martinet
From: Dominique Martinet If the xen bus exists but does not expose the proper interface, it is possible to get a non-zero length but still some error, leading to strcmp failing trying to load invalid memory addresses e.g. fffe. There is then no need to check length when there is no

Re: TJA1100 100Base-T1 PHY features via ethtool?

2018-08-14 Thread Michael Grzeschik
On Mon, Aug 13, 2018 at 12:53:35PM -0700, Florian Fainelli wrote: > On 08/13/2018 12:35 PM, Michael Grzeschik wrote: > > Hi David, > > > > I use a special 100Base-T1 phy (NXP TJA1100 [1]) that has some features > > like: > > > > - enabling/disabling test modes > > - fault detection > > -