RE: [PATCH] net/iavf: fix Tx preparation

2023-11-05 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Thursday, November 2, 2023 2:45 PM > To: Zhang, Qi Z ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: RE: [PATCH] net/iavf: fix Tx preparation > > Hi, > > > -Origina

RE: [PATCH] net/iavf: fix Tx preparation

2023-11-01 Thread Yang, Qiming
Hi, > -Original Message- > From: Qi Zhang > Sent: Thursday, November 2, 2023 8:05 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PATCH] net/iavf: fix Tx preparation > > 1. check nb_segs > Tx ring size for TSO case. >

[PATCH] net/iavf: fix Tx preparation

2023-11-01 Thread Qi Zhang
1. check nb_segs > Tx ring size for TSO case. 2. report nb_mtu_seg_max and nb_seg_max in dev_info. Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang --- drivers/net/iavf/iavf_ethdev.c | 2 ++ drivers/net/iavf/iavf_rxtx.c | 3 ++- 2 files changed,