~kamalmostafa/ubuntu/+source/linux/+git/xenial:ena-v201

Last commit made on 2018-10-25
Get this branch:
git clone -b ena-v201 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

4920c17... by Arthur Kiyanovski

net: ena: fix compilation error in xtensa architecture

BugLink: http://bugs.launchpad.net/bugs/1798182

linux/prefetch.h is never explicitly included in ena_com, although
functions from it, such as prefetchw(), are used throughout ena_com.
This is an inclusion bug, and we fix it here by explicitly including
linux/prefetch.h. The bug was exposed when the driver was compiled
for the xtensa architecture.

Fixes: 689b2bdaaa14 ("net: ena: add functions for handling Low Latency Queues in ena_com")
Fixes: 8c590f977638 ("ena: Fix Kconfig dependency on X86")
Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 00f17a8219f02139119d8b4547e032bf4888fa0d net-next)
Signed-off-by: Kamal Mostafa <email address hidden>

32af3b6... by Arthur Kiyanovski

net: ena: enable Low Latency Queues

BugLink: http://bugs.launchpad.net/bugs/1798182

Use the new API to enable usage of LLQ.

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 9fd255928d7ffb56d8466fab3331d0b2f40aa8c7 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

baaf5ee... by Netanel Belgazal <email address hidden>

net: ena: Fix Kconfig dependency on X86

BugLink: http://bugs.launchpad.net/bugs/1798182

The Kconfig limitation of X86 is to too wide.
The ENA driver only requires a little endian dependency.

Change the dependency to be on little endian CPU.

Signed-off-by: Netanel Belgazal <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 8c590f9776386b8f697fd0b7ed6142ae6e3de79e linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

f53ed3c... by Arthur Kiyanovski

net: ena: fix indentations in ena_defs for better readability

BugLink: http://bugs.launchpad.net/bugs/1798182

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit be26667cb3947c90322467f1d15ad86b02350e00 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

bea5750... by Arthur Kiyanovski

net: ena: update driver version to 2.0.1

BugLink: http://bugs.launchpad.net/bugs/1798182

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 3a7b9d8ddd200bdafaa3ef75b8544d2403eaa03b linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

51f3550... by Arthur Kiyanovski

net: ena: remove redundant parameter in ena_com_admin_init()

BugLink: http://bugs.launchpad.net/bugs/1798182

Remove redundant spinlock acquire parameter from ena_com_admin_init()

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit f1e90f6e2c1fb0e491f910540314015324fed1e2 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

91e70eb... by Arthur Kiyanovski

net: ena: change rx copybreak default to reduce kernel memory pressure

BugLink: http://bugs.launchpad.net/bugs/1798182

Improves socket memory utilization when receiving packets larger
than 128 bytes (the previous rx copybreak) and smaller than 256 bytes.

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 87731f0c681c9682c5521e5197d89e561b7da395 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

12a93cd... by Arthur Kiyanovski

net: ena: limit refill Rx threshold to 256 to avoid latency issues

BugLink: http://bugs.launchpad.net/bugs/1798182

Currently Rx refill is done when the number of required descriptors is
above 1/8 queue size. With a default of 1024 entries per queue the
threshold is 128 descriptors.
There is intention to increase the queue size to 8196 entries.
In this case threshold of 1024 descriptors is too large and can hurt
latency.
Add another limitation to Rx threshold to be at most 256 descriptors.

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit 0574bb806dad29a3dada0ee42b01645477d48282 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

5b09f44... by Arthur Kiyanovski

net: ena: explicit casting and initialization, and clearer error handling

BugLink: http://bugs.launchpad.net/bugs/1798182

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit bd791175a6432d24fc5d7b348304276027372545 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>

c58f229... by Arthur Kiyanovski

net: ena: use CSUM_CHECKED device indication to report skb's checksum status

BugLink: http://bugs.launchpad.net/bugs/1798182

Set skb->ip_summed to the correct value as reported by the device.
Add counter for the case where rx csum offload is enabled but
device didn't check it.

Signed-off-by: Arthur Kiyanovski <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit cb36bb36e1f17d2a7b9a9751e5cfec4235b46c93 linux-next)
Signed-off-by: Kamal Mostafa <email address hidden>