Re: [dpdk-dev] [PATCH] net/mlx5: check Tx queue size overflow

2019-04-30 Thread Yongseok Koh
> On Apr 30, 2019, at 5:43 PM, Yongseok Koh wrote: > >> >> On Apr 30, 2019, at 1:46 PM, Stephen Hemminger >> wrote: >> >> On Tue, 30 Apr 2019 12:04:26 -0700 >> Yongseok Koh wrote: >> >>> + priv->sh->device_attr.orig_attr.max_qp_wr) { >>> + DRV_LOG(DEBUG, >>> +

Re: [dpdk-dev] [PATCH] net/mlx5: check Tx queue size overflow

2019-04-30 Thread Yongseok Koh
> On Apr 30, 2019, at 1:46 PM, Stephen Hemminger > wrote: > > On Tue, 30 Apr 2019 12:04:26 -0700 > Yongseok Koh wrote: > >> +priv->sh->device_attr.orig_attr.max_qp_wr) { >> +DRV_LOG(DEBUG, >> +"port %u Tx WQEBB count exceeds the limit (%d)," >> +

Re: [dpdk-dev] [PATCH] net/mlx5: check Tx queue size overflow

2019-04-30 Thread Stephen Hemminger
On Tue, 30 Apr 2019 12:04:26 -0700 Yongseok Koh wrote: > + priv->sh->device_attr.orig_attr.max_qp_wr) { > + DRV_LOG(DEBUG, > + "port %u Tx WQEBB count exceeds the limit (%d)," > + " try smaller queue size again", > +

[dpdk-dev] [PATCH] net/mlx5: check Tx queue size overflow

2019-04-30 Thread Yongseok Koh
If Tx packet inlining is enabled, rdma-core library should allocate large Tx WQ enough to support it. It is better for PMD to calculate the size of WQ based on the parameters and return error with appropriate message if it exceeds the device capability. Signed-off-by: Yongseok Koh --- drivers/ne