~kamalmostafa/ubuntu/+source/linux-aws/+git/bionic:efa-140-test

Last commit made on 2019-09-16
Get this branch:
git clone -b efa-140-test https://git.launchpad.net/~kamalmostafa/ubuntu/+source/linux-aws/+git/bionic
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

faf211a... by Kamal Mostafa

TEST KERNEL

8b220d4... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Bump driver version to 1.4.0

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

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

f13df7a... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Assign err when failing to create everbs device

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

When everbs device creation fails, err variable should be assigned.
While at it, log err as part of the error message.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

0940a74... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Use existing FIELD_SIZEOF macro

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

Use FIELD_SIZEOF macro instead of hard coding it in field_avail macro.

Reviewed-by: Daniel Kranzdorf <email address hidden>
Reviewed-by: Firas JahJah <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

24905e1... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Align with CQ core allocations

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

Align driver with upstream CQ core allocations.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

3725b99... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Fix wrong ifdef clause

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

The wrong ifdef was used to surround the AH object size declaration.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

885a58e... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Combine create CQ functions

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

Remove the redundant helper function do_create_cq.

Reviewed-by: Daniel Kranzdorf <email address hidden>
Reviewed-by: Firas JahJah <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

dfcbef3... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Clean destroy CQ in drivers do not return errors

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

[ Upstream commit a52c8e2469c30cf7ac453d624aed9c168b23d1af ]

Like all other destroy commands, .destroy_cq() call is not supposed
to fail. In all flows, the attempt to return earlier caused to memory
leaks.

This patch converts .destroy_cq() to do not return any errors.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

f860d35... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Move owner into struct ib_device_ops

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

[ Upstream commit 7a15414252ae4f1d450462d83f883b2d9d8036ee ]

This more closely follows how other subsytems work, with owner being a
member of the structure containing the function pointers.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>

c0a96b5... by Gal Pressman <email address hidden>

UBUNTU: SAUCE: linux/efa: Move uverbs_abi_ver into struct ib_device_ops

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

[ Upstream commit 72c6ec18eb6161c8fc672ae96ec5c77df4d07405 ]

No reason for every driver to emit code to set this, just make it part of
the driver's existing static const ops structure.

Reviewed-by: Firas JahJah <email address hidden>
Reviewed-by: Yossi Leybovich <email address hidden>
Signed-off-by: Gal Pressman <email address hidden>
Reference: https://github.com/amzn/amzn-drivers/tree/master/kernel/linux/efa
Signed-off-by: Kamal Mostafa <email address hidden>