~cypressyew/+git/MPLS-ubuntu-disco:master-next

Last commit made on 2020-04-06
Get this branch:
git clone -b master-next https://git.launchpad.net/~cypressyew/+git/MPLS-ubuntu-disco
Only Po-Hsu Lin can upload to this branch. If you are Po-Hsu Lin please log in for upload directions.

Branch merges

Branch information

Name:
master-next
Repository:
lp:~cypressyew/+git/MPLS-ubuntu-disco

Recent commits

14adfb0... by Ariel

net/mlx5e: Move to HW checksumming advertising

This patch changes the way the driver advertises its checksum offload
capabilities within the net device features bit mask.

Instead of advertising protocol specific checksumming capabilities
which are limited today to IPv4 and IPv6, we move to reporing
generic HW checksumming capabilities.

This will allow the network stack to let mlx5 device offload checksum
for cases where the IP header is encapsulated within another protocol
and the skb->protocol doesn't indicate one of the IP versions protocol,
specifically in the case of MPLS label encapsulating the IP header and
the skb->protocol indiciates MPLS ethertype rather than IP.

Moving the HW_CSUM reporting is required in the basic net device hw
features mask and also in the extensions (vlan and encpasulation
features) since the extensions are always multiplied by the basic
features set during the packet's traversal through the stack's tx flow.

Signed-off-by: Ariel Levkovich <email address hidden>
Signed-off-by: Saeed Mahameed <email address hidden>
(backported from commit e4683f35f8e5ef43fb75e306113814a563ed1f18)
[PHLin: context adjustment]
Signed-off-by: Po-Hsu Lin <email address hidden>

4b56970... by Ariel

net: bonding: Inherit MPLS features from slave devices

BugLink: https://bugs.launchpad.net/bugs/1851446

When setting the bonding interface net device features,
the kernel code doesn't address the slaves' MPLS features
and doesn't inherit them.

Therefore, HW offloads that enhance performance such as
checksumming and TSO are disabled for MPLS tagged traffic
flowing via the bonding interface.

The patch add the inheritance of the MPLS features from the
slave devices with a similar logic to setting the bonding device's
VLAN and encapsulation features.

CC: Jay Vosburgh <email address hidden>
CC: Veaceslav Falico <email address hidden>
CC: Andy Gospodarek <email address hidden>
Signed-off-by: Ariel Levkovich <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(Backported from commit 2e770b507ccde8eedc129946e4b78ceed0a22df2)
[PHLin: fuzzy adjustment]
Signed-off-by: Po-Hsu Lin <email address hidden>

6615ddd... by Ariel

net: vlan: Inherit MPLS features from parent device

BugLink: https://bugs.launchpad.net/bugs/1851446

During the creation of the VLAN interface net device,
the various device features and offloads are being set based
on the parent device's features.
The code initiates the basic, vlan and encapsulation features
but doesn't address the MPLS features set and they remain blank.
As a result, all device offloads that have significant performance
effect are disabled for MPLS traffic going via this VLAN device such
as checksumming and TSO.

This patch makes sure that MPLS features are also set for the
VLAN device based on the parent which will allow HW offloads of
checksumming and TSO to be performed on MPLS tagged packets.

Signed-off-by: Ariel Levkovich <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 8b6912a5019356d7adb1b8a146c9eef5e679bf98)
Signed-off-by: Po-Hsu Lin <email address hidden>

90db109... by Ariel

net/mlx5e: Report netdevice MPLS features

BugLink: https://bugs.launchpad.net/bugs/1851446

Set supported device features in the netdevice MPLS features mask.
This will enable HW checksumming and TSO for MPLS tagged traffic.

Signed-off-by: Ariel Levkovich <email address hidden>
Signed-off-by: Saeed Mahameed <email address hidden>
(cherry picked from commit 5dc9520bf04a6b95660a307d7654460d1463d91a)
Signed-off-by: Po-Hsu Lin <email address hidden>

af975b3... by Marcelo Cerri

UBUNTU: Ubuntu-5.0.0-41.45

Signed-off-by: Marcelo Henrique Cerri <email address hidden>

d2f91c9... by Marcelo Cerri

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1861192
Properties: no-test-build
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

ff3333d... by Khaled El Mously

Enforce policy for CONFIG_IOMMU_DEBUGFS

BugLink: https://bugs.launchpad.net/bugs/1861057

Ignore: yes
Signed-off-by: Khalid Elmously <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Marcelo Henrique Cerri <email address hidden>
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

336ef3b... by Paolo Pisati

UBUNTU: [Config] CRYPTO_DEV_QAT_C3XXX=m, CRYPTO_DEV_QAT_C62X=m and CRYPTO_DEV_QAT_DH895xCC=m

BugLink: https://bugs.launchpad.net/bugs/1845959

Signed-off-by: Paolo Pisati <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Seth Forshee <email address hidden>
(<email address hidden>: fixed context in the annotations file)
Signed-off-by: Marcelo Henrique Cerri <email address hidden>

370f4d3... by Yufen Yu <email address hidden>

md: make sure desc_nr less than MD_SB_DISKS

BugLink: https://bugs.launchpad.net/bugs/1860699

[ Upstream commit 3b7436cc9449d5ff7fa1c1fd5bc3edb6402ff5b8 ]

For super_90_load, we need to make sure 'desc_nr' less
than MD_SB_DISKS, avoiding invalid memory access of 'sb->disks'.

Fixes: 228fc7d76db6 ("md: avoid invalid memory access for array sb->dev_roles")
Signed-off-by: Yufen Yu <email address hidden>
Signed-off-by: Song Liu <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

ccb8635... by Yufen Yu <email address hidden>

md: avoid invalid memory access for array sb->dev_roles

BugLink: https://bugs.launchpad.net/bugs/1860014

[ Upstream commit 228fc7d76db68732677230a3c64337908fd298e3 ]

we need to gurantee 'desc_nr' valid before access array
of sb->dev_roles.

In addition, we should avoid .load_super always return '0'
when level is LEVEL_MULTIPATH, which is not expected.

Reported-by: coverity-bot <email address hidden>
Addresses-Coverity-ID: 1487373 ("Memory - illegal accesses")
Fixes: 6a5cb53aaa4e ("md: no longer compare spare disk superblock events in super_load")
Signed-off-by: Yufen Yu <email address hidden>
Signed-off-by: Song Liu <email address hidden>
Signed-off-by: Sasha Levin <email address hidden>
Signed-off-by: Kamal Mostafa <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>