On 2/13/2020 1:57 AM, Wei Hu (Xavier) wrote: > From: "Wei Hu (Xavier)" <[email protected]> > > Currently, Rx offload capabilities and max_rx_pkt_len in the struct > variable named rte_port are not updated after setting mtu successfully > in port_mtu_set function by 'port config mtu <port_id> <value>' command. > This may lead to reconfig mtu to the initial value in the driver when > recalling rte_eth_dev_configure API interface. > > This patch updates Rx offload capabilities and max_rx_pkt_len after > setting mtu successfully when configuring mtu. > > Fixes: ae03d0d18adf ("app/testpmd: command to configure MTU") > Cc: [email protected] > > Signed-off-by: Huisong Li <[email protected]> > Signed-off-by: Wei Hu (Xavier) <[email protected]>
Reviewed-by: Ferruh Yigit <[email protected]> Applied to dpdk-next-net/master, thanks.

