Re: [dpdk-dev] [PATCH v2] net/kni: set packet input port in Rx

2020-07-29 Thread Ferruh Yigit
On 7/29/2020 6:06 PM, Ferruh Yigit wrote: > On 7/29/2020 6:02 PM, David Marchand wrote: >> On Fri, Jul 24, 2020 at 5:10 PM Ferruh Yigit wrote: >>> >>> From: jiancheng pei >>> >>> Store port_id in pmd_internals when eth kni device is created. >>> Then set packet port of rte_mbuf in function eth_kn

Re: [dpdk-dev] [PATCH v2] net/kni: set packet input port in Rx

2020-07-29 Thread Ferruh Yigit
On 7/29/2020 6:02 PM, David Marchand wrote: > On Fri, Jul 24, 2020 at 5:10 PM Ferruh Yigit wrote: >> >> From: jiancheng pei >> >> Store port_id in pmd_internals when eth kni device is created. >> Then set packet port of rte_mbuf in function eth_kni_rx. > > LGTM. > > Is this fix worth a backport

Re: [dpdk-dev] [PATCH v2] net/kni: set packet input port in Rx

2020-07-29 Thread David Marchand
On Fri, Jul 24, 2020 at 5:10 PM Ferruh Yigit wrote: > > From: jiancheng pei > > Store port_id in pmd_internals when eth kni device is created. > Then set packet port of rte_mbuf in function eth_kni_rx. LGTM. Is this fix worth a backport? A net driver is expected to set the port in all mbufs (m-

[dpdk-dev] [PATCH v2] net/kni: set packet input port in Rx

2020-07-24 Thread Ferruh Yigit
From: jiancheng pei Store port_id in pmd_internals when eth kni device is created. Then set packet port of rte_mbuf in function eth_kni_rx. Signed-off-by: Jecky Pei Reviewed-by: Ferruh Yigit --- drivers/net/kni/rte_eth_kni.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net