* [PATCH] devtools: allow patch to multiple groups for the same driver
@ 2023-04-20 12:12 Viacheslav Ovsiienko
2026-09-14 17:08 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Viacheslav Ovsiienko @ 2023-04-20 12:12 UTC (permalink / raw)
To: dev
The PMD's source code resides in the ./drivers folder of the
DPDK project and split into the several groups depending on the
PMD class (common, net, regex, etc.).
For some vendors the drivers of different classes operate over
the same hardware, for example Nvidia PMDs operate over ConnectX
NIC series. It often happens the same minor fixes should be applied
to the multiple drivers of the same vendor in the different classes.
The check-git-log.sh script checks the consistence of patch
affected files and patch commit message headline and prevents
updating multiple drivers in single commit.
This patch mitigates this strict check and allows to update
multiple drivers in different classes for the single vendor.
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
---
devtools/check-git-log.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh
index af751e49ab..b66e8fe553 100755
--- a/devtools/check-git-log.sh
+++ b/devtools/check-git-log.sh
@@ -80,7 +80,9 @@ bad=$(for commit in $commits ; do
continue
drv=$(echo "$files" | grep '^drivers/' | cut -d "/" -f 2,3 | sort -u)
drvgrp=$(echo "$drv" | cut -d "/" -f 1 | uniq)
- if [ $(echo "$drvgrp" | wc -l) -gt 1 ] ; then
+ drvpmd=$(echo "$drv" | cut -d "/" -f 2 | uniq)
+ if [ $(echo "$drvgrp" | wc -l) -gt 1 ] && \
+ [ $(echo "$drvpmd" | wc -l) -gt 1 ] ; then
echo "$headline" | grep -v '^drivers:'
elif [ $(echo "$drv" | wc -l) -gt 1 ] ; then
echo "$headline" | grep -v "^drivers/$drvgrp"
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] devtools: allow patch to multiple groups for the same driver
2023-04-20 12:12 [PATCH] devtools: allow patch to multiple groups for the same driver Viacheslav Ovsiienko
@ 2026-09-14 17:08 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2026-09-14 17:08 UTC (permalink / raw)
To: Viacheslav Ovsiienko; +Cc: dev
On Thu, 20 Apr 2023 15:12:40 +0300
Viacheslav Ovsiienko <viacheslavo@nvidia.com> wrote:
> The PMD's source code resides in the ./drivers folder of the
> DPDK project and split into the several groups depending on the
> PMD class (common, net, regex, etc.).
>
> For some vendors the drivers of different classes operate over
> the same hardware, for example Nvidia PMDs operate over ConnectX
> NIC series. It often happens the same minor fixes should be applied
> to the multiple drivers of the same vendor in the different classes.
>
> The check-git-log.sh script checks the consistence of patch
> affected files and patch commit message headline and prevents
> updating multiple drivers in single commit.
>
> This patch mitigates this strict check and allows to update
> multiple drivers in different classes for the single vendor.
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> ---
This patch has sat for years now with no response.
As a maintainer, using check-git-log is just advice and it doesn't need to be exact.
So marking this as Rejected due to lack of ack's
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-14 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-20 12:12 [PATCH] devtools: allow patch to multiple groups for the same driver Viacheslav Ovsiienko
2026-09-14 17:08 ` Stephen Hemminger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.