~kamalmostafa/ubuntu/+source/linux/+git/xenial:master-next

Last commit made on 2019-11-13
Get this branch:
git clone -b master-next https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/xenial
Only Kamal Mostafa can upload to this branch. If you are Kamal Mostafa please log in for upload directions.

Branch merges

Branch information

Recent commits

6a34339... by Connor Kuehl

UBUNTU: Ubuntu-4.4.0-170.199

Signed-off-by: Connor Kuehl <email address hidden>

a2fcf27... by Connor Kuehl

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1852306
Properties: no-test-build
Signed-off-by: Connor Kuehl <email address hidden>

41cf8d1... by Connor Kuehl

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Connor Kuehl <email address hidden>

bee8445... by Colin Ian King

net: ena: clean up indentation issue

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

There memset is indented incorrectly, remove the extraneous tabs.

Signed-off-by: Colin Ian King <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 4208966f65f520d7f392dbaa62e39a8fa88ffb95)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

751defb... by Sameeh Jubran

net: ena: don't wake up tx queue when down

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

There is a race condition that can occur when calling ena_down().
The ena_clean_tx_irq() - which is a part of the napi handler -
function might wake up the tx queue when the queue is supposed
to be down (during recovery or changing the size of the queues
for example) This causes the ena_start_xmit() function to trigger
and possibly try to access the destroyed queues.

The race is illustrated below:

Flow A: Flow B(napi handler)
ena_down()
   netif_carrier_off()
   netif_tx_disable()
                                                      ena_clean_tx_irq()
                                                         netif_tx_wake_queue()
   ena_napi_disable_all()
   ena_destroy_all_io_queues()

After these flows the tx queue is active and ena_start_xmit() accesses
the destroyed queue which leads to a kernel panic.

fixes: 1738cd3ed342 (net: ena: Add a driver for Amazon Elastic Network Adapters (ENA))

Signed-off-by: Sameeh Jubran <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit a53651ec93a8d7ab5b26c5390e0c389048b4b4b6)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

f742859... by Jakub Kicinski <email address hidden>

Revert "net: ena: ethtool: add extra properties retrieval via get_priv_flags"

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

This reverts commit 315c28d2b714 ("net: ena: ethtool: add extra properties retrieval via get_priv_flags").

As discussed at netconf and on the mailing list we can't allow
for the the abuse of private flags for exposing arbitrary device
labels.

Signed-off-by: Jakub Kicinski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit eb203bae834efc6aff05da49f61edda0f3bc3e01)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

b8b538e... by Sameeh Jubran

net: ena: Fix bug where ring allocation backoff stopped too late

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

The current code of create_queues_with_size_backoff() allows the ring size
to become as small as ENA_MIN_RING_SIZE/2. This is a bug since we don't
want the queue ring to be smaller than ENA_MIN_RING_SIZE

In this commit we change the loop's termination condition to look at the
queue size of the next iteration instead of that of the current one,
so that the minimal queue size again becomes ENA_MIN_RING_SIZE.

Fixes: eece4d2ab9d2 ("net: ena: add ethtool function for changing io queue sizes")

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: Sameeh Jubran <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 3e5bfb189e1a65df132fd0e3fa00fbb6feec1431)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

40e6fa7... by Sameeh Jubran

net: ena: update driver version from 2.0.3 to 2.1.0

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

Update driver version to match device specification.

Signed-off-by: Sameeh Jubran <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit dbbc6e6877768a03092751edf89d012d561b4553)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

f6f7a72... by Sameeh Jubran

net: ena: remove inline keyword from functions in *.c

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

Let the compiler decide if the function should be inline in *.c files

Signed-off-by: Sameeh Jubran <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit c2b542044761965db0e4cc400ab6abf670fc25b7)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

78c2b12... by Sameeh Jubran

net: ena: add ethtool function for changing io queue sizes

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

Implement the set_ringparam() function of the ethtool interface
to enable the changing of io queue sizes.

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: Sameeh Jubran <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit eece4d2ab9d214e3b12f5ac1ed189a05793b28a5)
Signed-off-by: Kamal Mostafa <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Khaled Elmously <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>