On 3/13/2023 3:03 AM, Chaoyong He wrote:
>> On 3/10/2023 6:25 AM, Chaoyong He wrote:
>>> + /**
>>> +* Shift and mask nn_link_status so that it is effectively the value
>>> +* at offset NFP_NET_CFG_STS_NSP_LINK_RATE.
>>> +*/
>>> + nn_link_status = (nn_link_status >>
>> NFP_NET_CFG_ST
> On 3/10/2023 6:25 AM, Chaoyong He wrote:
> > + /**
> > +* Shift and mask nn_link_status so that it is effectively the value
> > +* at offset NFP_NET_CFG_STS_NSP_LINK_RATE.
> > +*/
> > + nn_link_status = (nn_link_status >>
> NFP_NET_CFG_STS_LINK_RATE_SHIFT) &
> > +
On 3/10/2023 6:25 AM, Chaoyong He wrote:
> + /**
> + * Shift and mask nn_link_status so that it is effectively the value
> + * at offset NFP_NET_CFG_STS_NSP_LINK_RATE.
> + */
> + nn_link_status = (nn_link_status >> NFP_NET_CFG_STS_LINK_RATE_SHIFT) &
> + N
From: James Hershaw
Due to changes in the firmware for NFPs, firmware will no longer write
the link speed of a port to the control BAR. In line with the behaviour
of the kernel NFP driver, this is now handled by the PMD by reading the
value provided by the NSP in the nfp_eth_table struct within t
4 matches
Mail list logo