> On Jul 23, 2019, at 6:40 PM, Andy Lutomirski wrote:
>
>
>
>> On Jul 23, 2019, at 3:56 PM, Song Liu wrote:
>>
>>
>>
>>> On Jul 23, 2019, at 8:11 AM, Andy Lutomirski wrote:
>>>
>>> On Mon, Jul 22, 2019 at 1:54 PM Song Liu wrote:
Hi Andy, Lorenz, and all,
> On Jul 2
Hi Petar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url:
https://github.com/0day-ci/linux/commits/Petar-Penkov/Introduce-a-BPF-helper-to-generate-SYN-cookies/20190723-235628
base:
https://kernel.googlesource.com/pub/scm/linux/kernel/git
Hi Petar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url:
https://github.com/0day-ci/linux/commits/Petar-Penkov/Introduce-a-BPF-helper-to-generate-SYN-cookies/20190723-235628
base:
https://kernel.googlesource.com/pub/scm/linux/kernel/git
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan
---
Changes in v2:
- Change pci_set_drvdata to dev_set_drvdata
to keep consistency.
drivers/net/ethernet/atheros/alx/main.c | 8 +++-
drivers/net/ethernet/athe
Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.
Signed-off-by: Chuhong Yuan
---
Changes in v2:
- Change pci_set_drvdata to dev_set_drvdata
to keep consistency.
drivers/net/ethernet/3com/3c59x.c | 8 +++-
1 file changed, 3 insertions(+), 5 delet
On 24.07.2019 03:38, Bob Gleitsmann wrote:
> Hello,
>
>
> I had problems with network functionality in kernel v5.3.0-rc1. I was
> not able to ping local devices with ip address or internet points by
> name. I have been testing git kernels for a while and this is the first
> time this has happened
Hi Andrew
Thanks for your comments. I have sent a new patch based on net-next
tree.
Thanks
Xiaofeis
On 2019-07-19 21:13, Andrew Lunn wrote:
On Fri, Jul 19, 2019 at 10:53:11AM +0800, xiaofeis wrote:
Set phy device advertising to enable MAC flow control.
Change-Id: Ibf0f554b072fc73136ec9f7ff
Set phy device advertising to enable MAC flow control.
Signed-off-by: Xiaofei Shen
---
drivers/net/dsa/qca8k.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c
index 232e8cc..c5ac426 100644
--- a/drivers/net/dsa/qca8k.c
+++
The patch adds APIs for reading/configuring the NVM config attributes
using Management FW interfaces.
Signed-off-by: Sudarsana Reddy Kalluru
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_hsi.h | 17
drivers/net/ethernet/qlogic/qed/qed_mcp.c | 64 +++
The patch series add support for managing the NVM config attributes.
Patch (1) adds interfaces for read/write config attributes from MFW.
Patch (2) adds driver interface for updating the config attributes.
Sudarsana Reddy Kalluru (2):
qed: Add APIs for NVM config attributes.
qed: Add API for f
The patch adds driver interface for reading the NVM config request and
update the attributes on nvm config flash partition.
Signed-off-by: Sudarsana Reddy Kalluru
Signed-off-by: Ariel Elior
---
drivers/net/ethernet/qlogic/qed/qed_main.c | 65 ++
include/linux/qed/qed
tree:
https://kernel.googlesource.com/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 3e3bb69589e482e0783f28d4cd1d8e56fda0bcbb
commit: d7840976e3915669382c62ddd1700960f348328e [7/33] net: Use skb accessors
in network drivers
If you fix the issue, kindly add following tag
Reported-b
From: kbuild test robot
drivers/target/iscsi/cxgbit/cxgbit_target.c:1451:47-48: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: d7840976e391 ("net: Use skb accessors in network drivers")
CC: Matthew Wilcox (Oracle)
Signed-off-by: kb
From: John Hubbard
In commit d241a95f3514 ("block: optionally mark pages dirty in
bio_release_pages"), new "bool mark_dirty" argument was added to
bio_release_pages.
In upcoming work, another bool argument (to indicate that the pages came
from get_user_pages) is going to be added. That's one boo
On Tue, Jul 23, 2019 at 08:34:07PM +, Saeed Mahameed wrote:
> On Tue, 2019-07-23 at 13:02 -0700, David Miller wrote:
> > From: Leon Romanovsky
> > Date: Tue, 23 Jul 2019 22:04:14 +0300
> >
> > > The intention was to have this patch in shared mlx5 branch, which
> > > is
> > > picked by RDMA too
Commit 3968d38917eb ("bnx2x: Fix Multi-Cos.") which enabled multi-cos
feature after prolonged time in driver added some regression causing
numerous issues (sudden reboots, tx timeout etc.) reported by customers.
We plan to backout this commit and submit proper fix once we have root
cause of issues
On Tue, 2019-07-23 at 14:04 -0700, David Miller wrote:
> From: Jeff Kirsher
> Date: Tue, 23 Jul 2019 10:36:50 -0700
>
> > diff --git a/drivers/net/ethernet/intel/e1000e/hw.h
> > b/drivers/net/ethernet/intel/e1000e/hw.h
> > index eff75bd8a8f0..e3c71fd093ee 100644
> > --- a/drivers/net/ethernet/int
On 2019/7/23 下午10:23, Alexis Bauvin wrote:
- v1 -> v2: Move skb_set_owner_w to __tun_build_skb to reduce patch size
Small packets going out of a tap device go through an optimized code
path that uses build_skb() rather than sock_alloc_send_pskb(). The
latter calls skb_set_owner_w(), but the sm
This commit along with the next one are to resolve the issues with the
link changeover mechanism. See that commit for details.
Basically, for the link synching, from now on, we will send only one
single ("dummy") SYNCH message to peer. The SYNCH message does not
contain any data, just a header con
This patch series is to resolve some issues found with the current link
changeover mechanism, it also includes an optimization for the link
synching.
Tuong Lien (2):
tipc: optimize link synching mechanism
tipc: fix changeover issues due to large packet
net/tipc/link.c | 119 +
In conjunction with changing the interfaces' MTU (e.g. especially in
the case of a bonding) where the TIPC links are brought up and down
in a short time, a couple of issues were detected with the current link
changeover mechanism:
1) When one link is up but immediately forced down again, the failo
> On Jul 23, 2019, at 3:56 PM, Song Liu wrote:
>
>
>
>> On Jul 23, 2019, at 8:11 AM, Andy Lutomirski wrote:
>>
>> On Mon, Jul 22, 2019 at 1:54 PM Song Liu wrote:
>>>
>>> Hi Andy, Lorenz, and all,
>>>
On Jul 2, 2019, at 2:32 PM, Andy Lutomirski wrote:
On Tue, Jul 2, 2019
Hello,
I had problems with network functionality in kernel v5.3.0-rc1. I was
not able to ping local devices with ip address or internet points by
name. I have been testing git kernels for a while and this is the first
time this has happened, i.e., it didn't happen with v5.2.0. One
interesting thi
On Tue, Jul 23, 2019 at 10:33:59PM +, Saeed Mahameed wrote:
> > struct skb_frag_struct {
> > struct page *bv_page;
> > - __u32 size;
> > + unsigned int bv_len;
> > __u32 page_offset;
>
> Why do you keep page_offset name and type as is ? it will make the last
> patch much cleaner i
On Tue, Jul 23, 2019 at 10:29:06PM +, Saeed Mahameed wrote:
> On Fri, 2019-07-12 at 06:43 -0700, Matthew Wilcox wrote:
> > From: "Matthew Wilcox (Oracle)"
> >
> > Match the layout of bio_vec.
> >
> > Signed-off-by: Matthew Wilcox (Oracle)
> > ---
> > include/linux/skbuff.h | 2 +-
> > 1 fi
On 7/23/19 4:47 PM, Saeed Mahameed wrote:
On Mon, 2019-07-22 at 14:40 -0700, Shannon Nelson wrote:
The ionic device has a small set of PCI registers, including a
device control and data space, and a large set of message
commands.
Signed-off-by: Shannon Nelson
---
drivers/net/ethernet/pensand
On 7/23/19 4:06 PM, David Miller wrote:
From: Shannon Nelson
Date: Tue, 23 Jul 2019 15:50:43 -0700
On 7/23/19 2:33 PM, David Miller wrote:
Generally interface address changes are expected to be synchronous.
Yeah, this bothers me a bit as well, but the address change calls come
in under spin_
On 7/23/19 4:54 PM, Saeed Mahameed wrote:
On Tue, 2019-07-23 at 16:06 -0700, David Miller wrote:
From: Shannon Nelson
Date: Tue, 23 Jul 2019 15:50:43 -0700
On 7/23/19 2:33 PM, David Miller wrote:
Generally interface address changes are expected to be
synchronous.
Yeah, this bothers me a bit
On Tue, Jul 23, 2019 at 5:33 AM Toke Høiland-Jørgensen wrote:
>
> Petar Penkov writes:
>
> > From: Petar Penkov
> >
> > This helper function allows BPF programs to try to generate SYN
> > cookies, given a reference to a listener socket. The function works
> > from XDP and with an skb context sin
Software event output is only enabled by a few prog types right now (TC,
LWT out, XDP, sockops). Many other skb based prog types need
bpf_skb_event_output to produce software event.
More prog types are enabled to access bpf_skb_event_output in this
patch.
v10 changes:
Resubmit (v9 is submitted wh
Software event output is only enabled by a few prog types right now (TC,
LWT out, XDP, sockops). Many other skb based prog types need
bpf_skb_event_output to produce software event.
Added socket_filter, cg_skb, sk_skb prog types to generate sw event.
Test bpf code is generated from code snippet:
On 7/23/19 4:20 PM, Saeed Mahameed wrote:
On Mon, 2019-07-22 at 14:40 -0700, Shannon Nelson wrote:
@@ -607,6 +947,8 @@ static void ionic_lif_free(struct lif *lif)
ionic_qcqs_free(lif);
ionic_lif_reset(lif);
I don't think you want deferred.work running while reset is execu
Software event output is only enabled by a few prog types.
This test is to ensure that all supported types are enabled for
bpf_perf_event_output successfully.
Signed-off-by: Allan Zhang
Acked-by: Song Liu
---
tools/testing/selftests/bpf/test_verifier.c | 12 ++-
.../selftests/bpf/verifier/eve
On Tue, 2019-07-23 at 16:06 -0700, David Miller wrote:
> From: Shannon Nelson
> Date: Tue, 23 Jul 2019 15:50:43 -0700
>
> > On 7/23/19 2:33 PM, David Miller wrote:
> > > Generally interface address changes are expected to be
> > > synchronous.
> > Yeah, this bothers me a bit as well, but the addr
On Mon, 2019-07-22 at 14:40 -0700, Shannon Nelson wrote:
> The ionic device has a small set of PCI registers, including a
> device control and data space, and a large set of message
> commands.
>
> Signed-off-by: Shannon Nelson
> ---
> drivers/net/ethernet/pensando/ionic/Makefile |2 +-
> d
On Tue, 23 Jul 2019 21:34:46 +
"Patel, Vedang" wrote:
> > On Jul 22, 2019, at 5:11 PM, David Ahern wrote:
> >
> > On 7/22/19 1:11 PM, Patel, Vedang wrote:
> >>
> >>
> >>> On Jul 22, 2019, at 11:21 AM, David Ahern wrote:
> >>>
> >>> On 7/19/19 3:40 PM, Vedang Patel wrote:
> In
On 7/23/19 4:05 PM, David Miller wrote:
From: Shannon Nelson
Date: Tue, 23 Jul 2019 15:50:22 -0700
On 7/23/19 2:18 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:06 -0700
+void ionic_init_devinfo(struct ionic_dev *idev)
+{
+ idev->dev_info.asic_type = ioread8(&id
On Mon, 2019-07-22 at 14:40 -0700, Shannon Nelson wrote:
> Add the Rx filtering and rx_mode NDO callbacks. Also add
> the deferred work thread handling needed to manage the filter
> requests otuside of the netif_addr_lock spinlock.
>
> Signed-off-by: Shannon Nelson
> ---
> .../net/ethernet/pens
On 7/23/19 2:34 PM, Andrii Nakryiko wrote:
> There were few more tests and samples that were using custom perf buffer setup
> code from trace_helpers.h. This patch set gets rid of all the usages of those
> and removes helpers themselves. Libbpf provides nicer, but equally powerful
> set of APIs to
From: Shannon Nelson
Date: Tue, 23 Jul 2019 15:50:43 -0700
> On 7/23/19 2:33 PM, David Miller wrote:
>> Generally interface address changes are expected to be synchronous.
> Yeah, this bothers me a bit as well, but the address change calls come
> in under spin_lock_bh(), and I'm reluctant to make
From: Shannon Nelson
Date: Tue, 23 Jul 2019 15:50:22 -0700
> On 7/23/19 2:18 PM, David Miller wrote:
>> From: Shannon Nelson
>> Date: Mon, 22 Jul 2019 14:40:06 -0700
>>
>>> +void ionic_init_devinfo(struct ionic_dev *idev)
>>> +{
>>> + idev->dev_info.asic_type = ioread8(&idev->dev_info_regs->asic
On 7/23/19 3:03 PM, Song Liu wrote:
>> On Jul 23, 2019, at 2:11 PM, Andrii Nakryiko wrote:
>>
>> When BPF program defines uninitialized global variable, it's put into
>> a special COMMON section. Libbpf will reject such programs, but will
>> provide very unhelpful message with garbage-looking sect
> On Jul 23, 2019, at 8:11 AM, Andy Lutomirski wrote:
>
> On Mon, Jul 22, 2019 at 1:54 PM Song Liu wrote:
>>
>> Hi Andy, Lorenz, and all,
>>
>>> On Jul 2, 2019, at 2:32 PM, Andy Lutomirski wrote:
>>>
>>> On Tue, Jul 2, 2019 at 2:04 PM Kees Cook wrote:
On Mon, Jul 01, 2019 at 0
On Tue, 2019-07-23 at 14:33 -0700, David Miller wrote:
> From: Shannon Nelson
> Date: Mon, 22 Jul 2019 14:40:15 -0700
>
> > + if (in_interrupt()) {
> > + work = kzalloc(sizeof(*work), GFP_ATOMIC);
> > + if (!work) {
> > + netdev_err(lif->netdev, "%s OOM\n",
On 7/23/19 2:35 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:17 -0700
+static int ionic_get_link_ksettings(struct net_device *netdev,
+ struct ethtool_link_ksettings *ks)
+{
+ struct lif *lif = netdev_priv(netdev);
+ st
On 7/23/19 2:40 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:23 -0700
+struct ionic *ionic_devlink_alloc(struct device *dev)
+{
+ struct devlink *dl;
+ struct ionic *ionic;
Reverse christmas tree please.
Yep, I missed this one.
Thanks for your revie
On 7/23/19 2:27 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:10 -0700
+struct queue {
...
+struct cq {
...
+struct napi_stats {
...
+struct q_stats {
...
+struct qcq {
Using names like these and "dev_queue" are just asking for conflicts with the
gl
On 7/23/19 2:33 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:15 -0700
+ if (in_interrupt()) {
+ work = kzalloc(sizeof(*work), GFP_ATOMIC);
+ if (!work) {
+ netdev_err(lif->netdev, "%s OOM\n", __func__);
+
On 7/23/19 2:18 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:06 -0700
+void ionic_init_devinfo(struct ionic_dev *idev)
+{
+ idev->dev_info.asic_type = ioread8(&idev->dev_info_regs->asic_type);
+ idev->dev_info.asic_rev = ioread8(&idev->dev_info_regs->as
On 7/23/19 2:24 PM, David Miller wrote:
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:09 -0700
The ionic interrupt model is based on interrupt control blocks
accessed through the PCI BAR. Doorbell registers are used by
the driver to signal to the NIC that requests are waiting on
the messa
On Fri, 2019-07-12 at 06:43 -0700, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)"
>
> Improved compatibility with bvec
>
> Signed-off-by: Matthew Wilcox (Oracle)
> ---
> include/linux/skbuff.h | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/include
On Fri, 2019-07-12 at 06:43 -0700, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)"
>
> Match the layout of bio_vec.
>
> Signed-off-by: Matthew Wilcox (Oracle)
> ---
> include/linux/skbuff.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/skbuff.h
On Tue, Jul 23, 2019 at 5:08 AM Ilya Maximets wrote:
>
> 'channels.max_combined' initialized only on ioctl success and
> errno is only valid on ioctl failure.
>
> The code doesn't produce any runtime issues, but makes memory
> sanitizers angry:
>
> Conditional jump or move depends on uninitialise
> On Jul 23, 2019, at 2:11 PM, Andrii Nakryiko wrote:
>
> When BPF program defines uninitialized global variable, it's put into
> a special COMMON section. Libbpf will reject such programs, but will
> provide very unhelpful message with garbage-looking section index.
>
> This patch detects sp
> On Jul 23, 2019, at 2:34 PM, Andrii Nakryiko wrote:
>
> Convert test_get_stack_raw_tp test to new perf_buffer API.
>
> Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
Despite a proper NULL-termination after strncpy(..., ..., IFNAMSIZ - 1),
GCC8 still complains about *expected* string truncation:
xsk.c:330:2: error: 'strncpy' output may be truncated copying 15 bytes
from a string of length 15 [-Werror=stringop-truncation]
strncpy(ifr.ifr_name, xsk->ifnam
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:22 -0700
> diff --git a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> index 742d7d47f4d8..e6b579a40b70 100644
> --- a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
> +++ b/driv
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:23 -0700
> +struct ionic *ionic_devlink_alloc(struct device *dev)
> +{
> + struct devlink *dl;
> + struct ionic *ionic;
Reverse christmas tree please.
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:18 -0700
> Add both the Tx and Rx queue setup and handling. The related
> stats display comes later. Instead of using the generic napi
> routines used by the slow-path commands, the Tx and Rx paths
> are simplified and inlined in one file in ord
libbpf's perf_buffer API supersedes trace_helper.h's helpers.
Remove those helpers after all existing users were already moved to
perf_buffer API.
Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
---
tools/testing/selftests/bpf/trace_helpers.c | 125
tools/testing/selftest
Convert trace_output sample to libbpf's perf_buffer API.
Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
---
samples/bpf/trace_output_user.c | 43 +++--
1 file changed, 14 insertions(+), 29 deletions(-)
diff --git a/samples/bpf/trace_output_user.c b/samples/bpf/tr
Convert xdp_sample_pkts_user to libbpf's perf_buffer API.
Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
Acked-by: Toke Høiland-Jørgensen
---
samples/bpf/xdp_sample_pkts_user.c | 61 +-
1 file changed, 17 insertions(+), 44 deletions(-)
diff --git a/samples/bpf/x
Convert test_get_stack_raw_tp test to new perf_buffer API.
Signed-off-by: Andrii Nakryiko
---
.../bpf/prog_tests/get_stack_raw_tp.c | 78 ++-
.../bpf/progs/test_get_stack_rawtp.c | 2 +-
2 files changed, 44 insertions(+), 36 deletions(-)
diff --git a/tools/test
There were few more tests and samples that were using custom perf buffer setup
code from trace_helpers.h. This patch set gets rid of all the usages of those
and removes helpers themselves. Libbpf provides nicer, but equally powerful
set of APIs to work with perf ring buffers, so let's have all the
> On Jul 22, 2019, at 5:11 PM, David Ahern wrote:
>
> On 7/22/19 1:11 PM, Patel, Vedang wrote:
>>
>>
>>> On Jul 22, 2019, at 11:21 AM, David Ahern wrote:
>>>
>>> On 7/19/19 3:40 PM, Vedang Patel wrote:
In iproute2 txtime-assist series, it was pointed out that print_bool()
should b
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:17 -0700
> +static int ionic_get_link_ksettings(struct net_device *netdev,
> + struct ethtool_link_ksettings *ks)
> +{
> + struct lif *lif = netdev_priv(netdev);
> + struct ionic_dev *idev = &lif->ionic->ide
Switch test_tcpnotify test to use libbpf's perf_buffer API instead of
re-implementing portion of it.
Signed-off-by: Andrii Nakryiko
Acked-by: Song Liu
---
.../selftests/bpf/test_tcpnotify_user.c | 90 ---
1 file changed, 36 insertions(+), 54 deletions(-)
diff --git a/tool
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:15 -0700
> + if (in_interrupt()) {
> + work = kzalloc(sizeof(*work), GFP_ATOMIC);
> + if (!work) {
> + netdev_err(lif->netdev, "%s OOM\n", __func__);
> + return -ENOMEM;
> +
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:10 -0700
> +struct queue {
...
> +struct cq {
...
> +struct napi_stats {
...
> +struct q_stats {
...
> +struct qcq {
Using names like these and "dev_queue" are just asking for conflicts with the
global datastructure namespace both now and in
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:09 -0700
> The ionic interrupt model is based on interrupt control blocks
> accessed through the PCI BAR. Doorbell registers are used by
> the driver to signal to the NIC that requests are waiting on
> the message queues. Interrupts are used by
From: Shannon Nelson
Date: Mon, 22 Jul 2019 14:40:06 -0700
> +void ionic_init_devinfo(struct ionic_dev *idev)
> +{
> + idev->dev_info.asic_type = ioread8(&idev->dev_info_regs->asic_type);
> + idev->dev_info.asic_rev = ioread8(&idev->dev_info_regs->asic_rev);
> +
> + memcpy_fromio(idev
On Tue, 2019-07-23 at 10:36 -0700, Jeff Kirsher wrote:
> This series contains updates to igc and e1000e client drivers only.
>
> Sasha provides a couple of cleanups to remove code that is not needed
> and reduce structure sizes. Updated the MAC reset flow to use the
> device reset flow instead of
On Tue, Jul 23, 2019 at 3:15 AM Eric Dumazet wrote:
>
> First patch changes the kernel, second patch
> adds a new test.
>
> Note that other patches might be needed to take
> care of similar issues in sock_ops_convert_ctx_access()
> and SOCK_OPS_GET_FIELD()
Nice catch!
Applied to bpf tree. Thanks
When BPF program defines uninitialized global variable, it's put into
a special COMMON section. Libbpf will reject such programs, but will
provide very unhelpful message with garbage-looking section index.
This patch detects special section cases and gives more explicit error
message.
Signed-off-
From: Andy Shevchenko
Date: Tue, 23 Jul 2019 23:03:43 +0300
> Replace the custom implementation with fwnode_get_mac_address,
> which works on both DT and ACPI platforms.
>
> While here, replace memcpy() by ether_addr_copy().
>
> Signed-off-by: Andy Shevchenko
Applied.
Johnathan, Bjorn, Jakub,
Please review!
The patch set has been pending for a week.
On Tue, Jul 16, 2019 at 4:21 AM Kevin Laatz wrote:
>
> This patch set adds the ability to use unaligned chunks in the XDP umem.
>
> Currently, all chunk addresses passed to the umem are masked to be chunk
> size al
From: Roman Mashak
Date: Tue, 23 Jul 2019 15:01:59 -0400
> Signed-off-by: Roman Mashak
Always love to see new tests... Applied.
From: Jeff Kirsher
Date: Tue, 23 Jul 2019 10:36:50 -0700
> diff --git a/drivers/net/ethernet/intel/e1000e/hw.h
> b/drivers/net/ethernet/intel/e1000e/hw.h
> index eff75bd8a8f0..e3c71fd093ee 100644
> --- a/drivers/net/ethernet/intel/e1000e/hw.h
> +++ b/drivers/net/ethernet/intel/e1000e/hw.h
> @@ -
On Fri, Jul 19, 2019 at 2:18 AM Ilya Leoshkevich wrote:
>
> The very first check in test_pkt_md_access is failing on s390, which
> happens because loading a part of a struct __sk_buff field produces
> an incorrect result.
>
> The preprocessed code of the check is:
>
> {
> __u8 tmp = *((vol
From: Ioana Radulescu
Date: Tue, 23 Jul 2019 20:28:43 +0300
> Using Rx skb bulking for all frames may negatively impact the
> performance in some TCP termination scenarios, as it effectively
> bypasses GRO.
"may"?
Please provide numbers so that we know exactly whether it actually
hurts performa
From: Andy Shevchenko
Date: Tue, 23 Jul 2019 19:39:43 +0300
> The rest of Hyper-V code is using new types for UUID handling.
> Convert hv_sock as well.
>
> Signed-off-by: Andy Shevchenko
Applied to net-next.
From: Takashi Iwai
Date: Tue, 23 Jul 2019 17:15:25 +0200
> The onboard sky2 NIC on ASUS P6T WS PRO doesn't work after PM resume
> due to the infamous IRQ problem. Disabling MSI works around it, so
> let's add it to the blacklist.
>
> Unfortunately the BIOS on the machine doesn't fill the standa
From: John Hurley
Date: Tue, 23 Jul 2019 15:33:58 +0100
> The module act_mpls has recently been added to the kernel. This allows the
> manipulation of MPLS headers on packets including push, pop and modify.
> Add these new actions and parameters to the intermediate representation
> API for hardwa
On Tue, Jul 23, 2019 at 10:37:29AM +0100, Lorenz Bauer wrote:
> On Tue, 23 Jul 2019 at 01:20, Petar Penkov wrote:
> > +static __always_inline __s64 gen_syncookie(void *data_end, struct bpf_sock
> > *sk,
> > + void *iph, __u32 ip_size,
> > +
From: Maxim Mikityanskiy
Date: Tue, 23 Jul 2019 12:02:26 +
> From: Arnd Bergmann
>
> The structure is too large to put on the stack, resulting in a
> warning on 32-bit ARM:
>
> drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.c:59:5: error: stack
> frame size of 1344 bytes in function
From: Nishka Dasgupta
Date: Tue, 23 Jul 2019 16:13:07 +0530
> Each iteration of for_each_available_child_of_node puts the previous
> node, but in the case of a return from the middle of the loop, there is
> no put, thus causing a memory leak. Hence add an of_node_put before the
> return.
> Issue
On Tue, 2019-07-23 at 13:02 -0700, David Miller wrote:
> From: Leon Romanovsky
> Date: Tue, 23 Jul 2019 22:04:14 +0300
>
> > The intention was to have this patch in shared mlx5 branch, which
> > is
> > picked by RDMA too. This "Cc: stable@..." together with merge
> > through
> > RDMA will ensure
On Tue, 2019-07-23 at 22:04 +0300, Leon Romanovsky wrote:
> On Tue, Jul 23, 2019 at 11:28:50AM -0700, David Miller wrote:
> > From: Leon Romanovsky
> > Date: Tue, 23 Jul 2019 10:12:55 +0300
> >
> > > From: Edward Srouji
> > >
> > > Fix modify_cq_in alignment to match the device specification.
>
From: Ido Schimmel
Date: Tue, 23 Jul 2019 11:19:24 +0300
> From: Ido Schimmel
>
> Patch #1 ensures IPv4 forwarding is enabled during the test.
>
> Patch #2 fixes the flower filters used to measure the distribution of
> the traffic between the two nexthops, so that the test will pass
> regardle
Replace the custom implementation with fwnode_get_mac_address,
which works on both DT and ACPI platforms.
While here, replace memcpy() by ether_addr_copy().
Signed-off-by: Andy Shevchenko
---
.../net/ethernet/cavium/thunder/thunder_bgx.c | 18 ++
1 file changed, 6 insertions(+)
From: Leon Romanovsky
Date: Tue, 23 Jul 2019 22:04:14 +0300
> The intention was to have this patch in shared mlx5 branch, which is
> picked by RDMA too. This "Cc: stable@..." together with merge through
> RDMA will ensure that such patch will be part of stable automatically.
Why wouldn't it come
Tue, Jul 23, 2019 at 07:54:01PM CEST, step...@networkplumber.org wrote:
>On Tue, 23 Jul 2019 13:25:37 +0200
>Jiri Pirko wrote:
>
>> From: Jiri Pirko
>>
>> One cannot depend on *argv being null in case of no arg is left on the
>> command line. For example in batch mode, this is not always true. C
On Tue, Jul 23, 2019 at 11:28:50AM -0700, David Miller wrote:
> From: Leon Romanovsky
> Date: Tue, 23 Jul 2019 10:12:55 +0300
>
> > From: Edward Srouji
> >
> > Fix modify_cq_in alignment to match the device specification.
> > After this fix the 'cq_umem_valid' field will be in the right offset.
>
Signed-off-by: Roman Mashak
---
.../selftests/tc-testing/tc-tests/qdiscs/fifo.json | 304 +
1 file changed, 304 insertions(+)
create mode 100644 tools/testing/selftests/tc-testing/tc-tests/qdiscs/fifo.json
diff --git a/tools/testing/selftests/tc-testing/tc-tests/qdiscs/fifo.
From: Matthew Wilcox
Date: Tue, 23 Jul 2019 04:52:38 -0700
> On Tue, Jul 23, 2019 at 08:58:44AM +, René van Dorst wrote:
>> Hi Matthew,
>>
>> I see the same issue for the mediatek/mtk_eth_soc driver.
>
> Thanks, Rene. The root problem for both of these drivers is that neither
> are built o
From: Maciej Żenczykowski
Date: Tue, 23 Jul 2019 17:52:17 +0800
>> Applied to net-next
>
> Any chance we could get this into LTS releases?
It's a new feature, not a bug fix. So no.
Fixes as follows:
>From 084323f62b0b976c9fd931d86c5d2553af5eb9f7 Mon Sep 17 00:00:00 2001
From: "David S. Miller"
Date: Tue, 23 Jul 2019 11:45:44 -0700
Subject: [PATCH] ftgmac100: Fix build.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding
From: Benjamin Poirier
Date: Tue, 23 Jul 2019 15:14:13 +0900
> The hardware has been declared EOL by the vendor more than 5 years ago.
> What's more relevant to the Linux kernel is that the quality of this driver
> is not on par with many other mainline drivers.
>
> Cc: Manish Chopra
> Message-
From: Leon Romanovsky
Date: Tue, 23 Jul 2019 10:12:55 +0300
> From: Edward Srouji
>
> Fix modify_cq_in alignment to match the device specification.
> After this fix the 'cq_umem_valid' field will be in the right offset.
>
> Cc: # 4.19
> Fixes: bd37197554eb ("net/mlx5: Update mlx5_ifc with DEV
On Tue, Jul 23, 2019 at 05:22:43PM +, Saeed Mahameed wrote:
> On Tue, 2019-07-23 at 10:22 +0300, Leon Romanovsky wrote:
> > From: Yamin Friedman
> >
> > While using net_dim, a dim_sample was used without ever initializing
> > the
> > comps value. Added use of DIV_ROUND_DOWN_ULL() to prevent po
1 - 100 of 182 matches
Mail list logo