Hi Stephen, > -----Original Message----- > From: Stephen Hemminger <step...@networkplumber.org> > Sent: Thursday, February 28, 2019 7:25 PM > To: Raslan Darawsheh <rasl...@mellanox.com> > Cc: gaetan.ri...@6wind.com; dev@dpdk.org; Thomas Monjalon > <tho...@monjalon.net> > Subject: Re: [dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process > > On Thu, 28 Feb 2019 15:49:28 +0000 > Raslan Darawsheh <rasl...@mellanox.com> 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