On 2017年11月08日 15:26, David Miller wrote:
From: Willem de Bruijn
Date: Wed, 8 Nov 2017 12:36:26 +0900
On Tue, Nov 7, 2017 at 5:02 PM, Michal Kubecek wrote:
I didn't have time to think it through yet but perhaps we could allow
setting TUN_F_UFO and ignore its value.
If the feature is enabl
Hi David,
> > On Wed, Nov 08, 2017 at 01:54:56PM +0900, David Miller wrote:
> >> From: Miquel Raynal
> >> Date: Mon, 6 Nov 2017 22:56:53 +0100
> >>
> >> > Add ethtool statistics support by reading the GOP statistics
> >> > from the hardware counters. Also implement a workqueue to gather
> >
Hi Markus,
> * Improve jump targets so that a bit of exception handling can be better
> reused at the end of this function.
>
> * Adjust five condition checks.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring
> ---
> net/bluetooth/af_bluetooth.c
Depending on the machine and the number of queues this might even result in
completely losing the ability to suspend/hibernate because the number of
available vectors on CPU0 is not sufficient to accomodate all queue
interrupts.
Would it be possible to keep the managed facility until a user ov
The way people generally use netlink_dump is that they fill in the skb
as much as possible, breaking when nla_put returns an error. Then, they
get called again and start filling out the next skb, and again, and so
forth. The mechanism at work here is the ability for the iterative
dumping function t
From: Fuyun Liang
Driver gets phy address from NCL_config file and uses the phy address
to initialize phydev. There are 5 bits for phy address. And C22 phy
address has 5 bits. So 0-31 are all valid address for phy. If there
is no phy, it will crash. Because driver always get a valid phy address.
From: Fuyun Liang
When checking whether auto-negotiation is on, driver only needs to
check the value of mac.autoneg(SW) directly, and does not need to
query it from hardware. Because this value is always synchronized
with the auto-negotiation state of hardware.
This patch removes mac auto-negoti
This patch-set introduces some bug fixes and code improvements.
As [patch 1/2] depends on the patch {5392902 net: hns3: Consistently using
GENMASK in hns3 driver}, which exists in net-next, not exists in net, so
push this serise to nex-next.
Fuyun Liang (2):
{topost} net: hns3: fix a bug when ge
From: Kamal Heib
In the current code, if a size of zero is passed to
mlx5_fpga_mem_{read|write}_i2c() functions the "err"
return value will not initialized.
Fixes: a9956d35d199 ('net/mlx5: FPGA, Add SBU infrastructure')
Signed-off-by: Kamal Heib
Reviewed-by: Yevgeny Kliteynik
Signed-off-by: Sa
napi->poll can be called with budget 0, e.g. in netpoll scenarios
where the caller only wants to poll TX rings
(poll_one_napi@net/core/netpoll.c).
The below commit changed RX polling from "while" loop to "do {} while",
which caused to ignore the initial budget and handle at least one RX
packet.
T
From: Huy Nguyen
After the panic teardown firmware command, health_care detects the error
in PCI bus and calls the mlx5_pci_err_detected. This health_care flow is
no longer needed because the panic teardown firmware command will bring
down the PCI bus communication with the HCA.
The solution is
From: Inbar Karmy
Currently, when dma mapping fails, put_page is called,
but the page is not set to null. Later, in the page_reuse treatment in
mlx5e_free_rx_descs(), mlx5e_page_release() is called for the second time,
improperly doing dma_unmap (for a non-mapped address) and an extra put_page.
P
From: Eugenia Emantayev
This is to prevent the case of working with a single MPWQE
(1 WQE is always reserved as RQ is linked-list).
When the WQE is fully consumed, HW should still have available buffer
in order not to drop packets.
Fixes: 461017cb006a ("net/mlx5e: Support RX multi-packet WQE (St
From: Huy Nguyen
list_splice_init initializing waiting_events_list after splicing it to
temp list, therefore we should loop over temp list to fire the events.
Fixes: 4ca637a20a52 ("net/mlx5: Delay events till mlx5 interface's add complete
for pci resume")
Signed-off-by: Huy Nguyen
Signed-off-b
Hi Dave,
The follwoing series includes some fixes for mlx5 core and etherent
driver.
Sorry for the late submission but as you can see i have some very
critical fixes below that i would like them merged into this RC.
Please pull and let me know if there is any problem.
For -stable:
('net/mlx5e:
On Tue, Nov 07, 2017 at 08:05:18PM -0800, David Ahern wrote:
> Kernel can now return non-fatal error messages in extack facility.
> Update iproute2 to dump to use if present.
> - rename nl_dump_ext_err to nl_dump_ext_ack
> - rename errmsg to msg
> - add call to nl_dump_ext_ack in rtnl_dump_done and
please ignore this patch-set.
I should remove "{topost}" from the subject.
sorry for that, I will resend the patch-set.
On 2017/11/8 15:31, Lipeng wrote:
This patch-set introduces some bug fixes and code improvements.
As [patch 1/2] depends on the patch {5392902 net: hns3: Consistently using
From: Markus Elfring
Date: Wed, 8 Nov 2017 08:03:04 +0100
* Improve jump targets so that a bit of exception handling can be better
reused at the end of this function.
* Adjust five condition checks.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Yi Yang
Date: Tue, 7 Nov 2017 21:07:02 +0800
...
> OVS master and 2.8 branch has merged NSH userspace
> patch series, this patch is to enable NSH support
> in kernel data path in order that OVS can support
> NSH in compat mode by porting this.
>
> Signed-off-by: Yi Yang
> Acked-by: Jiri
From: Kristian Evensen
Date: Tue, 7 Nov 2017 13:47:56 +0100
> When we receive a packet on a QMI device in raw IP mode, we should call
> skb_reset_mac_header() to ensure that skb->mac_header contains a valid
> offset in the packet. While it shouldn't really matter, the packets have
> no MAC heade
From: Jay Vosburgh
Date: Tue, 07 Nov 2017 19:50:07 +0900
> The bonding miimon logic has a flaw, in that a failure of the
> rtnl_trylock can cause a slave to become permanently stuck in
> BOND_LINK_FAIL state.
>
> The sequence of events to cause this is as follows:
>
> 1) bond_
Erf, your patch doesn't handle what happens if len comes back
negative, but I'll fix it up and send a v2 using this approach.
I think I really prefer v1 though.
Jason
From: Fuyun Liang
Driver gets phy address from NCL_config file and uses the phy address
to initialize phydev. There are 5 bits for phy address. And C22 phy
address has 5 bits. So 0-31 are all valid address for phy. If there
is no phy, it will crash. Because driver always get a valid phy address.
From: Fuyun Liang
When checking whether auto-negotiation is on, driver only needs to
check the value of mac.autoneg(SW) directly, and does not need to
query it from hardware. Because this value is always synchronized
with the auto-negotiation state of hardware.
This patch removes mac auto-negoti
On 11/07/2017 04:56 PM, Sowmini Varadhan wrote:
>
> We are trying to use DCBX via lldpad for some of our applications,
> and finding/fixing bugs and enhancements as we go.
>
> However our attempts to upstream these fixes is encountering silence
> from the lldp-devel list e.g.,
> http://lists.o
This patch-set introduces some bug fixes and code improvements.
As [patch 1/2] depends on the patch {5392902 net: hns3: Consistently using
GENMASK in hns3 driver}, which exists in net-next, not exists in net, so
push this serise to nex-next.
Fuyun Liang (2):
{topost} net: hns3: fix a bug when ge
From: Arnd Bergmann
Date: Tue, 7 Nov 2017 11:38:32 +0100
> Timestamps in pktgen are currently retrieved using the deprecated
> do_gettimeofday() function that wraps its signed 32-bit seconds in 2038
> (on 32-bit architectures) and requires a division operation to calculate
> microseconds.
>
> T
From: Yafang Shao
Date: Tue, 7 Nov 2017 18:36:28 +0800
> When I hooked the function tcp_set_state with kprobe to track the ipv4/tcp
> state transistion, I found state transition from TCP_LISTEN to TCP_SYN_RECV
> is missed.
>
> I think it is better to use the helper to do state transition instea
Hi Johannes,
Yes indeed. It sacrifices 24 bytes for making things much less
complex. However, if you prefer increasing the complexity of the state
machine a bit instead, I suppose we could roll with this approach
instead...
Jason
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/head.S | 211 +++
arch/nds32/kernel/setup.c | 406 +
2 files changed, 617 insertions(+)
create mode 100644 arch/nds32/kernel/head
From: Greentime Hu
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/early_printk.c | 124 ++
1 file changed, 124 insertions(+)
create mode 100644 arch/nds32/kernel/early_printk.c
diff --git a/arch/nds32/kernel/early_printk.c b/ar
This patchset adds core architecture support to Linux for Andestech's
N13, N15, D15, N10, D10 processor cores.
Based on the 16/32-bit AndeStar RISC-like architecture, we designed the
configurable AndesCore series of embedded processor families. AndesCores
range from highly performance-efficient sm
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/lib/copy_page.S | 50 ++
arch/nds32/mm/extable.c| 29 +++
arch/nds32/mm/fault.c | 420
arch/nds32/mm/mmap.c | 88 ++
4 files
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/fixmap.h | 41
arch/nds32/include/asm/highmem.h | 78 +++
arch/nds32/include/asm/memory.h | 147 +
arch/nds32/include/asm/mmu.h | 25 +++
arch/nds32/inclu
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/mm/highmem.c | 92 +
arch/nds32/mm/init.c | 328 ++
arch/nds32/mm/mm-nds32.c | 103 +++
3 files changed, 523 insertions(+)
cre
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/assembler.h | 52 ++
arch/nds32/include/asm/bitfield.h | 982
arch/nds32/include/asm/nds32.h | 92
arch/nds32/kernel/asm-offsets.c| 40
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/irqflags.h | 49 +
arch/nds32/kernel/irq.c | 34 +
2 files changed, 83 insertions(+)
create mode 100644 arch/nds32/in
From: Michael Grzeschik
Date: Tue, 7 Nov 2017 10:59:49 +0100
> @@ -611,6 +611,7 @@ static int macb_mii_init(struct macb *bp)
> err_out_unregister_bus:
> mdiobus_unregister(bp->mii_bus);
> err_out_free_mdiobus:
> + of_node_put(bp->phy_node);
> if ((np) && (of_phy_is_fixed_link(n
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/elf.h | 192 ++
arch/nds32/include/uapi/asm/auxvec.h | 25 +
arch/nds32/include/uapi/asm/param.h | 24 +
3 files changed, 241 insertions(+
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/current.h | 25
arch/nds32/include/asm/processor.h | 116 ++
arch/nds32/include/asm/thread_info.h | 91 ++
arch/nds32/kernel/process.c | 2
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/futex.h| 116
arch/nds32/include/asm/spinlock.h | 178 +
2 files changed, 294 insertions(+)
create mode 100644 arch/nds32/in
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/io.h | 33 +
arch/nds32/mm/ioremap.c | 67 +++
2 files changed, 100 insertions(+)
create mode 100644 arch/nds32/include/asm
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/dma-mapping.h | 27 ++
arch/nds32/kernel/dma.c | 478 ++
2 files changed, 505 insertions(+)
create mode 100644 arch/nds32/include/asm/dma-mappi
From: Willem de Bruijn
Date: Wed, 8 Nov 2017 12:36:26 +0900
> On Tue, Nov 7, 2017 at 5:02 PM, Michal Kubecek wrote:
>> I didn't have time to think it through yet but perhaps we could allow
>> setting TUN_F_UFO and ignore its value.
>
> If the feature is enabled guests may try to send UFO packet
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/ptrace.h | 42 +
arch/nds32/kernel/ptrace.c | 325 ++
2 files changed, 367 insertions(+)
create mode 100644 arch/nds32/include/uapi/asm/p
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 73 ++
arch/nds32/include/uapi/asm/signal.h | 23 ++
arch/nds32/kernel/signal.c | 370 ++
3 files changed, 466 insert
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/vdso.h | 35
arch/nds32/include/asm/vdso_datapage.h | 51 ++
arch/nds32/kernel/vdso.c | 243 ++
arch/nds32/kernel/vdso/
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/syscall.h | 203 ++
arch/nds32/include/asm/syscalls.h| 27 +
arch/nds32/include/asm/unistd.h | 21
arch/nds32/include/uapi/asm/unistd
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/time.c | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 arch/nds32/kernel/time.c
diff --git a/arch/nds32/kernel/time.c b/arch/nds32/kernel/time.c
new file mode 1
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/boot/dts/Makefile |8 ++
arch/nds32/boot/dts/ae3xx.dts | 55
arch/nds32/boot/dts/ag101p.dts | 60
arch/nds32/ke
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/string.h | 30 +++
arch/nds32/include/asm/swab.h| 48 +
arch/nds32/include/asm/uaccess.h | 385 ++
arch/nds32/kernel/nds32_ksyms.c | 54 +++
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/module.h | 24
arch/nds32/kernel/module.c | 299 +++
2 files changed, 323 insertions(+)
create mode 100644 arch/nds32/include/asm/module.h
cr
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/delay.h| 51 +
arch/nds32/include/asm/linkage.h | 24 ++
arch/nds32/include/uapi/asm/byteorder.h | 26 +++
arch
From: Greentime Hu
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
---
drivers/irqchip/Makefile |1 +
drivers/irqchip/irq-ativic32.c | 149
2 files changed, 150 insertions(+)
create mode 100644 drivers/irqchip/irq-ativic32.c
diff --git
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/configs/ae3xx_defconfig | 110 +++
arch/nds32/configs/ag101p_defconfig | 109 ++
2 files changed, 219 insertions(+)
create mode 100644 a
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/l2_cache.h | 158 +
arch/nds32/kernel/atl2c.c | 77 ++
2 files changed, 235 insertions(+)
create mode 100644 arch/nds32/include/
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 107
arch/nds32/Kconfig.cpu | 100 +
arch/nds32/Kconfig.debug | 14 +
arch/nds3
From: Greentime Hu
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
---
.../interrupt-controller/andestech,ativic32.txt| 27
1 file changed, 27 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/andestech,ativic32.txt
diff
From: Greentime Hu
Signed-off-by: Greentime Hu
---
MAINTAINERS |9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f4e462..bce1181 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -857,6 +857,15 @@ X: drivers/iio/*/adjd*
F: drivers/staging/iio/*/ad
From: Greentime Hu
Signed-off-by: Greentime Hu
---
drivers/net/ethernet/faraday/Kconfig |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/faraday/Kconfig
b/drivers/net/ethernet/faraday/Kconfig
index 040c7f1..0ae6e9a 100644
--- a/drivers/net/ether
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
---
Documentation/devicetree/bindings/nds32/cpus.txt | 33 ++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/binding
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/cache.h | 25 ++
arch/nds32/include/asm/cache_info.h| 26 ++
arch/nds32/include/asm/cacheflush.h| 57 +++
arch/nds32/include/asm/mmu_context.h | 81 +
arch/nds32/
From: Greentime Hu
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/ptrace.h | 79 ++
arch/nds32/kernel/ex-entry.S| 169
arch/nds32/kernel/ex-exit.S | 207 ++
arch/nds32/kernel/stacktrace.c | 60 +
arch/nds32/ker
On Tue, 2017-11-07 at 20:29 +0900, Jason A. Donenfeld wrote:
>
> This patch thus reserves and restores the required length for
> NLMSG_DONE during the call to the dump function.
>
That basically removes that space though, even when the dump isn't
complete... wouldn't it be better to do something
By the way, in case you're curious, here's the {up,down,cross}stream
WireGuard commit that works around it via its compat layer (a rat's
nest of hideous backports for all the weird kernels people want
WireGuard to run on, which I cannot wait to remove):
https://git.zx2c4.com/WireGuard/commit/?id=f
Attributes using NLA_U* and NLA_S* (where * is 8, 16,32 and 64) are
expected to be an exact length. Split these data types from
nla_attr_minlen into nla_attr_len and update validate_nla to require
the attribute to have exact length for them.
Signed-off-by: David Ahern
---
v2
- fix check in nla_po
From: Maciej Żenczykowski
Add a per-device sysctl to specify the default traffic class to use for
kernel originated IPv6 Neighbour Discovery packets.
Currently this includes:
- Router Solicitation (ICMPv6 type 133)
ndisc_send_rs() -> ndisc_send_skb() -> ip6_nd_hdr()
- Neighbour Solicit
On Wed, Nov 08, 2017 at 02:28:53PM +0900, Jason Wang wrote:
>
>
> On 2017年11月04日 08:56, Willem de Bruijn wrote:
> > On Fri, Nov 3, 2017 at 5:56 PM, Willem de Bruijn
> > wrote:
> > > On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote:
> > > > This patch introduces an eBPF based queue selection me
On 03/11/2017 10:40 PM, Mel Gorman wrote:
On Thu, Nov 02, 2017 at 07:21:09PM +0200, Tariq Toukan wrote:
On 18/09/2017 12:16 PM, Tariq Toukan wrote:
On 15/09/2017 1:23 PM, Mel Gorman wrote:
On Thu, Sep 14, 2017 at 07:49:31PM +0300, Tariq Toukan wrote:
Insights: Major degradation between
From: Antoine Tenart
Date: Wed, 8 Nov 2017 06:17:10 +0100
> Hi David,
>
> On Wed, Nov 08, 2017 at 01:54:56PM +0900, David Miller wrote:
>> From: Miquel Raynal
>> Date: Mon, 6 Nov 2017 22:56:53 +0100
>>
>> > Add ethtool statistics support by reading the GOP statistics from the
>> > hardware co
From: Bjorn Andersson
Date: Mon, 6 Nov 2017 20:50:35 -0800
> Registering qrtr with module_init makes the ability of typical platform
> code to create AF_QIPCRTR socket during probe a matter of link order
> luck. Moving qrtr to postcore_initcall() avoids this.
>
> Signed-off-by: Bjorn Andersson
From: Pablo Neira Ayuso
Date: Tue, 7 Nov 2017 01:51:50 +0100
> The following patchset contains Netfilter/IPVS updates for your net-next
> tree, they are:
...
> You can pull these changes from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git
Pulled, thanks a lot!
Several response handlers return EBUSY if the data corresponding to the
command/response pair is already set. There is no reason to return an
error here; the channel is advertising something as enabled because we
told it to enable it, and it's possible that the feature has been
enabled previously.
Hi Andy,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Andy-Zhou/Openvswitch-meter-action/20171108-053451
config: i386-randconfig-i0-201745 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4
The NCSI driver is mostly silent which becomes a headache when trying to
determine what has occurred on the NCSI connection. This adds additional
logging in a few key areas such as state transitions and calling out
certain errors more visibly.
Signed-off-by: Samuel Mendoza-Jonas
---
net/ncsi/ncs
On 2017年11月04日 08:56, Willem de Bruijn wrote:
On Fri, Nov 3, 2017 at 5:56 PM, Willem de Bruijn
wrote:
On Tue, Oct 31, 2017 at 7:32 PM, Jason Wang wrote:
This patch introduces an eBPF based queue selection method based on
the flow steering policy ops. Userspace could load an eBPF program
thr
Hi David,
On Wed, Nov 08, 2017 at 01:54:56PM +0900, David Miller wrote:
> From: Miquel Raynal
> Date: Mon, 6 Nov 2017 22:56:53 +0100
>
> > Add ethtool statistics support by reading the GOP statistics from the
> > hardware counters. Also implement a workqueue to gather the statistics
> > every s
From: David Miller
Date: Wed, 08 Nov 2017 13:58:09 +0900 (KST)
> From: Andrew Lunn
> Date: Tue, 7 Nov 2017 00:02:25 +0100
>
>> This patchset makes the mv88e6xxx driver perform flooding in hardware,
>> rather than let the software bridge perform the flooding. This is a
>> prerequisite for IGMP
From: Andrew Lunn
Date: Tue, 7 Nov 2017 00:02:25 +0100
> This patchset makes the mv88e6xxx driver perform flooding in hardware,
> rather than let the software bridge perform the flooding. This is a
> prerequisite for IGMP snooping on the bridge interface.
>
> In order to make hardware broadcast
Making it optional to show file names of pinned objects because
it scans complete bpf-fs filesystem which is costly.
Added option -f|--bpffs. Documentation updated.
Signed-off-by: Prashant Bhole
---
v2:
- Change command line option from {-l|--pinned} to {-f|--bpffs}
- Updated documentation
v3:
This was needed for opening any file in bpf-fs without knowing
its object type
Signed-off-by: Prashant Bhole
---
v2:
- No change
v3:
- No change
v4:
- No change
tools/bpf/bpftool/common.c | 15 +--
tools/bpf/bpftool/main.h | 1 +
2 files changed, 14 insertions(+), 2 deletion
Added support to show filenames of pinned objects.
For example:
root@test# ./bpftool prog
3: tracepoint name tracepoint__irq tag f677a7dd722299a3
loaded_at Oct 26/11:39 uid 0
xlated 160B not jited memlock 4096B map_ids 4
pinned /sys/fs/bpf/softirq_prog
4: tracepoint name trace
This patchset adds support to show pinned objects in object details.
Patch1 adds a funtionality to open a path in bpf-fs regardless of its object
type.
Patch2 adds actual functionality by scanning the bpf-fs once and adding
object information in hash table, with object id as a key. One object may
From: Miquel Raynal
Date: Mon, 6 Nov 2017 22:56:53 +0100
> Add ethtool statistics support by reading the GOP statistics from the
> hardware counters. Also implement a workqueue to gather the statistics
> every second or some 32-bit counters could overflow.
>
> Suggested-by: Stefan Chulski
> Si
From: Christophe JAILLET
Date: Mon, 6 Nov 2017 22:53:28 +0100
> Commit c6e26ea8c893 ("dpaa_eth: change device used") generated some
> conflicts in my patches waiting for submission. So I took a closer look at
> it.
>
>
> So here is a serie of 4 patches.
>
> The 1st one is just about a spuriou
On 2017-11-08 04:22, Stephen Hemminger wrote:
> On Sun, 5 Nov 2017 13:02:44 +0300
> Vasily Averin wrote:
>> +WARN(!list_empty(&sn->all_clients),
>> + "net %p exit: sunrpc all_clients list is not empty\n", net);
>
> Don't print a kernel pointer, this is a security leak.
Yes, you're ri
From: Colin King
Date: Mon, 6 Nov 2017 15:04:54 +
> From: Colin Ian King
>
> The size for IFLA_IF_NETNSID is missing from the size calculation
> because the proceeding semicolon was not removed. Fix this by removing
> the semicolon.
>
> Detected by CoverityScan, CID#1461135 ("Structurally
From: Bjørn Mork
Date: Mon, 6 Nov 2017 15:37:22 +0100
> Setting dev->hard_mtu to 0 will cause a divide error in
> usbnet_probe. Protect against devices with bogus CDC Ethernet
> functional descriptors by ignoring a zero wMaxSegmentSize.
>
> Signed-off-by: Bjørn Mork
Applied and queued up for
From: Arnd Bergmann
Date: Mon, 6 Nov 2017 15:04:39 +0100
> On 32-bit architectures, rtc_time_to_tm() returns incorrect results
> in 2038 or later, and do_gettimeofday() is broken for the same reason.
>
> This changes the code to use ktime_get_real_seconds() and time64_to_tm()
> instead, both of
From: Bjørn Mork
Date: Mon, 6 Nov 2017 15:32:18 +0100
> A CDC Ethernet functional descriptor with wMaxSegmentSize = 0 will
> cause a divide error in usbnet_probe:
>
> divide error: [#1] PREEMPT SMP KASAN
...
> Fix by simply ignoring the bogus descriptor, as it is optional
> for QMI device
From: Egil Hjelmeland
Date: Mon, 6 Nov 2017 15:19:49 +0100
> Now that ds->num_ports is 3, there is no need to check range of "port"
> parameter.
>
> Signed-off-by: Egil Hjelmeland
Applied.
From: Jon Maloy
Date: Mon, 6 Nov 2017 12:44:11 +0100
> + return core & (num_online_cpus() - 1);
Well, this isn't exactly correct. The number of online cpus is not
necessarily a power of two.
And furthermore it shouldn't even be necessary. Just pass the whole
key around, it will have the m
From: Arnd Bergmann
Date: Mon, 6 Nov 2017 14:26:10 +0100
> Commit a67e9472da42 ("of: Add array read functions with min/max size
> limits") added a new interface for reading variable-length arrays from
> DT properties. One user was added in dsa recently and this causes a
> build error because tha
From: Dan Carpenter
Date: Mon, 6 Nov 2017 14:43:01 +0300
> We return on the previous line so this "return 0;" statement should just
> be deleted.
>
> Signed-off-by: Dan Carpenter
Applied, thanks Dan.
On Wed, 8 Nov 2017 11:34:44 +0900, Prashant Bhole wrote:
> > > + FILE *mntfile = NULL;
> > > + FTSENT *ftse = NULL;
> > > + FTS *fts = NULL;
> > > + int fd, err;
> > > +
> > > + mntfile = setmntent("/proc/mounts", "r");
> > > + if (!mntfile)
> > > + return -1;
> > > +
> > > + while ((mntent
Thanks.
Signed-off-by: Erik Kline
On 7 November 2017 at 16:59, Maciej Żenczykowski wrote:
> From: Maciej Żenczykowski
>
> Add a per-device sysctl to specify the default traffic class to use for
> kernel originated IPv6 Neighbour Discovery packets.
>
> Currently this includes:
>
> - Router So
From: Egil Hjelmeland
Date: Mon, 6 Nov 2017 12:42:00 +0100
> This series is non-functional.
> - Correct some errors in comments and documentation.
> Remove scripts/checkpatch.pl WARNINGs and most CHECKs:
> - Replace msleep(1) with usleep_range()
> - Adjust indenting
>
> Changes v1 -> v2:
>
From: Wei Yongjun
Date: Mon, 6 Nov 2017 11:12:08 +
> Fix to return a negative error code from the dpaa_bp_alloc() error
> handling case instead of 0, as done elsewhere in this function.
>
> Signed-off-by: Wei Yongjun
Applied.
On 11/07/2017 07:06 PM, Steven J. Hill wrote:
> Before disconnecting the PHY when a port is being taken down,
> a call to phy_stop() is necessary.
Indeed, thanks for fixing this!
>
> Signed-off-by: Steven J. Hill
> Acked-by: David Daney
Acked-by: Florian Fainelli
--
Florian
From: Wei Yongjun
Date: Mon, 6 Nov 2017 11:11:28 +
> Fix to return a negative error code from the VID create error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: c57529e1d5d8 ("mlxsw: spectrum: Replace vPorts with Port-VLAN")
> Signed-off-by: Wei Yongjun
Appl
1 - 100 of 330 matches
Mail list logo