Hi, I have the same issue with our implementation. I usually either work from the git diff of linux generic before and post update and backport changed or to a diff of the diff of linux-generic vs mppa platform before and after the merge. Theoretically the diff you be clode to void (except line changed) once you backport everything.
I've looked a bit around and if your code is close enough to the official one (ours start to be quite different on many files), you can try something like this: MBOX=$(mktemp); (cd platform/linux-generic/ && git format-patch --relative COMMIT1..COMMIT2 --stdout -- . > $MBOX) && git am -3 --directory platform/dpdk/ $MBOX It will try to apply all the patches that went into the linux-generic file into the dpdk platform. It seems to work OK although I can see a lot of conflicts (trying to merge API next into our master may be a bit hard for a first try) I'll give it a try when master gets few commits in linux-generic post 1.6 Nicolas On 01/12/2016 07:57 PM, Zoltan Kiss wrote: > Hi, > > We have a couple of places where the entire source file couldn't be copied > from linux-generic, but some of the functions are. E.g. the loopback > implementation from linux-generic's pktio code is something like that. It > would be nice to somehow get the updates and fixes for this codebase, but my > current best way is to compare the code of these copies and based on the > differences use diff to figure out which commits are relevant for us. > Does anyone have a more automated idea for this problem? > > Regards, > > Zoltan Kiss > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp