On Wed, Dec 20, 2017 at 4:50 PM, Jakub Kicinski wrote:
> On Wed, 20 Dec 2017 16:41:14 -0800, Jakub Kicinski wrote:
>> Just as I hit send... :) but this looks unrelated, "Comm: sshd" -
>> so probably from the management interface.
>>
>> [ 154.604041]
>>
On Wed, Dec 20, 2017 at 4:37 PM, Jakub Kicinski wrote:
> On Wed, 20 Dec 2017 16:03:49 -0800, Cong Wang wrote:
>> On Wed, Dec 20, 2017 at 10:31 AM, Cong Wang wrote:
>> > On Wed, Dec 20, 2017 at 10:17 AM, Cong Wang
>> > wrote:
The rcu_barrier_bh() in mini_qdisc_pair_swap() is to wait for
flying RCU callback installed by a previous mini_qdisc_pair_swap(),
however we miss it on the tp_head==NULL path, which leads to that
the RCU callback still uses miniq_old->rcu after it is freed together
with qdisc in qdisc_graft(). So
On 2017/12/21 14:39, Yanjun Zhu wrote:
On 2017/12/20 7:59, Shannon Nelson wrote:
This is an implementation of the ipsec hardware offload feature for
the ixgbe driver and Intel's 10Gbe series NICs: x540, x550, 82599.
Hi, Nelson
I notice that the ipsec feature is based on x540, x550, 82599.
On 20/12/2017 18:01, Pavel Machek wrote:
On Wed 2017-12-20 16:54:21, Pavel Machek wrote:
Hi!
Before ask for reverting 19110cfbb..., please, check if follow patch
of Benjamin work for you http://patchwork.ozlabs.org/patch/846825/
Pavel, before ask for revert - let's check Benjamin's patch
This patchset adds some new feature support and fixes some bugs:
[Patch 1/17 - 5/17] add the support to modify/query the tqp number
through ethtool -L/l command, and also fix some related bugs for
change tqp number.
[Patch 6/17 - 9-17] add support vlan tag offload on tx& direction
for pf, and fix
This patch adds offload command related to "ethtool -K".
Signed-off-by: Lipeng
Signed-off-by: Jian Shen
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +++
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 16
This patch adds the support to query tqps number for PF driver
by using ehtool -l command.
Signed-off-by: Lipeng
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 ++
When auto-negotiation is enabled, the MAC flow control settings is
based on the flow control negotiation result. And it should be configured
after a valid link has been established. This patch adds support to update
flow control settings after auto-negotiation has completed.
Signed-off-by: Lipeng
From: Fuyun Liang
When phy exists, we use the value of phydev.autoneg to represent the
auto-negotiation state of hardware. Otherwise, we use the value of
mac.autoneg to represent it.
This patch fixes for getting a error value of auto-negotiation state in
This patch adds the support to change tqps number for PF driver
by using ehtool -L command.
Signed-off-by: Lipeng
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hnae3.h| 3 +
TC-based sched mode supports SRIOV enabled and SRIOV disabled. This
patch change the TM sched mode to TC-based mode in initialization
process.
Fixes: cc9bb43ab394 ("net: hns3: Add tc-based TM support for sriov enabled
port")
Signed-off-by: Lipeng
---
This patch modifies the return data of get_rxnfc, it will return
the current handle's rss_size but not the total tqp number.
because the tc_size has been change to the log2 of roundup
power of two of rss_size.
Signed-off-by: Lipeng
Signed-off-by: Mingguang Qu
Add configuration for rss_size_max in hdev but not hardcode it.
Signed-off-by: Lipeng
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 2 ++
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 6 +-
This patch deals with the vlan tag information between
sk_buff and rx/tx bd.
Signed-off-by: Lipeng
Signed-off-by: Jian Shen
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 83 +++--
1 file changed, 78 insertions(+), 5
This patch adds vlan offload config commands, initializes
the rules of tx/rx vlan tag handle for hw.
Signed-off-by: Lipeng
Signed-off-by: Jian Shen
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 45 ++
From: Fuyun Liang
commit c4fb2cdf575d ("net: hns3: fix a bug for phy supported feature
initialization") adds default supported features for phy, but our hardware
also supports Asym Pause. This patch adds Asym Pause support to phy
default features to prevent Asym Pause can
This patch adds support for querying advertised pause frame by using
ethtool command(ethtool ethx).
Fixes: 496d03e960ae ("net: hns3: Add Ethtool support to HNS3 driver")
Signed-off-by: Lipeng
Signed-off-by: Fuyun Liang
---
This patch sets vlan masked, in order to avoid the received
packets being filtered.
Signed-off-by: Lipeng
Signed-off-by: Jian Shen
---
.../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 10 ++
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c
This patch adds set_pauseparam support for ethtool cmd.
Signed-off-by: Lipeng
Signed-off-by: Fuyun Liang
---
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 13
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c| 83
On 2017/12/21 12:04, David Miller wrote:
From: "lipeng (Y)"
Date: Thu, 21 Dec 2017 09:30:01 +0800
On 2017/12/21 3:28, David Miller wrote:
From: Lipeng
Date: Wed, 20 Dec 2017 16:43:02 +0800
This patchset adds some new feature support and fixes
On 11/12/2017 9:26, Benjamin Poirier wrote:
e1000e_check_for_copper_link() and e1000_check_for_copper_link_ich8lan()
are the two functions that may be assigned to mac.ops.check_for_link when
phy.media_type == e1000_media_type_copper. Commit 19110cfbb34d ("e1000e:
Separate signaling for link
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
This patch fixes a memory leak problems in change tqps process,
the function hns3_uninit_all_ring and hns3_init_all_ring
may be called many times.
Signed-off-by: Lipeng
Signed-off-by: Mingguang Qu
---
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
Burstiness of a flow is determined by the depth of a bucket, When the
upper rate of shaper is large, the current depth of a bucket is not
enough.
The default upper rate of shaper is 100G, so increase the depth of
a bucket according to UM.
Signed-off-by: Lipeng
Fixes: 309795f4bec ("l2tp: Add netlink control API for L2TP")
Reported-by: Jianlin Shi
Signed-off-by: Hangbin Liu
---
net/l2tp/l2tp_netlink.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c
index
On 2017/12/20 7:59, Shannon Nelson wrote:
This is an implementation of the ipsec hardware offload feature for
the ixgbe driver and Intel's 10Gbe series NICs: x540, x550, 82599.
Hi, Nelson
I notice that the ipsec feature is based on x540, x550, 82599. But this
ixgbe driver
will also work
On Fri, Dec 15, 2017 at 10:13:03AM +0100, Steffen Klassert wrote:
> This patchset implements asynchronous crypto handling
> in the layer 2 TX path. With this we can allow IPsec
> ESP GSO for software crypto. This also merges the IPsec
> GSO and non-GSO paths to both use validate_xmit_xfrm().
>
>
On Wed, 2017-12-20 at 12:56 -0500, David Miller wrote:
> From: Saeed Mahameed
> Date: Tue, 19 Dec 2017 12:33:29 -0800
>
> > This patchset is based on rc4 and I see that net-next is still on
> > rc3, i hope
> > this is not a problem.
>
> If it doesn't pull cleanly into
On Mittwoch, 20. Dezember 2017 14:39:46 CET David Miller wrote:
[...]
> Pulled, but there was a minor docbook annotation conflict I had to
> address.
>
> This pull added () to the function names in the docbook comments,
> but this overlapped with the fix of a variable name in the docbook
> info
Get rid of custom hex_dump_to_buffer().
The output is slightly changed, i.e. each byte followed by white space.
Note, we don't use print_hex_dump() here since the original code uses
nedev_dbg().
Signed-off-by: Andy Shevchenko
Signed-off-by: Jie Deng
On Wed, 20 Dec 2017 18:16:30 -0800, Siwei Liu wrote:
> > The plan is to remove the delay and do the naming in the kernel.
> > This was suggested by Lennart since udev is only doing naming policy
> > because kernel names were not repeatable.
> >
> > This makes the VF show up as "ethN_vf" on Hyper-V
From: Daniel Borkmann
Date: Thu, 21 Dec 2017 03:57:47 +0100
> The following pull-request contains BPF updates for your *net* tree.
...
> Please consider pulling these changes from:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git
Pulled, thanks Daniel.
From: Masami Hiramatsu
Date: Thu, 21 Dec 2017 11:36:57 +0900
> Could you share your .config file?
You never need to ask me this question.
All of my test builds are with "allmodconfig".
From: "lipeng (Y)"
Date: Thu, 21 Dec 2017 09:30:01 +0800
>
>
> On 2017/12/21 3:28, David Miller wrote:
>> From: Lipeng
>> Date: Wed, 20 Dec 2017 16:43:02 +0800
>>
>>> This patchset adds some new feature support and fixes some bugs:
>>> [Patch 1/17 -
On 12/20/2017 6:21 PM, Marcelo Ricardo Leitner wrote:
On Wed, Dec 20, 2017 at 05:39:13PM -0800, Shannon Nelson wrote:
On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote:
Hi,
On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote:
+}
+
+static const struct xfrmdev_ops
On Wed, Dec 20, 2017 at 10:37:08AM -0800, Yonghong Song wrote:
> The default rlimit RLIMIT_MEMLOCK is 64KB. In certain cases,
> e.g. in a test machine mimicking our production system, this test may
> fail due to unable to charge the required memory for prog load:
>
> $ ./test_dev_cgroup
>
On Thu, 21 Dec 2017 11:36:57 +0900
Masami Hiramatsu wrote:
> On Wed, 20 Dec 2017 14:24:24 -0500 (EST)
> David Miller wrote:
>
> > From: David Miller
> > Date: Wed, 20 Dec 2017 14:20:40 -0500 (EST)
> >
> > > From: Masami
Hi David,
The following pull-request contains BPF updates for your *net* tree.
The main changes are:
1) Fix multiple security issues in the BPF verifier mostly related
to the value and min/max bounds tracking rework in 4.14. Issues
range from incorrect bounds calculation in some BPF_RSH
On 12/20/17 3:28 AM, Ido Schimmel wrote:
> @@ -4327,6 +4321,15 @@ static int inet6_rtm_getroute(struct sk_buff *in_skb,
> struct nlmsghdr *nlh,
> goto errout;
> }
>
> + if (fibmatch && rt->dst.from) {
> + struct rt6_info *ort = container_of(rt->dst.from,
> +
On 2017/12/21 10:27, lipeng (Y) wrote:
>
>
> On 2017/12/21 3:28, David Miller wrote:
>> From: Lipeng
>> Date: Wed, 20 Dec 2017 16:43:02 +0800
>>
>>> This patchset adds some new feature support and fixes some bugs:
>>> [Patch 1/17 - 5/17] add the support to modify/query the
On Wed, 20 Dec 2017 14:24:24 -0500 (EST)
David Miller wrote:
> From: David Miller
> Date: Wed, 20 Dec 2017 14:20:40 -0500 (EST)
>
> > From: Masami Hiramatsu
> > Date: Wed, 20 Dec 2017 13:14:11 +0900
> >
> >> This series is v4 of
On 2017/12/21 3:28, David Miller wrote:
From: Lipeng
Date: Wed, 20 Dec 2017 16:43:02 +0800
This patchset adds some new feature support and fixes some bugs:
[Patch 1/17 - 5/17] add the support to modify/query the tqp number
through ethtool -L/l command, and also fix
On Wed, Dec 20, 2017 at 05:39:13PM -0800, Shannon Nelson wrote:
> On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote:
> > Hi,
> >
> > On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote:
> > > +}
> > > +
> > > +static const struct xfrmdev_ops ixgbe_xfrmdev_ops = {
> > > +
On 12/19/2017 05:11 AM, Alexei Starovoitov wrote:
> This patch set addresses a set of security vulnerabilities
> in bpf verifier logic discovered by Jann Horn.
> All of the patches are candidates for 4.14 stable.
>
> Alexei Starovoitov (1):
> bpf: fix integer overflows
>
> Edward Cree (1):
>
On 12/19/2017 05:15 AM, Alexei Starovoitov wrote:
> Do not allow root to convert valid pointers into unknown scalars.
> In particular disallow:
> ptr &= reg
> ptr <<= reg
> ptr += ptr
> and explicitly allow:
> ptr -= ptr
> since pkt_end - pkt == length
>
> 1.
> This minimizes amount of
On Tue, Dec 19, 2017 at 10:41 AM, Stephen Hemminger
wrote:
> On Tue, 19 Dec 2017 13:21:17 -0500 (EST)
> David Miller wrote:
>
>> From: Stephen Hemminger
>> Date: Tue, 19 Dec 2017 09:55:48 -0800
>>
>> > could be 10ms,
On Wed, Dec 20, 2017 at 01:42:55PM +0100, Daniel Borkmann wrote:
> This work adds correlation of maps and calls into the bpftool
> xlated dump in order to help debugging and introspection of
> loaded BPF progs. First patch makes kallsyms work on subprogs
> with bpf calls, and second implements the
On 2017/12/20 17:13, Jason Wang wrote:
> On 2017年12月20日 12:40, Toshiaki Makita wrote:
>> The main purpose of this patch is adding a way of checking per-queue
>> stats.
>> It's useful to debug performance problems on multiqueue environment.
>>
>> $ ethtool -S ens10
>> NIC statistics:
>>
On Mon, Dec 18, 2017 at 10:11:57AM +0100, Peter Zijlstra wrote:
> On Fri, Dec 15, 2017 at 09:09:51AM -0800, Alexei Starovoitov wrote:
>
> > yeah. Currently bpf progs are called at the end of
> > perf_trace_##call()
> > {
> > .. regular tracepoint copy craft
> > perf_trace_run_bpf_submit(
On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote:
Hi,
On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote:
+}
+
+static const struct xfrmdev_ops ixgbe_xfrmdev_ops = {
+ .xdo_dev_state_add = ixgbe_ipsec_add_sa,
+ .xdo_dev_state_delete = ixgbe_ipsec_del_sa,
+};
+
> -Original Message-
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Wednesday, December 20, 2017 11:18 PM
> To: Chris Mi
> Cc: netdev@vger.kernel.org; gerlitz...@gmail.com
> Subject: Re: [patch iproute2] tc: add -bs option for batch mode
>
> On
On 2017/12/21 3:28, David Miller wrote:
From: Lipeng
Date: Wed, 20 Dec 2017 16:43:02 +0800
This patchset adds some new feature support and fixes some bugs:
[Patch 1/17 - 5/17] add the support to modify/query the tqp number
through ethtool -L/l command, and also fix
Hi,
On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote:
> +}
> +
> +static const struct xfrmdev_ops ixgbe_xfrmdev_ops = {
> + .xdo_dev_state_add = ixgbe_ipsec_add_sa,
> + .xdo_dev_state_delete = ixgbe_ipsec_del_sa,
> +};
> +
This struct is only declared if XFRM_OFFLOAD is
On Wed, 20 Dec 2017 16:41:14 -0800, Jakub Kicinski wrote:
> Just as I hit send... :) but this looks unrelated, "Comm: sshd" -
> so probably from the management interface.
>
> [ 154.604041]
> ==
> [ 154.612245] BUG: KASAN:
On Tue, 2017-12-19 at 10:15 -0800, Joe Perches wrote:
> Convert DEVICE_ATTR uses to DEVICE_ATTR_WO where possible.
>
> Done with perl script:
>
> $ git grep -w --name-only DEVICE_ATTR | \
> xargs perl -i -e 'local $/; while (<>) {
>
Under some circumstances driver will perform PHY reset in
ksz9031_read_status() to fix autoneg failure case (idle error count =
0xFF). When this happens ksz9031 will not detect link status change any
more when connecting to Netgear 1G switch (link can be recovered sometimes by
restarting netdevice
On Wed, 20 Dec 2017 16:37:10 -0800, Jakub Kicinski wrote:
> On Wed, 20 Dec 2017 16:03:49 -0800, Cong Wang wrote:
> > On Wed, Dec 20, 2017 at 10:31 AM, Cong Wang
> > wrote:
> > > On Wed, Dec 20, 2017 at 10:17 AM, Cong Wang
> > > wrote:
>
On Wed, 20 Dec 2017 16:03:49 -0800, Cong Wang wrote:
> On Wed, Dec 20, 2017 at 10:31 AM, Cong Wang wrote:
> > On Wed, Dec 20, 2017 at 10:17 AM, Cong Wang
> > wrote:
> >>
> >> I guess it is q->miniqp which is freed in qdisc_graft() without
On Thu, 21 Dec 2017 02:15:31 +0200, Michael S. Tsirkin wrote:
> On Wed, Dec 20, 2017 at 02:33:34PM -0800, Jakub Kicinski wrote:
> > On Mon, 18 Dec 2017 16:40:36 -0800, Sridhar Samudrala wrote:
> > > +static int virtio_netdev_event(struct notifier_block *this,
> > > +
On Wed, Dec 20, 2017 at 02:33:34PM -0800, Jakub Kicinski wrote:
> On Mon, 18 Dec 2017 16:40:36 -0800, Sridhar Samudrala wrote:
> > +static int virtio_netdev_event(struct notifier_block *this,
> > + unsigned long event, void *ptr)
> > +{
> > + struct net_device *event_dev
On Mon, Dec 18, 2017 at 04:40:36PM -0800, Sridhar Samudrala wrote:
> This patch enables virtio to switch over to a VF datapath when a VF netdev
> is present with the same MAC address.
I prefer saying "a passthrough device" here. Does not have to be a VF at
all.
> It allows live migration of a
On 12/20/17 8:17 AM, Stephen Hemminger wrote:
> On Wed, 20 Dec 2017 09:23:34 +
> Chris Mi wrote:
>
>>> Your real performance win is just not asking for ACK for every rule.
>> No. Even if batch_size > 1, we ack every rule. The real performance win is
>> to send multiple
On Wed, 20 Dec 2017 14:24:24 -0500 (EST)
David Miller wrote:
> From: David Miller
> Date: Wed, 20 Dec 2017 14:20:40 -0500 (EST)
>
> > From: Masami Hiramatsu
> > Date: Wed, 20 Dec 2017 13:14:11 +0900
> >
> >> This series is v4 of
On Wed, 20 Dec 2017 16:03:49 -0800, Cong Wang wrote:
> On Wed, Dec 20, 2017 at 10:31 AM, Cong Wang wrote:
> > On Wed, Dec 20, 2017 at 10:17 AM, Cong Wang
> > wrote:
> >>
> >> I guess it is q->miniqp which is freed in qdisc_graft() without
On Wed, Dec 20, 2017 at 10:31 AM, Cong Wang wrote:
> On Wed, Dec 20, 2017 at 10:17 AM, Cong Wang wrote:
>>
>> I guess it is q->miniqp which is freed in qdisc_graft() without properly
>> waiting for rcu readers?
>
> It is probably so, the
On Thu, 21 Dec 2017 10:43:04 +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/net/netdevsim/bpf.c: In function 'nsim_bpf_setup_tc_block_cb':
> drivers/net/netdevsim/bpf.c:127:7: error:
Hi all,
After merging the net-next tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/net/netdevsim/bpf.c: In function 'nsim_bpf_setup_tc_block_cb':
drivers/net/netdevsim/bpf.c:127:7: error: 'TC_CLSBPF_REPLACE' undeclared (first
use in this function)
case
On 12/20/2017 01:59 PM, Jakub Kicinski wrote:
> On Wed, 20 Dec 2017 12:09:19 -0800, John Fastabend wrote:
>> RCU grace period is needed for lockless qdiscs added in the commit
>> c5ad119fb6c09 ("net: sched: pfifo_fast use skb_array").
>>
>> It is needed now that qdiscs may be lockless otherwise we
On Tue, Dec 19 2017, Michael Ellerman wrote:
> Hi Johannes,
>
>> From: Johannes Berg
>>
>> This reverts commit d6f295e9def0; some userspace (in the case
>
> This revert seems to have broken networking on one of my powerpc
> machines,
On 12/20/2017 03:23 PM, Cong Wang wrote:
> On Wed, Dec 20, 2017 at 3:05 PM, John Fastabend
> wrote:
>> On 12/20/2017 02:41 PM, Cong Wang wrote:
>>> On Wed, Dec 20, 2017 at 12:09 PM, John Fastabend
>>> wrote:
RCU grace period is needed for
On Wed, Dec 20, 2017 at 3:05 PM, John Fastabend
wrote:
> On 12/20/2017 02:41 PM, Cong Wang wrote:
>> On Wed, Dec 20, 2017 at 12:09 PM, John Fastabend
>> wrote:
>>> RCU grace period is needed for lockless qdiscs added in the commit
>>>
Attaching more than one PHY to phylink is bad news, as we store a
pointer to the PHY in a single location. Error out if more than one
PHY is attempted to be attached.
Signed-off-by: Russell King
---
drivers/net/phy/phylink.c | 3 +++
1 file changed, 3 insertions(+)
Ensure that we mark AN as enabled at boot time, rather than leaving
it disabled. This is noticable if your SFP module is fiber, and you
it supports faster speeds than 1G with 2.5G support in place.
Signed-off-by: Russell King
---
drivers/net/phy/phylink.c | 1 +
1
When setting the ethtool settings, ensure that the validated PHY
interface mode is propagated to the current link settings, so that
2500BaseX can be selected.
Signed-off-by: Russell King
---
drivers/net/phy/phylink.c | 1 +
1 file changed, 1 insertion(+)
diff --git
On Wed, 2017-12-20 at 22:07 +0100, Christian Lamparter wrote:
>
> > will read this and say "Oh the function tests against these weird
> > PHY_MODE_* aliases, but the helper function phy_interface_mode_is_rgmii()
> > tests against PHY_INTERFACE_MODE_*, what is going on?"
> >
> > I hate to do this
On 12/20/2017 02:41 PM, Cong Wang wrote:
> On Wed, Dec 20, 2017 at 12:09 PM, John Fastabend
> wrote:
>> RCU grace period is needed for lockless qdiscs added in the commit
>> c5ad119fb6c09 ("net: sched: pfifo_fast use skb_array").
>>
>> It is needed now that qdiscs may be
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/net/ethernet/netronome/nfp/bpf/main.c
between commit:
d3f89b98e391 ("nfp: bpf: keep track of the offloaded program")
from the net tree and commit:
bd0b2e7fe611 ("net: xdp: make the stack take care of the
The patch adds support for configuring the erspan v2, for both
ipv4 and ipv6 erspan implementation. Three additional fields
are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir'
for specifying direction of the mirrored traffic, and 'erspan_hwid'
for users to set ERSPAN engine ID
On Wed, Dec 20, 2017 at 10:56 AM, Andreas Hartmann
wrote:
> On 12/18/2017 at 06:11 PM Andreas Hartmann wrote:
>> On 12/17/2017 at 11:33 PM Willem de Bruijn wrote:
> [...]
>>> I have been able to reproduce the hang by sending a UFO packet
>>> between two guests
On Wed, Dec 20, 2017 at 12:09 PM, John Fastabend
wrote:
> RCU grace period is needed for lockless qdiscs added in the commit
> c5ad119fb6c09 ("net: sched: pfifo_fast use skb_array").
>
> It is needed now that qdiscs may be lockless otherwise we risk
> free'ing a qdisc
On Wed, Dec 20, 2017 at 12:23 PM, John Fastabend
wrote:
> I'm trying to see how removing that rcu grace period was safe in the
> first place. The datapath is using rcu_read critical section to protect
> the qdisc but the control path (a) doesn't use rcu grace period and
From: Willem de Bruijn
The removal of UFO hardware offload support exposed a bug in
segmentation of zerocopy skbs.
The reference counting mechanism for msg_zerocopy was incorrectly
applied to vhost_net zerocopy packets.
The other issue observed through analysis. We do not
From: Willem de Bruijn
Call skb_zerocopy_clone after skb_orphan_frags, to avoid duplicate
calls to skb_uarg(skb)->callback for the same data.
skb_zerocopy_clone associates skb_shinfo(skb)->uarg from frag_skb
with each segment. This is only safe for uargs that do refcounting,
From: Willem de Bruijn
skb_copy_ubufs creates a private copy of frags[] to release its hold
on user frags, then calls uarg->callback to notify the owner.
Call uarg->callback even when no frags exist. This edge case can
happen when zerocopy_sg_from_iter finds enough room in
Since commit 6123c66854c1 ("netvsc: delay setup of VF device")
the automatic bring up of the VF is delayed to allow userspace (udev)
a chance to rename the device. This delay is problematic because
it delays boot and may not be long enough for some cases.
Instead, use the rename can be used to
On Mon, 18 Dec 2017 16:40:36 -0800, Sridhar Samudrala wrote:
> +static int virtio_netdev_event(struct notifier_block *this,
> +unsigned long event, void *ptr)
> +{
> + struct net_device *event_dev = netdev_notifier_info_to_dev(ptr);
> +
> + /* Skip our own
On Wed, Dec 20, 2017 at 12:14 PM, John Fastabend
wrote:
>
> Hi,
>
> Just sent a patch to complete qdisc_destroy from rcu callback. This
> is needed to resolve a race with the lockless qdisc patches.
>
> But I guess it should fix the miniq issue as well?
If you ever
> On Dec 20, 2017, at 1:25 PM, Peter Zijlstra wrote:
>
> On Wed, Dec 20, 2017 at 06:10:11PM +, Song Liu wrote:
>> I think there is one more thing to change:
>
> OK, folded that too; it should all be at:
>
>
The ibm_emac driver predates the PHY_INTERFACE_MODE_*
enums by a few years.
And while the driver has been retrofitted to use the PHYLIB,
the old definitions have stuck around to this day.
This patch replaces all occurences of PHY_MODE_* with
the respective equivalent PHY_INTERFACE_MODE_* enum.
The RGMII spec allows compliance for devices that implement an internal
delay on TXC and/or RXC inside the transmitter. This patch adds the
necessary RGMII_[RX|TX]ID mode code to handle such PHYs with the
emac driver.
Signed-off-by: Christian Lamparter
---
v3: - replace
phy_modes() in the common phy.h already defines the same phy mode
names in lower case. The deleted rgmii_mode_name() is used only
in one place and for a "notice-level" printk. Hence, it will not
be missed.
Signed-off-by: Christian Lamparter
---
On Wed, 20 Dec 2017 12:09:19 -0800, John Fastabend wrote:
> RCU grace period is needed for lockless qdiscs added in the commit
> c5ad119fb6c09 ("net: sched: pfifo_fast use skb_array").
>
> It is needed now that qdiscs may be lockless otherwise we risk
> free'ing a qdisc that is still in use from
On Wed, 20 Dec 2017 20:53:41 +, Roman Gushchin wrote:
> On Wed, Dec 20, 2017 at 12:29:21PM -0800, Jakub Kicinski wrote:
> > On Wed, 20 Dec 2017 20:19:43 +, Roman Gushchin wrote:
> > > Bpftool determines it's own version based on the kernel
> > > version, which is picked from the
On 12/20/17 1:03 PM, Jiri Pirko wrote:
>>> Userspace part prototype can be found at
>>> https://github.com/arkadis/iproute2/
>>> at resource_dev branch.
My devlink command getting no output is because you forgot to update
that iproute2 tree with a version that works with the patches that were
On Wed, Dec 20, 2017 at 06:10:11PM +, Song Liu wrote:
> I think there is one more thing to change:
OK, folded that too; it should all be at:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core
Can you verify it all looks/works right?
From: Christian Lamparter
Date: Wed, 20 Dec 2017 22:07:43 +0100
> Yeah, I can do that. no problem.
>
> Question is, should I also replace the rgmii_mode_name() with phy_modes() too?
>
> The only user of rgmii_mode_name() is this notice printk in rgmii_attach():
>
Adds support for calling sock_ops BPF program when there is a TCP state
change. Two arguments are used; one for the old state and another for
the new state.
New op: BPF_SOCK_OPS_STATE_CB.
Signed-off-by: Lawrence Brakmo
---
include/uapi/linux/bpf.h | 4
Adds support for calling sock_ops BPF program when there is a
retransmission. Two arguments are used; one for the sequence number and
other for the number of segments retransmitted. Does not include syn-ack
retransmissions.
New op: BPF_SOCK_OPS_RETRANS_CB.
Signed-off-by: Lawrence Brakmo
Add support for reading many more tcp_sock fields
state,same as sk->sk_state
rtt_min same as sk->rtt_min.s[0].v (current rtt_min)
snd_ssthresh
rcv_nxt
snd_nxt
snd_una
mss_cache
ecn_flags
rate_delivered
rate_interval_us
packets_out
retrans_out
total_retrans
1 - 100 of 354 matches
Mail list logo