APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions
Vladimir Sokolovsky
vlad at nvidia.com
Mon Apr 10 16:44:18 UTC 2023
Hi,
This series was applied already as we tried to compile the “master-next” branch and it failed:
/workspace/kernel/linux/net/sched/act_sample.c:293:18: error: initialization of 'void (*)(struct tc_action *, u64, u32, u64, bool)' {aka 'void (*)(struct tc_action *, long long unsigned int, unsigned int, long long unsigned int, _Bool)'} from incompatible pointer type 'void (*)(struct tc_action *, u64, u64, u64, u64, bool)' {aka 'void (*)(struct tc_action *, long long unsigned int, long long unsigned int, long long unsigned int, long long unsigned int, _Bool)'} [-Werror=incompatible-pointer-types]
293 | .stats_update = tcf_sample_stats_update,
| ^~~~~~~~~~~~~~~~~~~~~~~
/workspace/kernel/linux/net/sched/act_sample.c:293:18: note: (near initialization for 'act_sample_ops.stats_update')
cc1: some warnings being treated as errors
make[4]: *** [/workspace/kernel/linux/scripts/Makefile.build:272: net/sched/act_sample.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Bartlomiej,
Do you have some sort of CI that can catch these issues?
Regards,
Vladimir
From: William Tu <witu at nvidia.com>
Sent: Monday, April 10, 2023 11:30 AM
To: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz at canonical.com>
Cc: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>; Bodong Wang <bodong at nvidia.com>; Vladimir Sokolovsky <vlad at nvidia.com>; Paul Blakey <paulb at nvidia.com>; Dann Frazier <dann.frazier at canonical.com>
Subject: Re: APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions
Hi Bartlomiej,
Sorry! If it’s not too late, olease do not apply this series, we found compile error due to missing commit.
We’re working on the fix.
William
From: Bartlomiej Zolnierkiewicz <bartlomiej.zolnierkiewicz at canonical.com<mailto:bartlomiej.zolnierkiewicz at canonical.com>>
Date: Wednesday, April 5, 2023 at 4:09 AM
To: William Tu <witu at nvidia.com<mailto:witu at nvidia.com>>
Cc: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com<mailto:kernel-team at lists.ubuntu.com>>, Bodong Wang <bodong at nvidia.com<mailto:bodong at nvidia.com>>, Vladimir Sokolovsky <vlad at nvidia.com<mailto:vlad at nvidia.com>>, Paul Blakey <paulb at nvidia.com<mailto:paulb at nvidia.com>>, Dann Frazier <dann.frazier at canonical.com<mailto:dann.frazier at canonical.com>>
Subject: APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions
External email: Use caution opening links or attachments
Applied to focal:linux-bluefield/master-next. Thanks.
--
Best regards,
Bartlomiej
On Tue, Apr 4, 2023 at 12:39 AM William Tu <witu at nvidia.com<mailto:witu at nvidia.com>> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/2015136
>
> * Explain the bug(s)
>
> tc hardware stats are not offloaded from some offloaded actions (pedit, sample, skbedit)
>
> * brief explanation of fixes
>
> Implement the necessary callbacks to report back stats for these actions.
>
> * How to test
>
> Configure two mlx5 rep devices and VFs.
> Add tc offloaded tc rules with pedit action, and hit that rule with traffic
>
> Ido Schimmel (1):
> sched: act_sample: Implement stats_update callback
>
> Petr Machata (2):
> sched: act_skbedit: Implement stats_update callback
> sched: act_pedit: Implement stats_update callback
>
> net/sched/act_pedit.c | 11 +++++++++++
> net/sched/act_sample.c | 11 +++++++++++
> net/sched/act_skbedit.c | 11 +++++++++++
> 3 files changed, 33 insertions(+)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230410/f92c1d24/attachment-0001.html>
More information about the kernel-team
mailing list