On 01/13/2016 02:46 PM, Maxim Uvarov wrote:
> On 01/13/2016 00:15, Nicolas Morey-Chaisemartin wrote:
>> 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
>
> dpdk has symlinks to linux-generic so in many places it just reuses files.
>
> Maxim.
In tat case you can change the filter in git format-patch and use
-- <file1> <file2> ...
instead of
-- .
>
>> 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
>>> [email protected]
>>> https://lists.linaro.org/mailman/listinfo/lng-odp
>> _______________________________________________
>> lng-odp mailing list
>> [email protected]
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to