RE: [PATCH 3/3] net/mlx5: support enhanced multi-packet write on Windows

2023-05-08 Thread Pier Damouny
mum Rx indirection table size is %u", > sh->dev_cap.ind_table_max_size); > } > + if (hca_attr->enhanced_multi_pkt_send_wqe) > + sh->dev_cap.mps = MLX5_MPW_ENHANCED; > + else if (hca_attr->multi_pkt_send_wqe && > + sh->dev_cap.mps != MLX5_ARG_UNSET) > + sh->dev_cap.mps = MLX5_MPW; > + else > + sh->dev_cap.mps = MLX5_MPW_DISABLED; > sh->dev_cap.swp = > mlx5_get_supported_sw_parsing_offloads(hca_attr); > sh->dev_cap.tunnel_en = > mlx5_get_supported_tunneling_offloads(hca_attr); > if (sh->dev_cap.tunnel_en) { > -- > 2.16.1.windows.4 Tested-by: Pier Damouny

RE: [PATCH 2/3] net/mlx5: support CQE compression on Windows

2023-05-08 Thread Pier Damouny
;dev_cap.cqe_comp = 1; > + DRV_LOG(DEBUG, "Rx CQE compression is %ssupported.", > + sh->dev_cap.cqe_comp ? "" : "not "); > +#endif > snprintf(sh->dev_cap.fw_ver, 64, "%x.%x.%04x", >MLX5_GET(initial_seg, pv_iseg, fw_rev_major), >MLX5_GET(initial_seg, pv_iseg, fw_rev_minor), > -- > 2.16.1.windows.4 Tested-by: Pier Damouny

RE: [PATCH 1/3] net/mlx5: support multi-packet RQ on Windows

2023-05-08 Thread Pier Damouny
t;dev_cap.mprq.log_max_stride_size); > + DRV_LOG(DEBUG, "\tmin_single_wqe_log_num_of_strides: > %u", > + sh->dev_cap.mprq.log_min_stride_num); > + DRV_LOG(DEBUG, "\tmax_single_wqe_log_num_of_strides: > %u", > + sh->dev_cap.mprq.log_max_stride_num); > + DRV_LOG(DEBUG, "\tmin_stride_wqe_log_size: %u", > + sh->dev_cap.mprq.log_min_stride_wqe_size); > + DRV_LOG(DEBUG, "Device supports Multi-Packet RQ."); > + } > if (hca_attr->rss_ind_tbl_cap) { > /* >* DPDK doesn't support larger/variable indirection tables. > -- > 2.16.1.windows.4 Tested-by: Pier Damouny

RE: [RFT v2] test-pmd: go back to using cmdline_interact

2023-03-16 Thread Pier Damouny
read character on Unix OS's and a new > helper to cancel I/O on Windows. > > Signed-off-by: Stephen Hemminger Confirmed that this patch fixes Bug: 1180 on Windows. Tested-by: Pier Damouny

RE: [PATCH v4 0/2] Fix testpmd interrupt regression

2023-03-16 Thread Pier Damouny
gt; 2.39.2 Confirming that this patch fixes Bug: 1180 over Windows. And CTRL-C works as expected. Tested-by: Pier Damouny