~asmaam/ubuntu/+source/linux-bluefield:master-next-oob-upstream

Last commit made on 2022-04-15
Get this branch:
git clone -b master-next-oob-upstream https://git.launchpad.net/~asmaam/ubuntu/+source/linux-bluefield
Only Asmaa Mnebhi can upload to this branch. If you are Asmaa Mnebhi please log in for upload directions.

Branch merges

Branch information

Name:
master-next-oob-upstream
Repository:
lp:~asmaam/ubuntu/+source/linux-bluefield

Recent commits

0a6f261... by Asmaa Mnebhi <email address hidden>

UBUNTU: SAUCE: Fix OOB handling RX packets in heavy traffic

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

5ad56e5... by Asmaa Mnebhi <email address hidden>

UBUNTU: SAUCE: mlxbf-gige: add ethtool mlxbf_gige_set_ringparam

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

23ba0b2... by Asmaa Mnebhi <email address hidden>

UBUNTU: SAUCE: mlxbf_gige: add interrupt counts to "ethtool -S"

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

7fae651... by Asmaa Mnebhi <email address hidden>

UBUNTU: SAUCE: mlxbf-gige: add driver version

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

5178cdd... by Asmaa Mnebhi <email address hidden>

net: mellanox: mlxbf_gige: Replace non-standard interrupt handling

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

Since the GPIO driver (gpio-mlxbf2.c) supports interrupt handling,
replace the custom routine with simple IRQ request.

Signed-off-by: Asmaa Mnebhi <email address hidden>
Acked-by: David S. Miller <email address hidden>
Signed-off-by: Bartosz Golaszewski <email address hidden>
(cherry picked from commit 6c2a6ddca763271fa583e22bce10c2805c1ea9f6)
Signed-off-by: Asmaa Mnebhi <email address hidden>

1025005... by David Thompson

mlxbf_gige: clear valid_polarity upon open

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

The network interface managed by the mlxbf_gige driver can
get into a problem state where traffic does not flow.
In this state, the interface will be up and enabled, but
will stop processing received packets. This problem state
will happen if three specific conditions occur:
    1) driver has received more than (N * RxRingSize) packets but
       less than (N+1 * RxRingSize) packets, where N is an odd number
       Note: the command "ethtool -g <interface>" will display the
       current receive ring size, which currently defaults to 128
    2) the driver's interface was disabled via "ifconfig oob_net0 down"
       during the window described in #1.
    3) the driver's interface is re-enabled via "ifconfig oob_net0 up"

This patch ensures that the driver's "valid_polarity" field is
cleared during the open() method so that it always matches the
receive polarity used by hardware. Without this fix, the driver
needs to be unloaded and reloaded to correct this problem state.

Fixes: f92e1869d74e ("Add Mellanox BlueField Gigabit Ethernet driver")
Reviewed-by: Asmaa Mnebhi <email address hidden>
Signed-off-by: David Thompson <email address hidden>
Signed-off-by: David S. Miller <email address hidden>
(cherry picked from commit ee8a9600b5391f434905c46bec7f77d34505083e)
Signed-off-by: Asmaa Mnebhi <email address hidden>

4a70811... by Asmaa Mnebhi <email address hidden>

Revert "UBUNTU: SAUCE: mlxbf-gige: add driver version"

This reverts commit f41291f986ca7ac6a0b9a2767a7127c8de41f7cb.

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

3cc3a8d... by Asmaa Mnebhi <email address hidden>

Revert "UBUNTU: SAUCE: mlxbf-gige: add ethtool mlxbf_gige_set_ringparam"

This reverts commit 4a7e50872cb8f711a520d271568ad7b4141842ed.

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

b66f5bb... by Asmaa Mnebhi <email address hidden>

Revert "UBUNTU: SAUCE: mlxbf_gige: add interrupt counts to "ethtool -S""

This reverts commit eb331fa61297c88e8127f377cdab192e3eeef603.

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

Signed-off-by: Asmaa Mnebhi <email address hidden>

bd2bb95... by Asmaa Mnebhi <email address hidden>

Revert "UBUNTU: SAUCE: mlxbf_gige: clear valid_polarity upon open"

This reverts commit e92649cc2db2f562d99490683b95bb1c183c12ab.

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

Signed-off-by: Asmaa Mnebhi <email address hidden>