lp:~bodong-wang/ubuntu/+source/linux-bluefield

Owned by Bodong Wang
Get this repository:
git clone https://git.launchpad.net/~bodong-wang/ubuntu/+source/linux-bluefield
Only Bodong Wang can upload to this repository. If you are Bodong Wang please log in for upload directions.

Branches

Name Last Modified Last Commit
nvidia-devlink 2022-03-01 15:30:50 UTC
devlink: Fix reload stats structure

Author: Moshe Shemesh
Author Date: 2020-11-23 05:36:25 UTC

devlink: Fix reload stats structure

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

Fix reload stats structure exposed to the user. Change stats structure
hierarchy to have the reload action as a parent of the stat entry and
then stat entry includes value per limit. This will also help to avoid
string concatenation on iproute2 output.

Reload stats structure before this fix:
"stats": {
    "reload": {
        "driver_reinit": 2,
        "fw_activate": 1,
        "fw_activate_no_reset": 0
     }
}

After this fix:
"stats": {
    "reload": {
        "driver_reinit": {
            "unspecified": 2
        },
        "fw_activate": {
            "unspecified": 1,
            "no_reset": 0
        }
}

Fixes: a254c264267e ("devlink: Add reload stats")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/1606109785-25197-1-git-send-email-moshe@mellanox.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
(cherry picked from commit 5204bb683c1633e550c2124ccc2358dd645a80db)
Signed-off-by: Bodong Wang <bodong@nvidia.com>

nvidia-ddos 2021-07-06 23:41:13 UTC
UBUNTU: SAUCE: bpf: Add a helper to issue timestamp cookies in XDP

Author: Maxim
Author Date: 2021-06-15 16:49:24 UTC

UBUNTU: SAUCE: bpf: Add a helper to issue timestamp cookies in XDP

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

The new helper bpf_tcp_raw_gen_tscookie allows an XDP program to
generate timestamp cookies (to be used together with SYN cookies) which
encode different options set by the client in the SYN packet: SACK
support, ECN support, window scale. These options are encoded in lower
bits of the timestamp, which will be returned by the client in a
subsequent ACK packet. The format is the same used by synproxy.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Bodong Wang <bodong@nvidia.com>

sru-0707-ddos 2021-07-06 19:20:32 UTC
UBUNTU: SAUCE: bpf: Add a helper to issue timestamp cookies in XDP

Author: Maxim
Author Date: 2021-06-15 16:49:24 UTC

UBUNTU: SAUCE: bpf: Add a helper to issue timestamp cookies in XDP

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

The new helper bpf_tcp_raw_gen_tscookie allows an XDP program to
generate timestamp cookies (to be used together with SYN cookies) which
encode different options set by the client in the SYN packet: SACK
support, ECN support, window scale. These options are encoded in lower
bits of the timestamp, which will be returned by the client in a
subsequent ACK packet. The format is the same used by synproxy.

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Bodong Wang <bodong@nvidia.com>

13 of 3 results
This repository contains Public information 
Everyone can see this information.

Subscribers