Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-18 Thread Xueming(Steven) Li
On Mon, 2021-10-18 at 09:46 +0300, Andrew Rybchenko wrote: > On 10/15/21 1:54 PM, Xueming(Steven) Li wrote: > > On Fri, 2021-10-15 at 12:28 +0300, Andrew Rybchenko wrote: > > > On 10/12/21 5:39 PM, Xueming Li wrote: > > > > In current DPDK framework, each Rx queue is pre-loaded with mbufs to > > >

Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-17 Thread Andrew Rybchenko
On 10/15/21 1:54 PM, Xueming(Steven) Li wrote: > On Fri, 2021-10-15 at 12:28 +0300, Andrew Rybchenko wrote: >> On 10/12/21 5:39 PM, Xueming Li wrote: >>> In current DPDK framework, each Rx queue is pre-loaded with mbufs to >>> save incoming packets. For some PMDs, when number of representors scale

Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-16 Thread Xueming(Steven) Li
On Fri, 2021-10-15 at 18:20 +0100, Ferruh Yigit wrote: > On 10/12/2021 3:39 PM, Xueming Li wrote: > > index 6d80514ba7a..041da6ee52f 100644 > > --- a/lib/ethdev/rte_ethdev.h > > +++ b/lib/ethdev/rte_ethdev.h > > @@ -1044,6 +1044,13 @@ struct rte_eth_rxconf { > > uint8_t rx_drop_en; /**< Drop pa

Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-15 Thread Ferruh Yigit
On 10/12/2021 3:39 PM, Xueming Li wrote: index 6d80514ba7a..041da6ee52f 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -1044,6 +1044,13 @@ struct rte_eth_rxconf { uint8_t rx_drop_en; /**< Drop packets if no descriptors are available. */ uint8_t rx_deferred_

Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-15 Thread Xueming(Steven) Li
On Fri, 2021-10-15 at 12:28 +0300, Andrew Rybchenko wrote: > On 10/12/21 5:39 PM, Xueming Li wrote: > > In current DPDK framework, each Rx queue is pre-loaded with mbufs to > > save incoming packets. For some PMDs, when number of representors scale > > out in a switch domain, the memory consumption

Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-15 Thread Andrew Rybchenko
On 10/12/21 5:39 PM, Xueming Li wrote: > In current DPDK framework, each Rx queue is pre-loaded with mbufs to > save incoming packets. For some PMDs, when number of representors scale > out in a switch domain, the memory consumption became significant. > Polling all ports also leads to high cache m

[dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue

2021-10-12 Thread Xueming Li
In current DPDK framework, each Rx queue is pre-loaded with mbufs to save incoming packets. For some PMDs, when number of representors scale out in a switch domain, the memory consumption became significant. Polling all ports also leads to high cache miss, high latency and low throughput. This pat