~kamalmostafa/ubuntu/+source/linux/+git/linux-aws:ena130

Last commit made on 2017-10-26
Get this branch:
git clone -b ena130 https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux/+git/linux-aws
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

7f485c4... by Netanel Belgazal <email address hidden>

net: ena: increase ena driver version to 1.3.0

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

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

5551ecc... by Netanel Belgazal <email address hidden>

net: ena: add new admin define for future support of IPv6 RSS

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

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

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

net: ena: add statistics for missed tx packets

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

Add a new statistic to ethtool stats that show the number of packets
without transmit acknowledgement from ENA device.

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

1b85eb1... by Netanel Belgazal <email address hidden>

net: ena: add power management ops to the ENA driver

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

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

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

net: ena: remove legacy suspend suspend/resume support

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

Remove ena_device_io_suspend/resume() methods
Those methods were intend to be used by the device to trigger
suspend/resume but eventually it was dropped.

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

92409c1... by Netanel Belgazal <email address hidden>

net: ena: improve ENA driver boot time.

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

The ena admin commands timeout is in resolutions of 100ms.
Therefore, When the driver works in polling mode, it sleeps for 100ms
each time. The overall boot time of the ENA driver is ~1.5 sec.
To reduce the boot time, This change modifies the granularity of
the sleeps to 5ms.
This change improves the boot time to 220ms.

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

9a24ba9... by Netanel Belgazal <email address hidden>

net: ena: fix wrong max Tx/Rx queues on ethtool

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

ethtool ena_get_channels() expose the max number of queues as the max
number of queues ENA supports (128 queues) and not the actual number
of created queues.

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

266b9c9... by Netanel Belgazal <email address hidden>

net: ena: fix rare kernel crash when bar memory remap fails

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

This failure is rare and only found on testing where deliberately fail
devm_ioremap()

[ 451.170464] ena 0000:04:00.0: failed to remap regs bar
451.170549] Workqueue: pciehp-1 pciehp_power_thread
[ 451.170551] task: ffff88085a5f2d00 task.stack: ffffc9000756c000
[ 451.170552] RIP: 0010:devm_iounmap+0x2d/0x40
[ 451.170553] RSP: 0018:ffffc9000756fac0 EFLAGS: 00010282
[ 451.170554] RAX: 00000000fffffffe RBX: 0000000000000000 RCX:
0000000000000000
[ 451.170555] RDX: ffffffff813a7e00 RSI: 0000000000000282 RDI:
0000000000000282
[ 451.170556] RBP: ffffc9000756fac8 R08: 00000000fffffffe R09:
00000000000009b7
[ 451.170557] R10: 0000000000000005 R11: 00000000000009b6 R12:
ffff880856c9d0a0
[ 451.170558] R13: ffffc9000f5c90c0 R14: ffff880856c9d0a0 R15:
0000000000000028
[ 451.170559] FS: 0000000000000000(0000) GS:ffff88085f400000(0000)
knlGS:0000000000000000
[ 451.170560] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 451.170561] CR2: 00007f169038b000 CR3: 0000000001c09000 CR4:
00000000003406f0
[ 451.170562] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 451.170562] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 451.170563] Call Trace:
[ 451.170572] ena_release_bars.isra.48+0x34/0x60 [ena]
[ 451.170574] ena_probe+0x144/0xd90 [ena]
[ 451.170579] ? ida_simple_get+0x98/0x100
[ 451.170585] ? kernfs_next_descendant_post+0x40/0x50
[ 451.170591] local_pci_probe+0x45/0xa0
[ 451.170592] pci_device_probe+0x157/0x180
[ 451.170599] driver_probe_device+0x2a8/0x460
[ 451.170600] __device_attach_driver+0x7e/0xe0
[ 451.170602] ? driver_allows_async_probing+0x30/0x30
[ 451.170603] bus_for_each_drv+0x68/0xb0
[ 451.170605] __device_attach+0xdd/0x160
[ 451.170607] device_attach+0x10/0x20
[ 451.170610] pci_bus_add_device+0x4f/0xa0
[ 451.170611] pci_bus_add_devices+0x39/0x70
[ 451.170613] pciehp_configure_device+0x96/0x120
[ 451.170614] pciehp_enable_slot+0x1b3/0x290
[ 451.170616] pciehp_power_thread+0x3b/0xb0
[ 451.170622] process_one_work+0x149/0x360
[ 451.170623] worker_thread+0x4d/0x3c0
[ 451.170626] kthread+0x109/0x140
[ 451.170627] ? rescuer_thread+0x380/0x380
[ 451.170628] ? kthread_park+0x60/0x60
[ 451.170632] ret_from_fork+0x25/0x30

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

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

net: ena: reduce the severity of some printouts

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

Decrease log level of checksum errors as these messages can be
triggered remotely by bad packets.

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

8f39ac4... by Tobias Klauser

net: ena: Remove redundant unlikely()

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

IS_ERR() already implies unlikely(), so it can be omitted.

Signed-off-by: Tobias Klauser <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from net-next commit 1f4cf93b133ba6596ae69cfd09b48aa7b47cca41)
Signed-off-by: Kamal Mostafa <email address hidden>