On Fri, 14 Jun 2019 21:16:54 -0600
David Ahern wrote:
> On 6/14/19 9:13 PM, Stefano Brivio wrote:
> > On Fri, 14 Jun 2019 20:54:49 -0600
> > David Ahern wrote:
> >
> >> On 6/14/19 7:32 PM, Stefano Brivio wrote:
> >>> ip_valid_fib_dump_req() does two things: performs strict checking on
> >>>
On Fri, 14 Jun 2019 21:13:38 -0600
David Ahern wrote:
> On 6/14/19 7:32 PM, Stefano Brivio wrote:
> > Socket option NETLINK_GET_STRICT_CHK, quoting from commit 89d35528d17d
> > ("netlink: Add new socket option to enable strict checking on dumps"),
> > is used to "request strict checking of header
From: Eric Dumazet
Date: Fri, 14 Jun 2019 16:22:17 -0700
> Recent addition of per TCP socket rx/tx cache brought
> regressions for some workloads, as reported by Feng Tang.
>
> It seems better to make them opt-in, before we adopt better
> heuristics.
>
> The last patch adds high_order_alloc_dis
On 6/14/19 9:13 PM, Stefano Brivio wrote:
> On Fri, 14 Jun 2019 20:54:49 -0600
> David Ahern wrote:
>
>> On 6/14/19 7:32 PM, Stefano Brivio wrote:
>>> ip_valid_fib_dump_req() does two things: performs strict checking on
>>> netlink attributes for dump requests, and sets a dump filter if netlink
>
On 6/14/19 7:32 PM, Stefano Brivio wrote:
> Socket option NETLINK_GET_STRICT_CHK, quoting from commit 89d35528d17d
> ("netlink: Add new socket option to enable strict checking on dumps"),
> is used to "request strict checking of headers and attributes on dump
> requests".
>
> If some attributes ar
On Fri, 14 Jun 2019 20:54:49 -0600
David Ahern wrote:
> On 6/14/19 7:32 PM, Stefano Brivio wrote:
> > ip_valid_fib_dump_req() does two things: performs strict checking on
> > netlink attributes for dump requests, and sets a dump filter if netlink
> > attributes require it.
> >
> > We might want
On 6/14/19 7:32 PM, Stefano Brivio wrote:
> ip_valid_fib_dump_req() does two things: performs strict checking on
> netlink attributes for dump requests, and sets a dump filter if netlink
> attributes require it.
>
> We might want to just set a filter, without performing strict validation.
>
> Ren
From: Jeff Kirsher
Date: Fri, 14 Jun 2019 13:15:58 -0700
> This series contains updates to i40e only.
Pulled, thanks Jeff.
From: Tim Beale
Date: Fri, 14 Jun 2019 16:41:26 +1200
> Originally this was used by the VRF logic in compute_score(), but that
> was later replaced by udp_sk_bound_dev_eq() and the parameter became
> unused.
>
> Note this change adds an 'unused variable' compiler warning that will be
> removed i
From: Tim Beale
Date: Fri, 14 Jun 2019 16:41:27 +1200
> This was originally passed through to the VRF logic in compute_score().
> But that logic has now been replaced by udp_sk_bound_dev_eq() and so
> this code is no longer used or needed.
>
> Signed-off-by: Tim Beale
Applied.
From: Eric Dumazet
Date: Thu, 13 Jun 2019 21:22:35 -0700
> If we want to set a EDT time for the skb we want to send
> via ip_send_unicast_reply(), we have to pass a new parameter
> and initialize ipc.sockc.transmit_time with it.
>
> This fixes the EDT time for ACK/RST packets sent on behalf of
>
From: Li RongQing
Date: Fri, 14 Jun 2019 09:29:09 +0800
> Pointer members of an object with static storage duration, if not
> explicitly initialized, will be initialized to a NULL pointer. The
> net namespace API checks if this pointer is not NULL before using it,
> it are safe to remove the func
From: Jakub Kicinski
Date: Thu, 13 Jun 2019 14:17:08 -0700
> Pieter says:
>
> This set allows the offload of filters that make use of an unknown
> ip protocol, given that layer 4 is being wildcarded. The set then
> aims to make use of extack messaging for flower offloads. It adds
> about 70 exta
From: Saeed Mahameed
Date: Thu, 13 Jun 2019 20:39:13 +
> This series provides the support for mlx5 Firmware devlink health and
> sw reset.
>
> For more information please see tag log below.
>
> Please pull and let me know if there is any problem.
>
> This is a re-spin of a previously sent
From: Stephen Suryaputra
Date: Thu, 13 Jun 2019 14:38:58 -0400
> Multipath hash policy value of 0 isn't distributing since the outer IP
> dest and src aren't varied eventhough the inner ones are. Since the flow
> is on the inner ones in the case of tunneled traffic, hashing on them is
> desired.
From: Jesper Dangaard Brouer
Date: Thu, 13 Jun 2019 20:28:01 +0200
> This patchset fix page_pool API and users, such that drivers can use it for
> DMA-mapping.
...
Please address the minor nits and respin and I'll apply this.
Thanks.
From: Willem de Bruijn
Date: Thu, 13 Jun 2019 12:24:57 -0400
> From: Willem de Bruijn
>
> NAPI tx mode improves TCP behavior by enabling TCP small queues (TSQ).
> TSQ reduces queuing ("bufferbloat") and burstiness.
>
> Previous measurements have shown significant improvement for
> TCP_STREAM s
From: Vlad Buslov
Date: Thu, 13 Jun 2019 19:12:05 +0300
> To remove rtnl lock dependency in tc filter update API when using clsact
> Qdisc, set QDISC_CLASS_OPS_DOIT_UNLOCKED flag in clsact Qdisc_class_ops.
>
> Clsact Qdisc ops don't require any modifications to be used without rtnl
> lock on tc
From: Vlad Buslov
Date: Thu, 13 Jun 2019 17:54:04 +0300
> Current flower mask creating code assumes that temporary mask that is used
> when inserting new filter is stack allocated. To prevent race condition
> with data patch synchronize_rcu() is called every time fl_create_new_mask()
> replaces t
From: Neil Horman
Date: Thu, 13 Jun 2019 06:35:59 -0400
> Based on comments from Xin, even after fixes for our recent syzbot
> report of cookie memory leaks, its possible to get a resend of an INIT
> chunk which would lead to us leaking cookie memory.
>
> To ensure that we don't leak cookie memo
From: Michal Kalderon
Date: Thu, 13 Jun 2019 11:29:39 +0300
> This series contains a few small fixes related to iWARP.
Series applied.
From: Dan Carpenter
Date: Thu, 13 Jun 2019 09:51:02 +0300
> The acpi_node_get_property_reference() doesn't return ACPI error codes,
> it just returns regular negative kernel error codes. This patch doesn't
> affect run time, it's just a clean up.
>
> Signed-off-by: Dan Carpenter
Applied to ne
From: Sunil Muthuswamy
Date: Thu, 13 Jun 2019 03:52:27 +
> The current vsock code for removal of socket from the list is both
> subject to race and inefficient. It takes the lock, checks whether
> the socket is in the list, drops the lock and if the socket was on the
> list, deletes it from t
From: Jakub Kicinski
Date: Wed, 12 Jun 2019 16:59:01 -0700
> This small series adds two error messages based on recent
> bug reports which turned out not to be bugs..
Series applied.
From: Robert Hancock
Date: Wed, 12 Jun 2019 14:49:04 -0600
> A couple of enhancements to the Microchip KSZ switch driver: one to add
> PHY register settings for errata workarounds for more stable operation, and
> another to add a device tree option to change the output clock rate as
> required by
On Fri, 14 Jun 2019 13:25:05 +, Maxim Mikityanskiy wrote:
> Imagine you have configured the NIC to have the maximum supported amount
> of channels. Then your formula in ethtool.c returns some value. Exactly
> the same value should also be returned from libbpf's
> xsk_get_max_queues(). It's a
From: Robert Hancock
Date: Wed, 12 Jun 2019 14:33:32 -0600
> If some of the switch ports were not listed in the device tree, due to
> being unused, the ksz_mib_read_work function ended up accessing a NULL
> dp->slave pointer and causing an oops. Skip checking statistics for any
> unused ports.
>
From: Jakub Kicinski
Date: Wed, 12 Jun 2019 11:51:21 -0700
> Brendan reports that the use of netem's packet corruption capability
> leads to strange crashes. This seems to be caused by
> commit d66280b12bd7 ("net: netem: use a list in addition to rbtree")
> which uses skb->next pointer to constr
From: Bjørn Mork
Date: Thu, 13 Jun 2019 19:54:40 +0200
> Reinhard Speyerer writes:
>
>> This series addresses the following issues observed when using the
>> QMAP support of the qmi_wwan driver:
>
> Really nice work! Thanks.
>
> Acked-by: Bjørn Mork
Series applied.
From: Eric Dumazet
Date: Wed, 12 Jun 2019 09:52:25 -0700
> Using tcpdump (or other af_packet user) on a busy host can lead to
> catastrophic consequences, because suddenly, potentially all cpus
> are spinning on a contended spinlock.
>
> Both packet_rcv() and tpacket_rcv() grab the spinlock
> to
From: Robert Hancock
Date: Tue, 11 Jun 2019 16:06:09 -0600
> Commit "net: phy: Add detection of 1000BaseX link mode support" added
> support for not filtering out 1000BaseX mode from the PHY's supported
> modes in genphy_config_init, but we have to make a similar change in
> genphy_read_abilities
On Fri, 14 Jun 2019 13:25:28 +, Maxim Mikityanskiy wrote:
> On 2019-06-13 20:29, Jakub Kicinski wrote:
> > On Thu, 13 Jun 2019 14:01:39 +, Maxim Mikityanskiy wrote:
> >
> > Yes, okay, I get that. But I still don't know what's the exact use you
> > have for AF_XDP buffers being 4k.. Cou
This test checks that route exceptions can be successfully listed and
flushed using ip -6 route {list,flush} cache.
Signed-off-by: Stefano Brivio
---
tools/testing/selftests/net/pmtu.sh | 62 +
1 file changed, 62 insertions(+)
diff --git a/tools/testing/selftests/net
This series introduce a new test, list_flush_ipv4_exception, and improves
the existing list_flush_ipv6_exception test by making it as demanding as
the IPv4 one.
Stefano Brivio (2):
selftests: pmtu: Introduce list_flush_ipv4_exception test case
selftests: pmtu: Make list_flush_ipv6_exception te
Instead of just listing and flushing two cached exceptions, create
a relatively big number of them, and count how many are listed. Single
netlink dump messages contain approximately 25 entries each, and this
way we can make sure the partial dump tracking mechanism is working
properly.
While at it,
With a current (5.1) kernel version, IPv6 exception routes can't be listed
(ip -6 route list cache) or flushed (ip -6 route flush cache). I'm
re-introducing kernel support for this, but, to allow the kernel to filter
routes based on the RTM_F_CLONED flag, we need to make sure this flag is
always pa
This reverts commit 08e814c9e8eb5a982cbd1e8f6bd255d97c51026f: as we
are preparing to fix listing and dumping of IPv6 cached routes, we
need to allow RTM_F_CLONED as a flag to match routes against while
dumping them.
Signed-off-by: Stefano Brivio
---
v4: New patch, split from 6/8
net/ipv6/ip6_fi
Since commit 4895c771c7f0 ("ipv4: Add FIB nexthop exceptions."), cached
exception routes are stored as a separate entity, so they are not dumped
on a FIB dump, even if the RTM_F_CLONED flag is passed.
This implies that the command 'ip route list cache' doesn't return any
result anymore.
If the RT
Socket option NETLINK_GET_STRICT_CHK, quoting from commit 89d35528d17d
("netlink: Add new socket option to enable strict checking on dumps"),
is used to "request strict checking of headers and attributes on dump
requests".
If some attributes are set (including flags), setting this option causes
du
For IPv6 cached routes, the commands 'ip -6 route list cache' and
'ip -6 route flush cache' don't work at all after route exceptions have
been moved to a separate hash table in commit 2b760fcf5cfb ("ipv6: hook
up exception table to store dst cache").
For IPv4 cached routes, the command 'ip route l
ip_valid_fib_dump_req() does two things: performs strict checking on
netlink attributes for dump requests, and sets a dump filter if netlink
attributes require it.
We might want to just set a filter, without performing strict validation.
Rename it to ip_filter_fib_dump_req(), and add a 'strict' b
This functionally reverts the check introduced by commit
e8ba330ac0c5 ("rtnetlink: Update fib dumps for strict data checking")
as modified by commit e4e92fb160d7 ("net/ipv4: Bail early if user only
wants prefix entries").
As we are preparing to fix listing of IPv4 cached routes, we need to
give us
Since commit 2b760fcf5cfb ("ipv6: hook up exception table to store dst
cache"), route exceptions reside in a separate hash table, and won't be
found by walking the FIB, so they won't be dumped to userspace on a
RTM_GETROUTE message.
This causes 'ip -6 route list cache' and 'ip -6 route flush cache
When we perform an inexact match on FIB nodes via fib6_locate_1(), longer
prefixes will be preferred to shorter ones. However, it might happen that
a node, with higher fn_bit value than some other, has no valid routing
information.
In this case, we'll pick that node, but it will be discarded by th
Socket option NETLINK_GET_STRICT_CHK, quoting from commit 89d35528d17d
("netlink: Add new socket option to enable strict checking on dumps"),
is used to "request strict checking of headers and attributes on dump
requests".
If some attributes are set (including flags), setting this option causes
du
On 6/14/19 1:00 PM, Roman Mashak wrote:
> On the 2nd thought: there already exists argument "-raw" for tc which
> currently instructs printing handles in hex representation. Why not to
> adopt this for ip and ss as well rather then adding new key?
show_raw seems to mean dump extra data as opposed
On 6/14/19 10:55 AM, luoshijie wrote:
> From: Shijie Luo
>
> Suppose we have two interfaces eth0 and eth1 in two hosts, follow
> the same steps in the two hosts:
> # sysctl -w net.ipv4.conf.eth1.route_localnet=1
> # sysctl -w net.ipv4.conf.eth1.arp_announce=2
> # ip route del 127.0.0.0/8 dev lo
On 6/13/19 10:41 PM, Tim Beale wrote:
> Originally this was used by the VRF logic in compute_score(), but that
> was later replaced by udp_sk_bound_dev_eq() and the parameter became
> unused.
>
> Note this change adds an 'unused variable' compiler warning that will be
> removed in the next patch (
On 6/13/19 10:41 PM, Tim Beale wrote:
> This was originally passed through to the VRF logic in compute_score().
> But that logic has now been replaced by udp_sk_bound_dev_eq() and so
> this code is no longer used or needed.
>
> Signed-off-by: Tim Beale
> ---
> net/ipv4/udp.c | 12
>
On Fri, 14 Jun 2019 09:40:18 -0700, Cong Wang wrote:
> On Wed, Jun 12, 2019 at 11:52 AM Jakub Kicinski wrote:
> >
> > Brendan reports that the use of netem's packet corruption capability
> > leads to strange crashes. This seems to be caused by
> > commit d66280b12bd7 ("net: netem: use a list in ad
On Thu, Jun 13, 2019 at 8:31 AM Toke Høiland-Jørgensen wrote:
>
> From: Toke Høiland-Jørgensen
>
> We don't currently allow lookups into a devmap from eBPF, because the map
> lookup returns a pointer directly to the dev->ifindex, which shouldn't be
> modifiable from eBPF.
>
> However, being able
On Fri, Jun 14, 2019 at 4:55 PM Eric Dumazet wrote:
>
> On 6/14/19 4:45 PM, Alexei Starovoitov wrote:
> > On Fri, Jun 14, 2019 at 04:22:18PM -0700, Eric Dumazet wrote:
>
> > maxlen is ignored by proc_do_static_key(), right?
>
> That is right, I was not sure putting a zero or sizeof(int)
> would ma
On 06/14, Andrii Nakryiko wrote:
> On Fri, Jun 14, 2019 at 4:23 PM Stanislav Fomichev wrote:
> >
> > On 06/10, Andrii Nakryiko wrote:
> > > Switch test map definition to new BTF-defined format.
> > Reiterating my concerns on non-RFC version:
> >
> > Pretty please, let's not convert everything at o
On 6/14/19 4:45 PM, Alexei Starovoitov wrote:
> On Fri, Jun 14, 2019 at 04:22:18PM -0700, Eric Dumazet wrote:
> maxlen is ignored by proc_do_static_key(), right?
That is right, I was not sure putting a zero or sizeof(int)
would make sense here.
Using sizeof(...key) is consistent with other sy
On 6/14/19 5:22 PM, John Hurley wrote:
> On Fri, Jun 14, 2019 at 6:22 PM David Ahern wrote:
>>
>> On 6/14/19 8:58 AM, John Hurley wrote:
>>> Currently, TC offers the ability to match on the MPLS fields of a packet
>>> through the use of the flow_dissector_key_mpls struct. However, as yet, TC
>>> a
On Fri, Jun 14, 2019 at 04:22:18PM -0700, Eric Dumazet wrote:
> Convert proc_dointvec_minmax_bpf_stats() into a more generic
> helper, since we are going to use jump labels more often.
>
> Note that sysctl_bpf_stats_enabled is removed, since
> it is no longer needed/used.
>
> Signed-off-by: Eric
On Fri, Jun 14, 2019 at 4:23 PM Stanislav Fomichev wrote:
>
> On 06/10, Andrii Nakryiko wrote:
> > Switch test map definition to new BTF-defined format.
> Reiterating my concerns on non-RFC version:
>
> Pretty please, let's not convert everything at once. Let's start
> with stuff that explicitly d
On 06/10, Andrii Nakryiko wrote:
> Switch test map definition to new BTF-defined format.
Reiterating my concerns on non-RFC version:
Pretty please, let's not convert everything at once. Let's start
with stuff that explicitly depends on BTF (spinlocks?).
One good argument (aside from the one that
On 06/12/2019 07:30 PM, Stanislav Fomichev wrote:
> And let it use bpf_sk_storage_{get,delete} helpers to access socket
> storage. Kernel context (struct bpf_sock_addr_kern) already has sk
> member, so I just expose it to the BPF hooks. Using PTR_TO_SOCKET
> instead of PTR_TO_SOCK_COMMON should be
On Fri, Jun 14, 2019 at 6:22 PM David Ahern wrote:
>
> On 6/14/19 8:58 AM, John Hurley wrote:
> > Currently, TC offers the ability to match on the MPLS fields of a packet
> > through the use of the flow_dissector_key_mpls struct. However, as yet, TC
> > actions do not allow the modification or man
Instead of relying on rps_needed, it is safer to use a separate
static key, since we do not want to enable TCP rx_skb_cache
by default. This feature can cause huge increase of memory
usage on hosts with millions of sockets.
Signed-off-by: Eric Dumazet
---
Documentation/networking/ip-sysctl.txt |
Recent addition of per TCP socket rx/tx cache brought
regressions for some workloads, as reported by Feng Tang.
It seems better to make them opt-in, before we adopt better
heuristics.
The last patch adds high_order_alloc_disable sysctl
to ask TCP sendmsg() to exclusively use order-0 allocations,
On 06/13/2019 11:59 PM, Martin KaFai Lau wrote:
> v3:
> - Use rcu_swap_protected (Stanislav Fomichev)
> - Use 0x0047 for SO_DETACH_REUSEPORT_BPF for sparc (kbuild test robot
> )
>
> v2:
> - Copy asm-generic/socket.h to tools/ in the new patch 2 (Stanislav Fomichev)
>
> This patch adds SO_DETACH_
Convert proc_dointvec_minmax_bpf_stats() into a more generic
helper, since we are going to use jump labels more often.
Note that sysctl_bpf_stats_enabled is removed, since
it is no longer needed/used.
Signed-off-by: Eric Dumazet
---
include/linux/bpf.h| 1 -
include/linux/sysctl.h | 3 +++
Feng Tang reported a performance regression after introduction
of per TCP socket tx/rx caches, for TCP over loopback (netperf)
There is high chance the regression is caused by a change on
how well the 32 KB per-thread page (current->task_frag) can
be recycled, and lack of pcp caches for order-3 pa
>From linux-3.7, (commit 5640f7685831 "net: use a per task frag
allocator") TCP sendmsg() has preferred using order-3 allocations.
While it gives good results for most cases, we had reports
that heavy uses of TCP over loopback were hitting a spinlock
contention in page allocations/freeing.
This c
On 06/14/2019 08:43 AM, Prashant Bhole wrote:
> Recent commit included libbpf.h in selftests/bpf/bpf_util.h.
> Since some samples use bpf_util.h and samples/bpf/Makefile doesn't
> have libbpf.h path included, build was failing. Let's add the path
> in samples/bpf/Makefile.
>
> Signed-off-by: Prash
On 06/14/2019 03:09 PM, Toke Høiland-Jørgensen wrote:
> Toshiaki Makita writes:
[...]
>>> Alternatively, since this entire series should probably go to stable, I
>>> can respin mine on top of it?
>>
>> Indeed conflict will happen, as this is for 'bpf' not 'bpf-next'.
>> Sorry for disturbing your w
On Thu, Jun 13, 2019 at 8:31 AM Toke Høiland-Jørgensen wrote:
>
> From: Toke Høiland-Jørgensen
>
> The bpf_redirect_map() helper used by XDP programs doesn't return any
> indication of whether it can successfully redirect to the map index it was
> given. Instead, BPF programs have to track this t
On Fri, Jun 14, 2019 at 5:59 PM Cong Wang wrote:
>
> On Thu, Jun 13, 2019 at 10:44 AM John Hurley
> wrote:
> > +static inline void tcf_mpls_set_eth_type(struct sk_buff *skb, __be16
> > ethertype)
> > +{
> > + struct ethhdr *hdr = eth_hdr(skb);
> > +
> > + skb_postpull_rcsum(skb, &hd
Hello,
I'm still fairly new to Ethernet drivers and there are a lot of
interesting pieces. What I need help with is understanding MDIO -->
(R)MII vs direct I/O to the MAC (e.g., via ioread32, iowrite32). Why is
there not always a struct mii_bus to talk to this hardware? Is it
because the PHY an
From: Paolo Abeni
Date: Wed, 12 Jun 2019 12:18:34 +0200
> The mlx5_core driver uses several indirect calls in fast-path, some of them
> are invoked on each ingress packet, even for the XDP-only traffic.
>
> This series leverage the indirect call wrappers infrastructure the avoid
> the expansive
On Fri, Jun 14, 2019 at 10:06 AM Alexei Starovoitov
wrote:
>
> On Fri, Jun 14, 2019 at 8:13 AM Jiong Wang wrote:
> >
> >
> > Alexei Starovoitov writes:
> >
> > > On Wed, Jun 12, 2019 at 8:25 AM Jiong Wang
> > > wrote:
> > >>
> > >>
> > >> Jiong Wang writes:
> > >>
> > >> > Alexei Starovoitov wr
On Fri, Jun 14, 2019 at 12:26 AM Alexei Starovoitov wrote:
>
> Introduce precision tracking logic that
> helps cilium programs the most:
> old clang old clangnew clang new clang
> with all patches with all patches
> bpf_lb-DLB_L3.o 183
On 6/13/19 5:20 PM, Willem de Bruijn wrote:
@@ -237,6 +237,7 @@ static inline int find_next_netdev_feature(u64
feature, unsigned long start)
NETIF_F_GSO_GRE_CSUM | \
NETIF_F_GSO_IPXIP4 |
From: Piotr Kwapulinski
Add veb array access boundary checks.
Ensure veb array index is smaller than I40E_MAX_VEB.
Signed-off-by: Piotr Kwapulinski
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/i40e/i40e_main.c | 12 +++-
1 file changed, 7 insert
From: Aleksandr Loktionov
Driver updated pf->flags before calling i40e_aq_start_lldp().
This patch moved down updating pf->flags down so flags will be
updated only in case of successful i40e_aq_start_lldp() call.
Also was introduced is_reset_needed local flag to avoid unnecessary h/w
reset in cas
From: "Gustavo A. R. Silva"
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
This patch fixes the following warning:
drivers/net/ethernet/intel/i40e/i40e_xsk.c: In function ‘i40e_run_xdp_zc’:
drivers/net/ethernet/intel/i40e/i40e_xsk.c:
From: Jacob Keller
The tx_errors statistic was being calculated twice in
i40e_update_eth_stats.
This appears to be as of commit 201db2898f2c ("i40e: add missing VSI
statistics", 2014-03-25).
Remove the extra i40e_stat_update32 call for GLV_TEPC.
Signed-off-by: Jacob Keller
Tested-by: Andrew B
From: Sergey Nemov
Change some data to unsigned int instead of integer when we compare.
Check LUT values in VIRTCHNL_OP_CONFIG_RSS_LUT handler.
Also enhance error/warning messages to print the real values of
I40E_MAX_VF_QUEUES, I40E_MAX_VF_VSI and I40E_DEFAULT_QUEUES_PER_VF
instead of plain tex
From: Doug Dziggel
This patch makes it possible to log only AQ descriptors, without the
entire AQ message buffers being dumped too. It should greatly reduce
kernel log size in cases where a full AQ dump is not needed.
Selection is made by setting flags in hw->debug_mask.
Additionally, some debug
From: Aleksandr Loktionov
This patch adds functions stubs to support EEE on/off.
Signed-off-by: Aleksandr Loktionov
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12
1 file changed, 12 insertions(+)
diff --git a/driver
From: Piotr Kwapulinski
Add bounds check for ch[] array.
Use ARRAY_SIZE() to ensure that idx is within the range.
Signed-off-by: Piotr Kwapulinski
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 11 ++-
1 file changed, 10
From: Adam Ludkiewicz
This patch fixes the problem with a kernel panic occurring when trying
to bind the i40e driver to a non-i40e port. The problem is fixed by
checking if the BAR size in the device is large enough by reading the
highest register.
Signed-off-by: Adam Ludkiewicz
Tested-by: Andr
From: Piotr Kwapulinski
This patch lets untrusted VF to create up to 16 VLANs.
It was implemented by increasing I40E_VC_MAX_VLAN_PER_VF up to 16.
Without this patch untrusted VF could create only up to 8 VLANs.
Signed-off-by: Piotr Kwapulinski
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsh
From: Mitch Williams
The counter variable in i40e_clean_tx_irq starts out negative and climbs
to 0. So it should not be defined as a u16. This was working by accident
due to the fact the u16 overflows and underflows predictably.
Replace the u16 with int, which is signed and can handle the negati
From: Piotr Marczak
Driver did not check response on LLDP flag change and always returned
SUCCESS.
This patch now checks for an error and returns an error code and has
additional information in the log.
Signed-off-by: Piotr Marczak
Tested-by: Andrew Bowers
Signed-off-by: Jeff Kirsher
---
..
This series contains updates to i40e only.
Aleksandr adds stub functions for Energy Efficient Ethernet (EEE) to
currently report that it is not supported in i40e. Fixed up the Link
Layer Detection Protocol (LLDP) code to ensure we do not set the LLDP
flag too early before we ensure that we have a
When stack receives pkt: [802.1P vlan 0][802.1AD vlan 100][IPv4],
vlan_do_receive() returns false if it does not find vlan_dev. Later
__netif_receive_skb_core() fails to find packet type handler for
skb->protocol 801.1AD and drops the packet.
801.1P header with vlan id 0 should be handled as untag
On 2019-06-14 19:15, Maciej Fijalkowski wrote:
Why would I want to run AF_XDP without ZC? The main reason for having AF_XDP
support in drivers is the zero copy, right?
In general I agree with you on this point. Short-term, I see copy-mode
useful for API adoption reasons (as XDP_SKB), so from th
On Fri, Jun 14, 2019 at 11:07:37AM -0700, Cong Wang wrote:
> On Tue, Jun 11, 2019 at 9:44 AM Marcelo Ricardo Leitner
> wrote:
> > I had suggested to let act_ct handle the above as well, as there is a
> > big chunk of code on both that is pretty similar. There is quite some
> > boilerplate for inte
David Ahern writes:
> On 6/12/19 10:01 AM, Roman Mashak wrote:
>> Hangbin Liu writes:
>>
>>> Add a new parameter '-Numeric' to show the number of protocol, scope,
>>> dsfield, etc directly instead of converting it to human readable name.
>>> Do the same on tc and ss.
>>>
>>> This patch is based
On Mon, May 20, 2019 at 11:09:40AM +0300, Tariq Toukan wrote:
> From: Mikhael Goikhman
>
> Use _prefix and _sbindir macros to allow building the package under a
> different prefix.
>
> Signed-off-by: Mikhael Goikhman
> Signed-off-by: Tzafrir Cohen
> Signed-off-by: Tariq Toukan
> ---
> ethtoo
On Fri, May 31, 2019 at 03:57:46PM +0200, Andrew Lunn wrote:
> Import the latest ethtool.h and add two new links modes.
>
> v2:
> Move the new speeds to the end of the all_advertised_modes_bits[].
> Remove the same_line bit for the new moved
> Add the new modes to the man page.
>
> Andrew Lunn (2
On Wed, 2019-06-12 at 12:18 +0200, Paolo Abeni wrote:
> We can avoid another indirect call per packet wrapping the rx
> handler call with the proper helper.
>
> To ensure that even the last listed direct call experience
> measurable gain, despite the additional conditionals we must
> traverse befo
On Wed, 2019-06-12 at 12:18 +0200, Paolo Abeni wrote:
> We can avoid an indirect call per packet wrapping the skb creation
> with the appropriate helper.
>
> Signed-off-by: Paolo Abeni
Acked-by: Saeed Mahameed
On 06/14/2019 12:36 PM, Sergei Shtylyov wrote:
>> From: "Gustavo A. R. Silva"
>>
>> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
>> where we are expecting to fall through.
>>
>> This patch fixes the following warning:
>>
>> drivers/net/ethernet/intel/i40e/i40e_xsk.c: In fu
On Tue, Jun 11, 2019 at 9:44 AM Marcelo Ricardo Leitner
wrote:
> I had suggested to let act_ct handle the above as well, as there is a
> big chunk of code on both that is pretty similar. There is quite some
> boilerplate for interfacing with conntrack which is duplicated.
Why do you want to mix r
On Tue, Jun 11, 2019 at 7:05 AM Paul Blakey wrote:
>
> Allow sending a packet to conntrack and set conntrack zone, mark,
> labels and nat parameters.
>
This is too short to justify why you want to play with L3 stuff in L2.
Please be as specific as you can.
Also, please document its use case too.
--
Greetings,
I have an intending proposal for you please i need you to contact my
private
E-mail (dralbertddzo...@gmail.com) for more updates,
Best Wishes.
DR ALBERT ZONGO
--
1 - 100 of 199 matches
Mail list logo