[dpdk-dev] [PATCH 4/4] net/failsafe: support secondary process

Raslan Darawsheh rasland at mellanox.com
Tue Mar 5 10:33:44 CET 2019


Hi Stephen, 

> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Thursday, February 28, 2019 7:25 PM
> To: Raslan Darawsheh <rasland at mellanox.com>
> Cc: gaetan.rivet at 6wind.com; dev at dpdk.org; Thomas Monjalon
> <thomas at 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 <rasland at 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


More information about the dev mailing list