APPLIED: [SRU][F:linux-bluefield][PATCH v1 0/3] Support hardware stats for tc actions
Bartlomiej Zolnierkiewicz
bartlomiej.zolnierkiewicz at canonical.com
Tue Apr 11 10:01:44 UTC 2023
Hi Vladimir,
Hi William,
On Mon, Apr 10, 2023 at 6:44 PM Vladimir Sokolovsky <vlad at nvidia.com> wrote:
>
> 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....
I've dropped the "[SRU][F:linux-bluefield][PATCH v1 0/3] Support
hardware stats for tc actions" patchset for now from the master-next
branch (by rebasing the branch).
> Bartlomiej,
>
> Do you have some sort of CI that can catch these issues?
We currently don't have CI for automatically build-testing all
submitted patches during review and I've been assuming that the
changes being submitted are actually tested but it doesn't seem to be
always the case (as some submissions don't apply or build). I'll from
now on apply+build test all submissions (I've used to skip it for
smaller, "obviously looking" ones) before acking and applying them.
--
Best regards,
Bartlomiej
> 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>
> Date: Wednesday, April 5, 2023 at 4:09 AM
> To: William Tu <witu at nvidia.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: 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> 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(+)
> >
More information about the kernel-team
mailing list