[PATCH] kni: fix device address set
Min Hu (Connor)
humin29 at huawei.com
Thu Apr 7 08:21:35 CEST 2022
Hi,
在 2022/4/7 11:18, Stephen Hemminger 写道:
> On Thu, 7 Apr 2022 08:44:23 +0800
> "Min Hu (Connor)" <humin29 at huawei.com> wrote:
>
>> Hi, Stephen,
>> I think this is a good option, but the macro definition is like:
>> +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 0)
>> +#define ether_addr_copy(dst, src) memcpy(dst, src, ETH_ALEN)
>> +#endif
>
> Minimal supported DPDK version is 4.4 now. So this is not a problem.
I did not catch your meaning. I think this is a problem.
Acording to current definition, we can only use "ether_addr_copy" on
linux platform of version 3.13.0(or below).
How about the situaction on other linux version, like 3.14.0(or upper)?
>
> Note: 4.4 kernel reached end of support window in Febrary 2022.
> It is supported by the SLTS project but it would be unwise
> to use later DPDK on a kernel that is stuck being supported until 2036.
>
> Apparently my patch to update it to current LTS 4.9 is sitting
> stuck in patchwork.
> .
>
More information about the dev
mailing list