mbox series

[00/12] ice base code batch 2 for DPDK 21.11

Message ID 20210916095304.3058210-1-qi.z.zhang@intel.com (mailing list archive)
Headers show
Series ice base code batch 2 for DPDK 21.11 | expand

Message

Qi Zhang Sept. 16, 2021, 9:52 a.m. UTC
Qi Zhang (12):
  net/ice/base: calculate logical PF ID
  net/ice/base: include more E810T adapters
  net/ice/base: use macro instead of open-coded division
  net/ice/base: allow to enable LAN and loopback in switch
  net/ice/base: change addr param to u16
  net/ice/base: allow tool access to MNG register
  net/ice/base: add package segment ID
  net/ice/base: add a helper to check for 100M speed support
  net/ice/base: add GCO defines and new GCO flex descriptor
  net/ice/base: add get/set functions for shared parameters
  net/ice/base: implement support for SMA controller
  net/ice/base: update auto generated hardware register

 drivers/net/ice/base/ice_adminq_cmd.h |  10 +
 drivers/net/ice/base/ice_common.c     | 134 ++++++++++++-
 drivers/net/ice/base/ice_common.h     |   7 +
 drivers/net/ice/base/ice_devids.h     |   1 +
 drivers/net/ice/base/ice_flex_pipe.c  |  11 +-
 drivers/net/ice/base/ice_flex_type.h  |   2 +-
 drivers/net/ice/base/ice_hw_autogen.h | 148 +++++++-------
 drivers/net/ice/base/ice_lan_tx_rx.h  |  49 ++++-
 drivers/net/ice/base/ice_nvm.c        |   7 +-
 drivers/net/ice/base/ice_nvm.h        |  13 --
 drivers/net/ice/base/ice_ptp_hw.c     | 270 +++++++++++++++++++++++---
 drivers/net/ice/base/ice_ptp_hw.h     |  11 ++
 drivers/net/ice/base/ice_switch.c     |   7 +-
 drivers/net/ice/base/ice_switch.h     |  11 ++
 drivers/net/ice/base/ice_type.h       |   3 +
 15 files changed, 569 insertions(+), 115 deletions(-)

Comments

Junfeng Guo Sept. 17, 2021, 2:14 a.m. UTC | #1
> -----Original Message-----
> From: Zhang, Qi Z <qi.z.zhang@intel.com>
> Sent: Thursday, September 16, 2021 17:53
> To: Yang, Qiming <qiming.yang@intel.com>
> Cc: Guo, Junfeng <junfeng.guo@intel.com>; dev@dpdk.org; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Subject: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> 
> Qi Zhang (12):
>   net/ice/base: calculate logical PF ID
>   net/ice/base: include more E810T adapters
>   net/ice/base: use macro instead of open-coded division
>   net/ice/base: allow to enable LAN and loopback in switch
>   net/ice/base: change addr param to u16
>   net/ice/base: allow tool access to MNG register
>   net/ice/base: add package segment ID
>   net/ice/base: add a helper to check for 100M speed support
>   net/ice/base: add GCO defines and new GCO flex descriptor
>   net/ice/base: add get/set functions for shared parameters
>   net/ice/base: implement support for SMA controller
>   net/ice/base: update auto generated hardware register
> 
>  drivers/net/ice/base/ice_adminq_cmd.h |  10 +
>  drivers/net/ice/base/ice_common.c     | 134 ++++++++++++-
>  drivers/net/ice/base/ice_common.h     |   7 +
>  drivers/net/ice/base/ice_devids.h     |   1 +
>  drivers/net/ice/base/ice_flex_pipe.c  |  11 +-
>  drivers/net/ice/base/ice_flex_type.h  |   2 +-
>  drivers/net/ice/base/ice_hw_autogen.h | 148 +++++++-------
>  drivers/net/ice/base/ice_lan_tx_rx.h  |  49 ++++-
>  drivers/net/ice/base/ice_nvm.c        |   7 +-
>  drivers/net/ice/base/ice_nvm.h        |  13 --
>  drivers/net/ice/base/ice_ptp_hw.c     | 270 +++++++++++++++++++++++--
> -
>  drivers/net/ice/base/ice_ptp_hw.h     |  11 ++
>  drivers/net/ice/base/ice_switch.c     |   7 +-
>  drivers/net/ice/base/ice_switch.h     |  11 ++
>  drivers/net/ice/base/ice_type.h       |   3 +
>  15 files changed, 569 insertions(+), 115 deletions(-)
> 
> --
> 2.26.2

Acked-by: Junfeng Guo <junfeng.guo@intel.com>

Regards,
Junfeng Guo
Qi Zhang Sept. 17, 2021, 8:48 a.m. UTC | #2
> -----Original Message-----
> From: Guo, Junfeng <junfeng.guo@intel.com>
> Sent: Friday, September 17, 2021 10:14 AM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
> <qiming.yang@intel.com>
> Cc: dev@dpdk.org
> Subject: RE: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> 
> 
> 
> > -----Original Message-----
> > From: Zhang, Qi Z <qi.z.zhang@intel.com>
> > Sent: Thursday, September 16, 2021 17:53
> > To: Yang, Qiming <qiming.yang@intel.com>
> > Cc: Guo, Junfeng <junfeng.guo@intel.com>; dev@dpdk.org; Zhang, Qi Z
> > <qi.z.zhang@intel.com>
> > Subject: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> >
> > Qi Zhang (12):
> >   net/ice/base: calculate logical PF ID
> >   net/ice/base: include more E810T adapters
> >   net/ice/base: use macro instead of open-coded division
> >   net/ice/base: allow to enable LAN and loopback in switch
> >   net/ice/base: change addr param to u16
> >   net/ice/base: allow tool access to MNG register
> >   net/ice/base: add package segment ID
> >   net/ice/base: add a helper to check for 100M speed support
> >   net/ice/base: add GCO defines and new GCO flex descriptor
> >   net/ice/base: add get/set functions for shared parameters
> >   net/ice/base: implement support for SMA controller
> >   net/ice/base: update auto generated hardware register
> >
> >  drivers/net/ice/base/ice_adminq_cmd.h |  10 +
> >  drivers/net/ice/base/ice_common.c     | 134 ++++++++++++-
> >  drivers/net/ice/base/ice_common.h     |   7 +
> >  drivers/net/ice/base/ice_devids.h     |   1 +
> >  drivers/net/ice/base/ice_flex_pipe.c  |  11 +-
> >  drivers/net/ice/base/ice_flex_type.h  |   2 +-
> >  drivers/net/ice/base/ice_hw_autogen.h | 148 +++++++-------
> > drivers/net/ice/base/ice_lan_tx_rx.h  |  49 ++++-
> >  drivers/net/ice/base/ice_nvm.c        |   7 +-
> >  drivers/net/ice/base/ice_nvm.h        |  13 --
> >  drivers/net/ice/base/ice_ptp_hw.c     | 270 +++++++++++++++++++++++--
> > -
> >  drivers/net/ice/base/ice_ptp_hw.h     |  11 ++
> >  drivers/net/ice/base/ice_switch.c     |   7 +-
> >  drivers/net/ice/base/ice_switch.h     |  11 ++
> >  drivers/net/ice/base/ice_type.h       |   3 +
> >  15 files changed, 569 insertions(+), 115 deletions(-)
> >
> > --
> > 2.26.2
> 
> Acked-by: Junfeng Guo <junfeng.guo@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
> 
> Regards,
> Junfeng Guo
>
Ferruh Yigit Sept. 22, 2021, 12:45 p.m. UTC | #3
On 9/17/2021 9:48 AM, Zhang, Qi Z wrote:
> 
> 
>> -----Original Message-----
>> From: Guo, Junfeng <junfeng.guo@intel.com>
>> Sent: Friday, September 17, 2021 10:14 AM
>> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
>> <qiming.yang@intel.com>
>> Cc: dev@dpdk.org
>> Subject: RE: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
>>
>>
>>
>>> -----Original Message-----
>>> From: Zhang, Qi Z <qi.z.zhang@intel.com>
>>> Sent: Thursday, September 16, 2021 17:53
>>> To: Yang, Qiming <qiming.yang@intel.com>
>>> Cc: Guo, Junfeng <junfeng.guo@intel.com>; dev@dpdk.org; Zhang, Qi Z
>>> <qi.z.zhang@intel.com>
>>> Subject: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
>>>
>>> Qi Zhang (12):
>>>   net/ice/base: calculate logical PF ID
>>>   net/ice/base: include more E810T adapters
>>>   net/ice/base: use macro instead of open-coded division
>>>   net/ice/base: allow to enable LAN and loopback in switch
>>>   net/ice/base: change addr param to u16
>>>   net/ice/base: allow tool access to MNG register
>>>   net/ice/base: add package segment ID
>>>   net/ice/base: add a helper to check for 100M speed support
>>>   net/ice/base: add GCO defines and new GCO flex descriptor
>>>   net/ice/base: add get/set functions for shared parameters
>>>   net/ice/base: implement support for SMA controller
>>>   net/ice/base: update auto generated hardware register
>>>
>>>  drivers/net/ice/base/ice_adminq_cmd.h |  10 +
>>>  drivers/net/ice/base/ice_common.c     | 134 ++++++++++++-
>>>  drivers/net/ice/base/ice_common.h     |   7 +
>>>  drivers/net/ice/base/ice_devids.h     |   1 +
>>>  drivers/net/ice/base/ice_flex_pipe.c  |  11 +-
>>>  drivers/net/ice/base/ice_flex_type.h  |   2 +-
>>>  drivers/net/ice/base/ice_hw_autogen.h | 148 +++++++-------
>>> drivers/net/ice/base/ice_lan_tx_rx.h  |  49 ++++-
>>>  drivers/net/ice/base/ice_nvm.c        |   7 +-
>>>  drivers/net/ice/base/ice_nvm.h        |  13 --
>>>  drivers/net/ice/base/ice_ptp_hw.c     | 270 +++++++++++++++++++++++--
>>> -
>>>  drivers/net/ice/base/ice_ptp_hw.h     |  11 ++
>>>  drivers/net/ice/base/ice_switch.c     |   7 +-
>>>  drivers/net/ice/base/ice_switch.h     |  11 ++
>>>  drivers/net/ice/base/ice_type.h       |   3 +
>>>  15 files changed, 569 insertions(+), 115 deletions(-)
>>>
>>> --
>>> 2.26.2
>>
>> Acked-by: Junfeng Guo <junfeng.guo@intel.com>
> 
> Applied to dpdk-next-net-intel.
> 

Hi Qi, Junfeng, Qiming,

Won't the version information in the 'drivers/net/ice/base/README' updated with
these changes?

Thanks,
ferruh
Qi Zhang Sept. 23, 2021, 12:21 a.m. UTC | #4
> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yigit@intel.com>
> Sent: Wednesday, September 22, 2021 8:45 PM
> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Guo, Junfeng
> <junfeng.guo@intel.com>; Yang, Qiming <qiming.yang@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> 
> On 9/17/2021 9:48 AM, Zhang, Qi Z wrote:
> >
> >
> >> -----Original Message-----
> >> From: Guo, Junfeng <junfeng.guo@intel.com>
> >> Sent: Friday, September 17, 2021 10:14 AM
> >> To: Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, Qiming
> >> <qiming.yang@intel.com>
> >> Cc: dev@dpdk.org
> >> Subject: RE: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> >>
> >>
> >>
> >>> -----Original Message-----
> >>> From: Zhang, Qi Z <qi.z.zhang@intel.com>
> >>> Sent: Thursday, September 16, 2021 17:53
> >>> To: Yang, Qiming <qiming.yang@intel.com>
> >>> Cc: Guo, Junfeng <junfeng.guo@intel.com>; dev@dpdk.org; Zhang, Qi Z
> >>> <qi.z.zhang@intel.com>
> >>> Subject: [PATCH 00/12] ice base code batch 2 for DPDK 21.11
> >>>
> >>> Qi Zhang (12):
> >>>   net/ice/base: calculate logical PF ID
> >>>   net/ice/base: include more E810T adapters
> >>>   net/ice/base: use macro instead of open-coded division
> >>>   net/ice/base: allow to enable LAN and loopback in switch
> >>>   net/ice/base: change addr param to u16
> >>>   net/ice/base: allow tool access to MNG register
> >>>   net/ice/base: add package segment ID
> >>>   net/ice/base: add a helper to check for 100M speed support
> >>>   net/ice/base: add GCO defines and new GCO flex descriptor
> >>>   net/ice/base: add get/set functions for shared parameters
> >>>   net/ice/base: implement support for SMA controller
> >>>   net/ice/base: update auto generated hardware register
> >>>
> >>>  drivers/net/ice/base/ice_adminq_cmd.h |  10 +
> >>>  drivers/net/ice/base/ice_common.c     | 134 ++++++++++++-
> >>>  drivers/net/ice/base/ice_common.h     |   7 +
> >>>  drivers/net/ice/base/ice_devids.h     |   1 +
> >>>  drivers/net/ice/base/ice_flex_pipe.c  |  11 +-
> >>>  drivers/net/ice/base/ice_flex_type.h  |   2 +-
> >>>  drivers/net/ice/base/ice_hw_autogen.h | 148 +++++++-------
> >>> drivers/net/ice/base/ice_lan_tx_rx.h  |  49 ++++-
> >>>  drivers/net/ice/base/ice_nvm.c        |   7 +-
> >>>  drivers/net/ice/base/ice_nvm.h        |  13 --
> >>>  drivers/net/ice/base/ice_ptp_hw.c     | 270
> +++++++++++++++++++++++--
> >>> -
> >>>  drivers/net/ice/base/ice_ptp_hw.h     |  11 ++
> >>>  drivers/net/ice/base/ice_switch.c     |   7 +-
> >>>  drivers/net/ice/base/ice_switch.h     |  11 ++
> >>>  drivers/net/ice/base/ice_type.h       |   3 +
> >>>  15 files changed, 569 insertions(+), 115 deletions(-)
> >>>
> >>> --
> >>> 2.26.2
> >>
> >> Acked-by: Junfeng Guo <junfeng.guo@intel.com>
> >
> > Applied to dpdk-next-net-intel.
> >
> 
> Hi Qi, Junfeng, Qiming,
> 
> Won't the version information in the 'drivers/net/ice/base/README' updated
> with these changes?

There will be more base code update for DPDK 21.11, we will update it in following patches.

Thanks
Qi
> 
> Thanks,
> ferruh