Since we now have support for software CRC32c offload, turn it on
for macvlan and macvtap devices so that guests can take advantage
of offload SCTP checksums to the host or host hardware.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 5 +++--
drive
kernel.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/net/sctp/sctp.h | 5 -
net/Kconfig | 1 +
net/sctp/Kconfig| 1 -
net/sctp/Makefile | 3 ++-
net/sctp/offload.c | 4 +++-
net/sctp/protocol.c | 3 ---
6 files changed, 6 insertions(
eal with it.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 14 +-
include/linux/virtio_net.h | 6 ++
include/uapi/linux/virtio_net.h | 5 +
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/drivers/net/virti
Adds a new tun offload flag to allow for SCTP checksum offload.
The flag has to be set by the user and defaults to "no offload".
Add SCTP checksum support to the supported tun features.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/tun.c | 7
to high bits
- distinguish between GUEST and HOST features
- Fixed offload control command to control sctp checksum offload
- added ipvlan support
Vladislav Yasevich (6):
virtio: Add support for SCTP checksum offloading
sctp: Handle sctp packets with CHECKSUM_PARTIAL
sctp: Build
an SCTP packet
with CHECKSUM_PARTIAL will have checksum set to 0. Let SCTP
treat this as a valid checksum if CHECKSUM_PARTIAL is set.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/sctp/input.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ne
Since ipvlan is a software device, we can turn on SCTP checksum
offload and let the checksum be computed at the lower layer.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/ipvlan/ipvlan_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/d
will know to perform an alternate checksum
calculation, which right now is only CRC32c.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 11 ---
include/linux/virtio_net.h | 6 ++
include/uapi/linux/virtio_net.h | 2 ++
3 files c
Since we now have support for software CRC32c offload, turn it on
for macvlan and macvtap devices so that guests can take advantage
of offload SCTP checksums to the host or host hardware.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 5 +++--
d
Adds a new tun offload flag to allow for SCTP checksum offload.
The flag has to be set by the user and defaults to "no offload".
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/tun.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/tun
an SCTP packet
with CHECKSUM_PARTIAL will have checksum set to 0. Let SCTP
treat this as a valid checksum if CHECKSUM_PARTIAL is set.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/sctp/input.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ne
ort to virtio. To add true GSO, would require a lot of
re-work inside of SCTP and would require extensions to the virtio
net header to carry extra sctp data.
Vladislav Yasevich (5):
virtio: Add support for SCTP checksum offloading
sctp: Handle sctp packets with CHECKSUM_PARTIAL
sctp: Build
We need to take the sctp offload out of the sctp module
and add it to the base kernel to support guests that can
support it. This is similar to how IPv6 offloads are done
and works around kernels that exclude sctp protocol support.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.
Convert the port passthru boolean into flags with accesor functions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 37 -
1 file changed, 24 insertions(+), 13 deletions(-)
diff --git a/drivers/net/macvlan.c b/drive
directly to the lower device mac address will be kept.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 47 ---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/mac
and then removing it,
the mac address of the physical device remains changed.
This patch series attempts to resolve these issues.
V2: Address a small issue in p4 where we save the address from the lowerdev
(from girish.moodalb...@oracle.com)
Thanks
-vlad
Vladislav Yasevich (4):
macvlan: Do
The user currently gets an EBUSY error when attempting to set
the mac address on a macvlan device to the same value.
This should really be a no-op as nothing changes. Catch
the condition and return early.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan
device in case of passthru macvlan device, since
the 2 addresses are _supposed_ to be the same.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/mac
device in case of passthru macvlan device, since
the 2 addresses are _supposed_ to be the same.
Fixes: e289fd281 (macvlan: fix the problem when mac address changes for
passthru mode)
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 3 ++-
1 file chan
directly to the lower device mac address will be kept.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 47 ---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/drivers/net/macvlan.c b/drivers/net/mac
Convert the port passthru boolean into flags with access functions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 37 -
1 file changed, 24 insertions(+), 13 deletions(-)
diff --git a/drivers/net/macvlan.c b/drive
The user currently gets an EBUSY error when attempting to set
the mac address on a macvlan device to the same value.
This should really be a no-op as nothing changes. Catch
the condition and return early.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan
and then removing it,
the mac address of the physical device remains changed.
This patch series attempts to resolve these issues.
Thanks
-vlad
Vladislav Yasevich (4):
macvlan: Do not return error when setting the same mac address
macvlan: Fix passthru macvlan mac address inheritance
macvlan
Add IFLA_EVENT output so that event types can be viewed with
'monitor' command. This gives a little more information for why
a given message was received.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
v7: change the names to make it more generic then just netdev events.
U
Small clean-up to rtmsg_ifinfo() to use the rtnl_get_event()
interface instead of using 'internal' values directly.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/core/rtnetlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/rtnetlink.c b/ne
happend for these events.
This patch adds a new extension to RTM_NEWLINK message called IFLA_EVENT
that would have an encoding of event that triggered this
message. This would allow the the message consumer to easily determine
if it needs to perform certain actions.
Signed-off-by: Vladislav Yasevich
Add IFLA_EVENT handling so that event types can be viewed with
'monitor' command. This gives a little more information for why
a given message was receivied.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/if_link.h | 11 +++
ip/ipaddress.c
event and uses that function in the syfs and ioctl
cases.
This was discovered while auditing all the different envents and
continues the effort of cleaning up duplicated netlink messages.
CC: David Ahern <d...@cumulusnetworks.com>
CC: Jiri Pirko <j...@resnulli.us>
Signed-off-b
missed events (from David Ahern)
Vladislav Yasevich (2):
rtnl: Add support for netdev event to link messages
bonding: Prevent duplicate userspace notification
drivers/net/bonding/bond_main.c| 3 +-
drivers/net/bonding/bond_options.c | 27 ++--
include/linux/rtnetlink.h
.
V3: Rebased. Cleaned-up duplicate event.
V2: Added missed events (from David Ahern)
Vladislav Yasevich (2):
rtnl: Add support for netdev event to link messages
bonding: Prevent duplicate userspace notification
drivers/net/bonding/bond_main.c| 3 +-
drivers/net/bonding/bond_options.c
event and uses that function in the syfs and ioctl
cases.
This was discovered while auditing all the different envents and
continues the effort of cleaning up duplicated netlink messages.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/bonding/bond_main.c
Add IFLA_EVENT handling so that event types can be viewed with
'monitor' command. This gives a little more information for why
a given message was receivied.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/if_link.h | 11 +++
ip/ipaddress.c
happend for these events.
This patch adds a new extension to RTM_NEWLINK message called IFLA_EVENT
that would have an encoding of event that triggered this
message. This would allow the the message consumer to easily determine
if it needs to perform certain actions.
Signed-off-by: Vladislav Yasevich
traffic.
CC: Sathya Perla <sathya.pe...@broadcom.com>
CC: Ajit Khaparde <ajit.khapa...@broadcom.com>
CC: Sriharsha Basavapatna <sriharsha.basavapa...@broadcom.com>
CC: Somnath Kotur <somnath.ko...@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
--
com>
Acked-by: Michael S. Tsirkin <m...@redhat.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 665627c..ead7a58 100644
--- a/driver
g. If any drivers are found to be broken, they would need
be fixed individually.
Vladislav Yasevich (3):
vlan: Fix tcp checksum offloads in Q-in-Q vlans
be2net: Fix offload features for Q-in-Q packets
virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
drivers/net/ethernet/emulex/benet
rbitrarily long headers can be checksummed.
This patch disables IP|IPV6 checksums on the packet for multi-tagged
packets.
CC: Toshiaki Makita <makita.toshi...@lab.ntt.co.jp>
CC: Michal Kubecek <mkube...@suse.cz>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
com>
Acked-by: Michael S. Tsirkin <m...@redhat.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 665627c..ead7a58 100644
--- a/driver
traffic.
CC: Sathya Perla <sathya.pe...@broadcom.com>
CC: Ajit Khaparde <ajit.khapa...@broadcom.com
CC: Sriharsha Basavapatna <sriharsha.basavapa...@broadcom.com>
CC: Somnath Kotur <somnath.ko...@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
be broken, they would need
be fixed individually.
Vladislav Yasevich (3):
vlan: Fix tcp checksum offloads in Q-in-Q vlans
be2net: Fix offload features for Q-in-Q packets
virtio-net: enable TSO/checksum offloads for Q-in-Q vlans
drivers/net/ethernet/emulex/benet/be_main.c | 4 +++-
d
arily long headers can be checksummed.
This patch disables IP|IPV6 checksums on the packet for multi-tagged
packets.
CC: Toshiaki Makita <makita.toshi...@lab.ntt.co.jp>
CC: Michal Kubecek <mkube...@suse.cz>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
..@redhat.com>
CC: Jason Wang <jasow...@redhat.com>
CC: virtualizat...@lists.linux-foundation.org
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_
by default when sending Q-in-Q traffic. Devices that are proven to
work can provided a corrected ndo_features_check implemetation.
Fixes: 8cb65d000 ("net: Move check for multiple vlans to drivers")
CC: Toshiaki Makita <makita.toshi...@lab.ntt.co.jp>
Signed-off-by: Vladislav
traffic.
CC: Sathya Perla <sathya.pe...@broadcom.com>
CC: Ajit Khaparde <ajit.khapa...@broadcom.com
CC: Sriharsha Basavapatna <sriharsha.basavapa...@broadcom.com>
CC: Somnath Kotur <somnath.ko...@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
ackets sent through Q-in-Q vlans. It is up to individual
drivers to enable it properly through ndo_features_check if they
have some support for Q-in-Q vlans.
Vladislav Yasevich (3):
vlan: Fix Q-in-Q vlan support.
be2net: Fix offload features for Q-in-Q packets
virtio-net: enable TSO/ch
overlow the macvtap queue.
This patch adds the always on offloads to vlan_features. This
makes sure that any vlan tagged traffic between 2 guest will not
be segmented needlessly.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.c | 7 +--
1 file chan
messages on bonding option changes.
V3: Rebased. Cleaned-up duplicate event.
V2: Added missed events (from David Ahern)
Vladislav Yasevich (2):
rtnl: Add support for netdev event to link messages
bonding: Prevent duplicate userspace notification
drivers/net/bonding/bond_main.c| 3
event and uses that function in the syfs and ioctl
cases.
This was discovered while auditing all the different envents and
continues the effort of cleaning up duplicated netlink messages.
CC: David Ahern <d...@cumulusnetworks.com>
CC: Jiri Pirko <j...@resnulli.us>
Signed-off-b
happend for these events.
This patch adds a new extension to RTM_NEWLINK message called IFLA_EVENT
that would have an encoding of event that triggered this
message. This would allow the the message consumer to easily determine
if it needs to perform certain actions.
Signed-off-by: Vladislav Yasevich
on the vlan device while being disabled on the HW.
However, the GSO code will correctly process the packets. This
actually results in slightly better raw throughput.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
V2: posted the right patch.
net/8021q/vlan_dev.c | 13 ++---
on the vlan device while being disabled on the HW.
However, the GSO code will correctly process the packets. This
actually results in slightly better raw throughput.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/8021q/vlan_dev.c | 10 --
1 file changed, 8 insertions
happend for these events.
This patch adds a new extension to RTM_NEWLINK message called IFLA_EVENT
that would have an encoding of event that triggered this
message. This would allow the the message consumer to easily determine
if it needs to perform certain actions.
Signed-off-by: Vladislav Yasevich
+++
4 files changed, 123 insertions(+), 24 deletions(-)
--
2.7.4
Vladislav Yasevich (2):
rtnetlink: Disable notification for NETDEV_NAMECHANGE event
rtnl: Add support for netdev event to link messages
include/linux/rtnetlink.h| 3 ++-
include/uapi/linux/if_link.h | 11
On Fri, Apr 21, 2017 at 1:33 AM, Michal Kubecek wrote:
> On Thu, Apr 20, 2017 at 07:19:55PM -0400, Vlad Yasevich wrote:
>>
>> Having said that, the other alternative is to inherit hw_features from
>> lower devices. BTW, bonding I think has a similar "issue" you are
>>
The data signaling name change is already provided at
the end of do_setlink(). This event handler just generates
a duplicate announcement. Disable it.
CC: David Ahern <d...@cumulusnetworks.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/core/rtnetlink.c |
Kubecek <mkube...@suse.cz>
CC: Alexander Duyck <alexander.du...@gmail.com>
CC: Tom Herbert <t...@herbertland.com>
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
V2: Addressed comments from Alex Duyck. I tested this with hacked virtio
device that set IP|IPV6
offloading
features on the software device.
This patch resolves that by prefering the NETIF_F_HW_CSUM setting
when computing a feature intersect.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/netdevice.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
We can replace the structure with a properly aligned size instead.
The current structure attempts to align on a 16 byte boundary, so
preserve it.
Signed-off-by: Vlad Yaseivch
---
drivers/net/virtio_net.c | 22 --
1 file changed, 12 insertions(+), 10
to predict.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 27 +--
include/linux/virtio_net.h | 20
include/uapi/linux/virtio_net.h | 7 +++
3 files changed, 52 insertions(+), 2 deletions(-)
This is the basic sceleton which will be fleshed out by individiual
extensions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 21 +
include/linux/virtio_net.h | 12
include/uapi/linux/virtio_net.
will enabled HW accelerated vlan features.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 17 -
include/linux/virtio_net.h | 17 +
include/uapi/linux/virtio_net.h | 7 +++
3 files changed, 40 insertions
This patch provides the ablility to negotiate UDP tunnel offload features
in the virtio devices as well as the necesary extension to pass additional
information to the host. This work is based on earlier work by Jarno
Rajahalme
Consistently use hdr_len stored in virtnet_info
structure instead of direclty using specific sizes.
This will be required as the size of the virtio net
header grows due to future extensions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c | 8
e checksum.
This series only takes care of virtio net. I have addition patches for the
host side (vhost and tap/macvtap as well as qemu), but wanted to get feedback
on the general approach first.
Vladislav Yasevich (6):
virtio-net: Remove the use the padded vnet_header structure
virtio-net: make hea
Add IFLA_EVENT handling so that event types can be viewed with
'monitor' command. This gives a little more information for why
a given message was receivied.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/if_link.h | 21 +
ip/ipadd
if it is interested in a particular event or not.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
V2: Added support for 2 missed event types.
include/linux/rtnetlink.h| 3 +-
include/uapi/linux/if_link.h | 21 ++
net/core/dev.c | 2 +-
net/core/rtnet
monitor'.
I actually need the ability to trap NETDEV_NOTIFY_PEERS event
(as well as possible NETDEV_RESEND_IGMP) to support hanlding of
macvtap on top of bonding. I hope others will also find this info usefull.
Vladislav Yasevich (2):
rtnetlink: Convert rtnetlink_event to white list
rtnl: Add
would have to be specifically added to the list to
be sent to userspace. This would force new event implementers to
consider whether a given event is usefull to user space or if it's
just a kernel event.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
V2: Added missed events (from
monitor'.
I actually need the ability to trap NETDEV_NOTIFY_PEERS event
(as well as possible NETDEV_RESEND_IGMP) to support hanlding of
macvtap on top of bonding. I hope others will also find this info usefull.
V2: Added missed events (from David Ahern)
Vladislav Yasevich (2):
rtnetlink: Convert
Add IFLA_EVENT handling so that event types can be viewed with
'moniotr' command. This gives a little more information for why
a given message was recevied.
V2: Adds all events recently proposed. This way all currently supported
events can be viewed.
Signed-off-by: Vladislav Yasevich <vy
if it is interested in a particular event or not.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/rtnetlink.h| 3 +-
include/uapi/linux/if_link.h | 19 ++
net/core/dev.c | 2 +-
net/core/rtnetlink.c
monitor'.
I actually need the ability to trap NETDEV_NOTIFY_PEERS event
(as well as possible NETDEV_RESEND_IGMP) to support hanlding of
macvtap on top of bonding. I hope others will also find this info usefull.
Vladislav Yasevich (2):
rtnetlink: Convert rtnetlink_event to white list
rtnl: Add
would have to be specifically added to the list to
be sent to userspace. This would force new event implementers to
consider whether a given event is usefull to user space or if it's
just a kernel event.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/core/rtnetlink.
otification makes the
> intent explicit.
>
> Looking at git commit logs for NETDEV_PRECHANGEMTU, it seems that it was
> added for bonding and teaming to simplify kernel processing; userspace
> does not need to be notified so no intention there.
>
So, something like the patch below would be
This patch adds support for NETDEV_RESEND_IGMP event similar
to how it works for IPv4.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/net/ndisc.h | 2 ++
net/ipv6/af_inet6.c | 8 +++-
net/ipv6/mcast.c| 50 +-
3
Add MTU_CHANGED and NOTIFY_PEER events that can be viewed with
'moniotr' command. This gives a little more information for why
a given notification was recevied. More events can be be added
later.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/if_link.
.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
include/linux/rtnetlink.h| 3 ++-
include/uapi/linux/if_link.h | 7 ++
net/core/dev.c | 2 +-
net/core/rtnetlink.c | 51
4 files changed, 52 insertions(
and possible other
encapsulations.
This series only takes care of virtio net. I have addition patches for the
host side (vhost and tap/macvtap as well as qemu), but wanted to get feedback
on the general approach first.
Vladislav Yasevich (6):
virtio-net: Remove the use the padded vnet_header
to predict.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 27 +--
include/linux/virtio_net.h | 20
include/uapi/linux/virtio_net.h | 7 +++
3 files changed, 52 insertions(+), 2 deletions(-)
We can replace the structure with a properly aligned size instead.
The current structure attempts to align on a 16 byte boundary, so
preserve it.
Signed-off-by: Vlad Yaseivch
---
drivers/net/virtio_net.c | 22 --
1 file changed, 12 insertions(+), 10
will enabled HW accelerated vlan features.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 17 -
include/linux/virtio_net.h | 17 +
include/uapi/linux/virtio_net.h | 7 +++
3 files changed, 40 insertions
This is the basic sceleton which will be fleshed out by individiual
extensions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.c| 21 +
include/linux/virtio_net.h | 12
include/uapi/linux/virtio_net.
This patch provides the ablility to negotiate UDP tunnel offload features
in the virtio devices as well as the necesary extension to pass additional
information to the host. This work is based on earlier work by Jarno
Rajahalme
Consistently use hdr_len stored in virtnet_info
structure instead of direclty using specific sizes.
This will be required as the size of the virtio net
header grows due to future extensions.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/virtio_net.
When we notify peers of potential changes, it's also good to update
IGMP memberships. For example, during VM migration, updating IGMP
memberships will redirect existing multicast streams to the VM at the
new location.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/core
IPv6 will mark data that is smaller that mtu - headersize as
CHECKSUM_PARTIAL, but if the data will completely fill the mtu,
the packet checksum will be computed in software instead.
Extend the conditional to include the data that fills the mtu
as well.
Signed-off-by: Vladislav Yasevich <vy
On Wed, Jan 25, 2017 at 10:34 AM, Xin Long <lucien@gmail.com> wrote:
>
> On Wed, Jan 25, 2017 at 11:27 PM, Vladislav Yasevich
> <vyasev...@gmail.com> wrote:
> > On Tue, Jan 24, 2017 at 1:01 AM, Xin Long <lucien@gmail.com> wrote:
> >>
> >&g
side
is left alone and will prefer skb hash if available.
Macvlan through this all is left with lockless transmit path.
Thanks
-vlad
Vladislav Yasevich (3):
macvtap: mutiple qdiscs support
macvlan: add queue selection functionality
macvtap: Record the rx queue based on the user tap queue
sequence will cause the queue index change and we
account for this by updating real queues.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvtap.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
This patch adds a simple queue selection function to macvlan
layer. In most cases, this will just use the standard fallback
fuction, but when rx-queue has been recoreded we'll try to use
that value.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drivers/net/macvlan.
Now that macvlan has a basic queue selection and macvtap has
multiple qdiscs, we can record the the queue index into the skb
based on the index of the macvtap user queue. This index will
then be used to select the right qdisc.
Signed-off-by: Vlad Yasevich
---
On Fri, Jan 22, 2016 at 3:29 PM, Marcelo Ricardo Leitner
wrote:
> This patch extends commit b93d6471748d ("sctp: implement the sender side
> for SACK-IMMEDIATELY extension") as it didn't white list
> SCTP_SACK_IMMEDIATELY on sctp_msghdr_parse(), causing it to be
>
.
Fixes: a6e18ff1117 (vlan: Fix untag operations of stacked vlans with
REORDER_HEADER off)
CC: Nicolas Dichtel <nicolas.dich...@6wind.com>
CC: Patrick McHardy <ka...@trash.net>
Signed-off-by: Vladislav Yasevich <vyasev...@gmail.com>
---
net/core/skbuff.c | 2 +-
1 file changed,
out as a ETH_HLEN.
The value is also updated when the vlan header manupations occur
so we know it will be correct.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
net/core/skbuff.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/core/skbuff.c b/net/core/skbuf
ike a broader
restriction and _may_ break existing uses.
Thanks
-vlad
Vladislav Yasevich (2):
vlan: Fix untag operations of stacked vlans with REORDER_HEADER off
vlan: Do not put vlan headers back on bridge and macvlan ports
include/linux/netdevice.h | 5 +
net/8021q/vlan_core.c
and at the time of the
forward, vlan headers end up being unexpectedly present.
With the patch, we make sure that we do not put the vlan header
back (when REORDER_HEADER is 0) if a bridge or macvlan has
been configured on top of the vlan device.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.
This reverts commit 34c2d9fb0498c066afbe610b15e18995fd8be792.
There are 2 reasons for this revert:
1) The commit in question doesn't do what it says it does. The
description reads: "Allow bridge forward delay to be configured
when Spanning Tree is enabled." This was already the case
galen kernel: []
system_call_fastpath+0x12/0x76
Jun 23 16:25:26 galen kernel: ---[ end trace 22e33f67e70c0c2a ]---
Make sure thet we call finish_wait() if we have the skb to process
before trying to actually process it.
Signed-off-by: Vladislav Yasevich <vyase...@redhat.com>
---
drive
.
Signed-off-by: Vladislav Yasevich vyasev...@gmail.com
---
net/sctp/sm_sideeffect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c
index fef2acd..1543cf8 100644
--- a/net/sctp/sm_sideeffect.c
+++ b/net/sctp/sm_sideeffect.c
99 matches
Mail list logo