Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/nfp: fix representor port link status update
The link status of representor port is reported by the flower firmware through control message and it already parsed and stored in the 'link' field of representor port structure. The original logic read link status from the control BAR again, and use it rather then the 'link' field of the representor port structure in the following logic wrongly. Fix this by delete the read control BAR statement and use the right link status value. Fixes: c4de52e ("net/nfp: remove redundancy for representor port") Cc: stable@dpdk.org Signed-off-by: Qin Ke <qin.ke@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com> Reviewed-by: Long Wu <long.wu@corigine.com> Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
- Loading branch information