Hi Stephen, > -----Original Message----- > From: Stephen Hemminger <[email protected]> > Sent: Thursday, February 28, 2019 7:25 PM > To: Raslan Darawsheh <[email protected]> > Cc: [email protected]; [email protected]; Thomas Monjalon > <[email protected]> > Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process > > On Thu, 28 Feb 2019 15:49:28 +0000 > Raslan Darawsheh <[email protected]> wrote: > > > + eth_dev->rx_pkt_burst = > (eth_rx_burst_t)&failsafe_rx_burst; > > + eth_dev->tx_pkt_burst = > (eth_tx_burst_t)&failsafe_tx_burst; > > Why is cast necessary here. The function signature should match.
I don't think it's necessary, but this is the same as the primary process implementation Kindest regards Raslan Darawsheh

