\n");
}
kda@SLES15-SP2:~> ./test
First bind()
Second bind()
bind() failed
: Invalid argument
kda@SLES15-SP2:~> ls -la /tmp/.first_bind
.first_bind .first_bind_failed
Signed-off-by: Denis Kirjanov
---
net/unix/af_unix.c | 17 -
1 file changed, 16 insert
\n");
}
kda@SLES15-SP2:~> ./test
First bind()
Second bind()
bind() failed
: Invalid argument
kda@SLES15-SP2:~> ls -la /tmp/.first_bind
.first_bind .first_bind_failed
Signed-off-by: Denis Kirjanov
v2: move a new path creation after the address assignment check
v3: fixed goto l
On 12/1/20, Jakub Kicinski wrote:
> On Tue, 1 Dec 2020 12:33:06 +0300 Denis Kirjanov wrote:
>> in the case of the socket which is bound to an adress
>> there is no sense to create a path in the next attempts
>>
>> here is a program that shows the issue:
>>
\n");
}
kda@SLES15-SP2:~> ./test
First bind()
Second bind()
bind() failed
: Invalid argument
kda@SLES15-SP2:~> ls -la /tmp/.first_bind
.first_bind .first_bind_failed
Signed-off-by: Denis Kirjanov
v2: move a new path creation after the address assignment check
v3: fixed goto lab
knod() should be fixed as well. I'll send a
next version shortly.
Thanks!
> url:
> https://github.com/0day-ci/linux/commits/Denis-Kirjanov/net-af_unix-don-t-create-a-path-for-a-binded-socket/20201130-213012
> base: https://git.kernel.org/cgit/linux/kernel/git/davem/net.git
> 4d5
\n");
}
kda@SLES15-SP2:~> ./test
First bind()
Second bind()
bind() failed
: Invalid argument
kda@SLES15-SP2:~> ls -la /tmp/.first_bind
.first_bind .first_bind_failed
Signed-off-by: Denis Kirjanov
v2: move a new patch creation after the address assignment check.
---
net/unix/af_
On 11/26/20, Jakub Kicinski wrote:
> On Tue, 24 Nov 2020 15:24:21 +0300 Denis Kirjanov wrote:
>> in the case of the socket which is bound to an adress
>> there is no sense to create a path in the next attempts
>
>> diff --git a/net/unix/af_unix.c b/net/unix/af_unix
\n");
}
kda@SLES15-SP2:~> ./test
First bind()
Second bind()
bind() failed
: Invalid argument
kda@SLES15-SP2:~> ls -la /tmp/.first_bind
.first_bind .first_bind_failed
Signed-off-by: Denis Kirjanov
---
net/unix/af_unix.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
dif
On 11/19/20, Claudiu Manoil wrote:
> These particular fields are specified in the H/W reference
> manual as having network byte order format, so enforce big
> endian annotation for them and clear the related sparse
> warnings in the process.
>
> Signed-off-by: Claudiu Manoil
> ---
> drivers/net/
On 11/17/20, Radhey Shyam Pandey wrote:
> From: Shravya Kumbham
>
> Add ret variable, condition to check the return value and error
> path for the of_address_to_resource() function. It also adds error
> handling for mdio setup and decrement refcount of phy node.
>
> Addresses-Coverity: Event chec
On 11/16/20, Denis Kirjanov wrote:
> On 11/16/20, Xuan Zhuo wrote:
>> On Mon, 16 Nov 2020 12:13:21 +0300, Denis Kirjanov
>>
>> wrote:
>>> On 11/16/20, Xuan Zhuo wrote:
>>> > When we write all cq items to tx, we have to wait for a new event
>&g
On 11/16/20, Xuan Zhuo wrote:
> On Mon, 16 Nov 2020 12:13:21 +0300, Denis Kirjanov
> wrote:
>> On 11/16/20, Xuan Zhuo wrote:
>> > When we write all cq items to tx, we have to wait for a new event based
>> > on poll to indicate that it is writable. But the current
On 11/16/20, Xuan Zhuo wrote:
> When we write all cq items to tx, we have to wait for a new event based
> on poll to indicate that it is writable. But the current writability is
> triggered based on whether tx is full or not, and In fact, when tx is
> dissatisfied, the user of cq's item may not ne
On 11/10/20, xiakaixu1...@gmail.com wrote:
> From: Kaixu Xia
>
> The unsigned variable datasec_id is assigned a return value from the call
> to check_pseudo_btf_id(), which may return negative error code.
>
> Fixes coccicheck warning:
>
> ./kernel/bpf/verifier.c:9616:5-15: WARNING: Unsigned expre
On 7/3/20, Denis Kirjanov wrote:
> On 7/1/20, Vaibhav Gupta wrote:
>> With legacy PM, drivers themselves were responsible for managing the
>> device's power states and takes care of register states.
>>
>> After upgrading to the generic structure, PCI core will ta
On 7/1/20, Vaibhav Gupta wrote:
> With legacy PM, drivers themselves were responsible for managing the
> device's power states and takes care of register states.
>
> After upgrading to the generic structure, PCI core will take care of
> required tasks and drivers should do only device-specific ope
The patch adds a new extra type to be able to diffirentiate
between RX responses on xen-netfront side with the adjusted offset
required for XDP processing.
The offset value from a guest is passed via xenstore.
Signed-off-by: Denis Kirjanov
---
include/xen/interface/io/netif.h | 20
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
CT support (tested with modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Denis Kirjanov (3):
xen: netif.h: add a new extra type for XDP
xen networking: add basic XDP support for xe
On 6/26/20, Jakub Kicinski wrote:
> On Fri, 26 Jun 2020 14:40:38 +0300 Denis Kirjanov wrote:
>> The patch adds a basic XDP processing to xen-netfront driver.
>>
>> We ran an XDP program for an RX response received from netback
>> driver. Also we request xen-netbac
On 6/26/20, Jesper Dangaard Brouer wrote:
> On Fri, 26 Jun 2020 14:40:38 +0300
> Denis Kirjanov wrote:
>
>> diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
>> index 482c6c8..91a3b53 100644
>> --- a/drivers/net/xen-netfront.c
>>
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Reviewed-by: Paul Durrant
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h| 4
drivers/net/xen-netback/interface.c | 2 ++
drivers/net/xen-netback/netback.c
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h| 4
drivers/net/xen-netback/interface.c | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
h modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Denis Kirjanov (3):
xen: netif.h: add a new extra type for XDP
xen networking: add basic XDP support for xen-netfront
xen networking: add
The patch adds a new extra type to be able to diffirentiate
between RX responses on xen-netfront side with the adjusted offset
required for XDP processing.
The offset value from a guest is passed via xenstore.
Signed-off-by: Denis Kirjanov
---
include/xen/interface/io/netif.h | 20
On 6/26/20, Denis Kirjanov wrote:
> the patch basically adds the offset adjustment and netfront
> state reading to make XDP work on netfront side.
>
> Signed-off-by: Denis Kirjanov
Ooops, please ignore it. That was to quick :/
> ---
> drivers/net/xen-netback/common.h|
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h| 4
drivers/net/xen-netback/interface.c | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers
The patch adds a new extra type to be able to diffirentiate
between RX responses on xen-netfront side with the adjusted offset
required for XDP processing.
The offset value from a guest is passed via xenstore.
Signed-off-by: Denis Kirjanov
---
include/xen/interface/io/netif.h | 20
etback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Denis Kirjanov (3):
xen: netif.h: add a new extra type for XDP
xen networking: add basic XDP support for xen-netfront
xen networking: add XDP offset adjustment to xen-netback
drivers/n
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h| 4
drivers/net/xen-netback/interface.c | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers
The patch adds a new extra type to be able to diffirentiate
between RX responses on xen-netfront side with the adjusted offset
required for XDP processing.
The offset value from a guest is passed via xenstore.
Signed-off-by: Denis Kirjanov
---
include/xen/interface/io/netif.h | 20
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
tback that we need the headroom space
Denis Kirjanov (3):
xen: netif.h: add a new extra type for XDP
xen networking: add basic XDP support for xen-netfront
xen networking: add XDP offset adjustment to xen-netback
drivers/net/Kconfig | 1 +
drivers/net/xen-netback/common.
CWR on pure ACKs received.
v3:
- Add a sequence check to avoid sending an ACK to an ACK
v2:
- Adjusted the comment
- move CWR check before checking for unacknowledged packets
Signed-off-by: Denis Kirjanov
---
net/ipv4/tcp_input.c | 14 +++---
1 file changed, 11 insertions(+), 3 delet
CWR on pure ACKs received.
v2:
- Adjusted the comment
- move CWR check before checking for unacknowledged packets
Signed-off-by: Denis Kirjanov
---
net/ipv4/tcp_input.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
in
On 6/23/20, Neal Cardwell wrote:
> On Tue, Jun 23, 2020 at 10:54 AM Denis Kirjanov
> wrote:
>>
>> there is a problem with the CWR flag set in an incoming ACK segment
>> and it leads to the situation when the ECE flag is latched forever
>>
>> the following p
will still keep ECE latched here, with packetdrill
// flagging a missing ECE flag, expecting
// >[ect0] PE. 2001:3001(1000) ack 14001
// in the script
In the situation above we will continue to send ECN ECHO packets
and trigger the peer to reduce the congestion window.
Signed-off-by: Denis Kirja
On 6/22/20, Jesper Dangaard Brouer wrote:
> On Mon, 22 Jun 2020 15:45:46 +0300
> Denis Kirjanov wrote:
>
>> On 6/22/20, Jesper Dangaard Brouer wrote:
>> >
>> > On Mon, 22 Jun 2020 12:21:11 +0300 Denis Kirjanov
>> >
>> > wrote:
>> >
On 6/22/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 22 June 2020 10:21
>> To: netdev@vger.kernel.org
>> Cc: bro...@redhat.com; jgr...@suse.com; wei@kernel.org; p...@xen.org;
>> ilias.apalodi...@linaro.org
>
On 6/22/20, Jesper Dangaard Brouer wrote:
>
> On Mon, 22 Jun 2020 12:21:11 +0300 Denis Kirjanov
> wrote:
>
>> diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
>> index 482c6c8..1b9f49e 100644
>> --- a/drivers/net/xen-netfront.c
>&
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
ith xdping echoserver)
- added XDP_REDIRECT support (tested with modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Denis Kirjanov (3):
xen: netif.h: add a new extra type for XDP
xen netwo
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h| 4
drivers/net/xen-netback/interface.c | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers
The patch adds a new extra type to be able to diffirentiate
between RX responses on xen-netfront side with the adjusted offset
required for XDP processing.
The offset value from a guest is passed via xenstore.
Signed-off-by: Denis Kirjanov
---
include/xen/interface/io/netif.h | 18
On 5/12/20, Jürgen Groß wrote:
> On 12.05.20 14:27, Denis Kirjanov wrote:
>> On 5/12/20, Jürgen Groß wrote:
>>> On 11.05.20 19:27, Denis Kirjanov wrote:
>>>> On 5/11/20, Jürgen Groß wrote:
>>>>> On 11.05.20 12:22, Denis Kirjanov wrote:
>&g
On 5/12/20, Jürgen Groß wrote:
> On 11.05.20 19:27, Denis Kirjanov wrote:
>> On 5/11/20, Jürgen Groß wrote:
>>> On 11.05.20 12:22, Denis Kirjanov wrote:
>>>> The patch adds a basic XDP processing to xen-netfront driver.
>>>>
>>>> We ran a
On 5/12/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 11 May 2020 18:22
>> To: p...@xen.org
>> Cc: netdev@vger.kernel.org; bro...@redhat.com; jgr...@suse.com;
>> wei@kernel.org;
>> ilias.apalodi...@linaro.
On 5/11/20, Jürgen Groß wrote:
> On 11.05.20 12:22, Denis Kirjanov wrote:
>> The patch adds a basic XDP processing to xen-netfront driver.
>>
>> We ran an XDP program for an RX response received from netback
>> driver. Also we request xen-netback to adjust data offset
On 5/11/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 11 May 2020 13:12
>> To: p...@xen.org
>> Cc: netdev@vger.kernel.org; bro...@redhat.com; jgr...@suse.com;
>> wei@kernel.org;
>> ilias.apalodi...@linaro.
On 5/11/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 11 May 2020 11:22
>> To: netdev@vger.kernel.org
>> Cc: bro...@redhat.com; jgr...@suse.com; wei@kernel.org; p...@xen.org;
>> ilias.apalodi...@linaro.org
>
ded XDP_TX support (tested with xdping echoserver)
- added XDP_REDIRECT support (tested with modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Denis Kirjanov (2):
xen networking: add
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers/net/xen-netback/rx.c | 7 ++-
drivers/net
done
by using xenbus state switching:
Reconfiguring -> Reconfigured- > Connected
UDP packets drop rate using xdp program is around 310 kpps
using ./pktgen_sample04_many_flows.sh and 160 kpps without the patch.
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig| 1 +
drivers/n
On 5/9/20, Jakub Kicinski wrote:
> On Thu, 7 May 2020 15:40:39 +0300 Denis Kirjanov wrote:
>> The patch adds a basic XDP processing to xen-netfront driver.
>>
>> We ran an XDP program for an RX response received from netback
>> driver. Also we request xen-netbac
d XDP_TX support (tested with xdping echoserver)
- added XDP_REDIRECT support (tested with modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Signed-off-by: Denis Kirjanov
---
drivers/ne
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers/net/xen-netback/rx.c | 7 ++-
drivers/net
xen-netfront uses page pool API so select it in Kconfig
Signed-off-by: Denis Kirjanov
---
drivers/net/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 25a8f93..45918ce 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -479,6
On 5/7/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 06 May 2020 18:45
>> To: p...@xen.org
>> Cc: netdev@vger.kernel.org; jgr...@suse.com; wei@kernel.org;
>> ilias.apalodi...@linaro.org
>> Subject: Re: [PATC
On 5/5/20, Paul Durrant wrote:
>> -Original Message-
>> >> @@ -417,6 +431,11 @@ static void frontend_changed(struct xenbus_device
>> >> *dev,
>> >> set_backend_state(be, XenbusStateConnected);
>> >> break;
>> >>
>> >> + case XenbusStateReconfiguring:
>> >> + rea
On 5/5/20, Paul Durrant wrote:
>> -Original Message-
>> From: Denis Kirjanov
>> Sent: 04 May 2020 09:38
>> To: netdev@vger.kernel.org
>> Cc: jgr...@suse.com; wei@kernel.org; p...@xen.org;
>> ilias.apalodi...@linaro.org
>> Subject: [PATC
e passing to XDP
- tell xen-netback that we need the headroom space
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netfront.c | 300 -
1 file changed, 296 insertions(+), 4 deletions(-)
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers/net/xen-netback/rx.c | 7 ++-
drivers/net
the patch basically adds the offset adjustment and netfront
state reading to make XDP work on netfront side.
Signed-off-by: Denis Kirjanov
---
drivers/net/xen-netback/common.h | 2 ++
drivers/net/xen-netback/netback.c | 7 +++
drivers/net/xen-netback/rx.c | 7 ++-
drivers/net
d XDP_TX support (tested with xdping echoserver)
- added XDP_REDIRECT support (tested with modified xdp_redirect_kern)
- moved xdp negotiation to xen-netback
v2:
- avoid data copying while passing to XDP
- tell xen-netback that we need the headroom space
Signed-off-by: Denis Kirjanov
---
drivers/ne
be_process_mcc() is invoked in 3 different places and
always with BHs disabled except the be_poll function
but since it's invoked from softirq with BHs
disabled it won't hurt.
v1->v2: added explanation to the patch
v2->v3: add a missing call from be_cmds.c
Signed-off-by
be_process_mcc() is invoked in 3 different places and
always with BHs disabled except the be_poll function
but since it's invoked from softirq with BHs
disabled it won't hurt.
v1->v2: added explanation to the patch
Signed-off-by: Denis Kirjanov
---
drivers/net/ethernet/emulex/be
On 7/30/19, Willem de Bruijn wrote:
> On Tue, Jul 30, 2019 at 7:33 AM Denis Kirjanov
> wrote:
>>
>> Signed-off-by: Denis Kirjanov
>
> This is a partial revert of the previous change to these lines in 2012
> in commit 072a9c486004 ("netpoll: revert 6bdb7fe
On 7/30/19, David Miller wrote:
> From: Denis Kirjanov
> Date: Tue, 30 Jul 2019 15:13:57 +0200
>
>> get_registers() may fail with -ENOMEM and in this
>> case we can read a garbage from the status variable tmp.
>>
>> Reported-by: syzbot+3499a83b2d062ae40...@syzkal
get_registers() may fail with -ENOMEM and in this
case we can read a garbage from the status variable tmp.
Reported-by: syzbot+3499a83b2d062ae40...@syzkaller.appspotmail.com
Signed-off-by: Denis Kirjanov
---
drivers/net/usb/pegasus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
get_registers() may fail with -ENOMEM and in this
case we can read a garbage from the status variable tmp.
Reported-by: syzbot+3499a83b2d062ae40...@syzkaller.appspotmail.com
Signed-off-by: Denis Kirjanov
---
drivers/net/usb/pegasus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Signed-off-by: Denis Kirjanov
---
drivers/net/ethernet/emulex/benet/be_cmds.c | 4 ++--
drivers/net/ethernet/emulex/benet/be_main.c | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c
b/drivers/net/ethernet/emulex/benet/be_cmds.c
On 7/9/19, David Miller wrote:
> From: Denis Kirjanov
> Date: Tue, 9 Jul 2019 13:42:51 +0200
>
>> @@ -962,7 +962,8 @@ static void vhost_del_umem_range(struct vhost_umem
>> *umem,
>>
>> while ((node = vhost_umem_interval
0f 85 3c 0b 00 00 49 8b 6e 60 48 85 ed 0f
> 84 1c 0b 00 00 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80>
> 3c 02 00 0f 85 f4 0a 00 00 4c 8b 7d 00 4d 85 ff 0f 84 e7 06
> RIP: vhost_chr_write_iter+0x525/0x1330 [vhost] RSP: 88004a827a38
> ---[ end trace 49849730b5255f76 ]---
state disable, trust off, query_rss off
v1->v2: updated kernel headers to uapi commit
v2->v3: fixed alignment
v3->v4: aligned print statements as used through the source
Signed-off-by: Denis Kirjanov
---
ip/ipaddress.c | 40 +++-
1 file changed, 35 in
update if_link.h to commit 75345f888f700c4ab2448287e35d48c760b202e6
("ipoib: show VF broadcast address")
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_li
On 6/24/19, David Ahern wrote:
> On 6/22/19 12:00 PM, Denis Kirjanov wrote:
>> @@ -365,13 +367,45 @@ static void print_vfinfo(FILE *fp, struct rtattr
>> *vfinfo)
>> parse_rtattr_nested(vf, IFLA_VF_MAX, vfinfo);
>>
>> vf_mac = RTA_DATA(vf[IFLA_VF_MAC]);
&
update if_link.h to commit 75345f888f700c4ab2448287e35d48c760b202e6
("ipoib: show VF broadcast address")
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_li
state disable, trust off, query_rss off
v1->v2: updated kernel headers to uapi commit
v2->v3: fixed alignment
Signed-off-by: Denis Kirjanov
---
ip/ipaddress.c | 44 +++-
1 file changed, 39 insertions(+), 5 deletions(-)
diff --git a/ip/ipaddress.c b/ip/
On 6/20/19, Denis Kirjanov wrote:
> Current code assumes that we print Etheret mac and
> that doesn't work in IPoIB case with SRIOV-enabled hardware
>
> Before:
> 11: ib1: mtu 2044 qdisc pfifo_fast
> state UP mode DEFAULT group default qlen 256
> link/infiniband
update if_link.h to commit 75345f888f700c4ab2448287e35d48c760b202e6
("ipoib: show VF broadcast address")
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_li
sable, trust off, query_rss off
v1->v2: updated kernel headers to uapi commit
Signed-off-by: Denis Kirjanov
---
ip/ipaddress.c | 42 +-
1 file changed, 37 insertions(+), 5 deletions(-)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index b504200b..13ad76d
sable, trust off, query_rss off
v1->v2: updated kernel headers to uapi commit
Signed-off-by: Denis Kirjanov
---
ip/ipaddress.c | 42 +-
1 file changed, 37 insertions(+), 5 deletions(-)
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index b504200b..13ad76d
update if_link.h to commit 75345f888f700c4ab2448287e35d48c760b202e6
("ipoib: show VF broadcast address")
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_li
disable, trust off, query_rss off
[0]: https://patchwork.kernel.org/patch/10997111/
v1->v2: just copy an address without modifing ifla_vf_mac
v2->v3: update the changelog
v3->v4: update the changelog: add a link to the patch for iproute2
Signed-off-by: Denis Kirjanov
---
drivers/infin
, query_rss off
v1->v2: just copy an address without modifing ifla_vf_mac
v2->v3: update the changelog
Signed-off-by: Denis Kirjanov
---
drivers/infiniband/ulp/ipoib/ipoib_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c
b/drivers/infiniba
ROADCAST constant
v2->v3: put IFLA_VF_BROADCAST at the end
to avoid KABI breakage and set NLA_REJECT
dev_setlink
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
net/core/rtnetlink.c | 5 +
2 files changed, 10 insertions(+)
diff --git a/include/uapi/linux/
https://patchwork.kernel.org/patch/10997111
v1->v2: add the IFLA_VF_BROADCAST constant
v2->v3: put IFLA_VF_BROADCAST at the end
to avoid KABI breakage and set NLA_REJECT
dev_setlink
v3->v4: update the changelog: add a link to the patch for iproute2
Signed-off-by: Denis Kirjanov
---
incl
s off
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_infiniband.h | 29 +++
include/uapi/linux/if_link.h | 5 +
include/uapi/linux/netdevice.h | 2 +-
ip/ipaddress.c | 41 +-
4 files change
s off
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_infiniband.h | 29 +++
include/uapi/linux/if_link.h | 5 +
include/uapi/linux/netdevice.h | 2 +-
ip/ipaddress.c | 41 +-
4 files change
On 6/14/19, Doug Ledford wrote:
> On Fri, 2019-06-14 at 15:32 +0200, Denis Kirjanov wrote:
>> in IPoIB case we can't see a VF broadcast address for but
>> can see for PF
>>
>> Before:
>> 11: ib1: mtu 2044 qdisc pfifo_fast
>> state UP mode DEFAULT g
On 6/13/19, Michal Kubecek wrote:
> On Thu, Jun 13, 2019 at 04:20:03PM +0200, Denis Kirjanov wrote:
>> in IPoIB case we can't see a VF broadcast address for but
>> can see for PF
>>
>> Before:
>> 11: ib1: mtu 2044 qdisc pfifo_fast
>> state UP mod
ROADCAST constant
v2->v3: put IFLA_VF_BROADCAST at the end
to avoid KABI breakage and set NLA_REJECT
dev_setlink
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
net/core/rtnetlink.c | 5 +
2 files changed, 10 insertions(+)
diff --git a/include/uapi/linux/
, query_rss off
v1->v2: just copy an address without modifing ifla_vf_mac
v2->v3: update the changelog
Signed-off-by: Denis Kirjanov
---
drivers/infiniband/ulp/ipoib/ipoib_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c
b/drivers/infiniba
, query_rss off
v1->v2: just copy an address without modifing ifla_vf_mac
v2->v3: update the changelog
Signed-off-by: Denis Kirjanov
---
drivers/infiniband/ulp/ipoib/ipoib_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c
b/drivers/infiniba
ROADCAST constant
v2->v3: put IFLA_VF_BROADCAST at the end
to avoid KABI breakage and set NLA_REJECT
dev_setlink
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
net/core/rtnetlink.c | 5 +
2 files changed, 10 insertions(+)
diff --git a/include/uapi/linux/
ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
vf 0 link/infiniband
80:00:00:66:fe:80:00:00:00:00:00:00:24:8a:07:03:00:a4:3e:7c brd
00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff, spoof
checking off, link-state disable, trust off, query_rss off
Signed-off-by: Denis Kir
:00:00:00:ff:ff:ff:ff, spoof
checking off, link-state disable, trust off, query_rss off
v1->v2: just copy an address without modifing ifla_vf_mac
Signed-off-by: Denis Kirjanov
---
drivers/infiniband/ulp/ipoib/ipoib_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/infiniband/
ROADCAST constant
Signed-off-by: Denis Kirjanov
---
include/uapi/linux/if_link.h | 5 +
net/core/rtnetlink.c | 6 ++
2 files changed, 11 insertions(+)
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 5b225ff63b48..1f36dd3a45d6 100644
--- a/include/ua
1 - 100 of 121 matches
Mail list logo