Re: [dpdk-dev] [PATCH] net/enic: fix segfault caused by changing MTU

2021-11-03 Thread Ferruh Yigit
On 10/26/2021 1:02 AM, Hyong Youb Kim wrote: Changing MTU after the device start causes a segfault in the Rx handler. The MTU handler (enic_set_mtu) performs the following steps. 1. Stop NIC Rx 2. Change Rx handler '(struct rte_eth_dev)->rx_pkt_burst' to the dummy handler and sleep a while to

[dpdk-dev] [PATCH] net/enic: fix segfault caused by changing MTU

2021-10-25 Thread Hyong Youb Kim
Changing MTU after the device start causes a segfault in the Rx handler. The MTU handler (enic_set_mtu) performs the following steps. 1. Stop NIC Rx 2. Change Rx handler '(struct rte_eth_dev)->rx_pkt_burst' to the dummy handler and sleep a while to quiesce 3. Re-allocate/initialize Rx structures