Re: [dpdk-dev] [PATCH v2 21/66] net/ice/base: add helper functions for PHY caching

2019-06-12 Thread Rong, Leyi
> -Original Message- > From: Stillwell Jr, Paul M > Sent: Wednesday, June 12, 2019 12:27 AM > To: Rong, Leyi ; Zhang, Qi Z > Cc: dev@dpdk.org; Nguyen, Anthony L > Subject: RE: [PATCH v2 21/66] net/ice/base: add helper functions for PHY > caching > > > -Original Message- > > Fr

Re: [dpdk-dev] [PATCH v2 21/66] net/ice/base: add helper functions for PHY caching

2019-06-11 Thread Stillwell Jr, Paul M
> -Original Message- > From: Rong, Leyi > Sent: Tuesday, June 11, 2019 8:52 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Rong, Leyi ; Nguyen, Anthony L > ; Stillwell Jr, Paul M > > Subject: [PATCH v2 21/66] net/ice/base: add helper functions for PHY caching > > Add additional functions to ai

[dpdk-dev] [PATCH v2 21/66] net/ice/base: add helper functions for PHY caching

2019-06-11 Thread Leyi Rong
Add additional functions to aide in caching PHY configuration. In order to cache the initial modes, we need to determine the operating mode based on capabilities. Add helper functions for flow control and FEC to take a set of capabilities and return the operating mode matching those capabilities. A