[dpdk-dev] [PATCH v2] net/mlx5: fix handling link status change event

Nélio Laranjeiro nelio.laranjeiro at 6wind.com
Thu Jan 18 08:53:03 CET 2018


On Wed, Jan 17, 2018 at 09:44:13AM -0800, Yongseok Koh wrote:
> Even though link of a port gets down, device still can receive traffic.
> That is the reason why mlx5_set_link_up/down() switches rx/tx_pkt_burst().
> However, if link gets down by an external command (e.g. ifconfig), it isn't
> effective. It is better to change burst functions when link status change
> is detected.
> 
> Fixes: 62072098b54e ("mlx5: support setting link up or down")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>

Thanks,

-- 
Nélio Laranjeiro
6WIND


More information about the dev mailing list