Skip to content

i40e base driver update

Helin Zhang dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest33 patches 10 repliesIn review
  2. v118 patches 9 repliesSuperseded

Changes in v2 from the cover letter

Removed anything about Fortpark or FPGA as they shouldn't be there. Removed anything specifically for Solaris as they are not needed. Split patches into smaller per fixes as suggested.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/33i40e: copyright updatelib/librte_pmd_i40e/Makefile lib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_adminq.h +27 more+30 -301 reply
2/33i40e: disable setting of phy configurationlib/librte_pmd_i40e/i40e_ethdev.c+4 -01 reply
3/33i40e: adjustment of register definitions and relevantlib/librte_pmd_i40e/i40e/i40e_register.h lib/librte_pmd_i40e/i40e_ethdev.c+26 -291 reply
4/33i40e/base: rename 'err' to 'perrno'lib/librte_pmd_i40e/i40e/i40e_nvm.c+59 -591 reply
5/33i40e/base: support of building both PF and VF driver togetherlib/librte_pmd_i40e/Makefile lib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_common.c +1 more+17 -151 reply
6/33i40e/base: support of CEE DCBX on recent firmware versionslib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h lib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_dcb.c +3 more+452 -230 replies
7/33i40e: replacement of 'i40e_debug_read_register()'lib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_prototype.h lib/librte_pmd_i40e/i40e_ethdev.c+40 -201 reply
8/33i40e/base: rework of 'i40e_hmc_get_object_va'lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c+13 -180 replies
9/33i40e/base: update of shadow RAM read/write functionslib/librte_pmd_i40e/i40e/i40e_nvm.c+190 -60 replies
10/33i40e/base: catch NVM write semaphore timeout and retrylib/librte_pmd_i40e/i40e/i40e_nvm.c+35 -00 replies
11/33i40e/base: check for AQ timeout in aq_rc decodelib/librte_pmd_i40e/i40e/i40e_adminq.h lib/librte_pmd_i40e/i40e/i40e_nvm.c+29 -130 replies
12/33i40e/base: fix up NVM update sm error handlinglib/librte_pmd_i40e/i40e/i40e_nvm.c+22 -100 replies
13/33i40e/base: enhancement of polling NVM semaphorelib/librte_pmd_i40e/i40e/i40e_nvm.c+17 -180 replies
14/33i40e/base: enhancements of NVM checksum calculationlib/librte_pmd_i40e/i40e/i40e_nvm.c+31 -180 replies
15/33i40e/base: replacement of DEBUGOUT() with i40e_debug()lib/librte_pmd_i40e/Makefile lib/librte_pmd_i40e/i40e/i40e_nvm.c+59 -191 reply
16/33i40e/base: add fw build info to AQ datalib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_adminq.h lib/librte_pmd_i40e/i40e/i40e_common.c +1 more+7 -00 replies
17/33i40e/base: define and use i40e_is_vf()lib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_type.h+11 -10 replies
18/33i40e/base: grab NVM devstarter version not image versionlib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_type.h+3 -20 replies
19/33i40e/base: enhancements on adminq init and sending asq commandlib/librte_pmd_i40e/i40e/i40e_adminq.c lib/librte_pmd_i40e/i40e/i40e_adminq.h+3 -210 replies
20/33i40e/base: i40e_aq_get_link_info() should be used directlylib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_prototype.h+2 -340 replies
21/33i40e/base: add new interfaces for future uselib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h lib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_prototype.h +1 more+208 -200 replies
22/33i40e/base: update of get/set LED functionslib/librte_pmd_i40e/i40e/i40e_common.c+34 -30 replies
23/33i40e/base: clean up sparse complaint in i40e_debug_aqlib/librte_pmd_i40e/i40e/i40e_common.c+30 -260 replies
24/33i40e/base: get pf_id from HW rather than PCI functionlib/librte_pmd_i40e/i40e/i40e_common.c+11 -121 reply
25/33i40e/base: find partition_id in npar mode, and disable FCOE by defaultlib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_type.h+39 -00 replies
26/33i40e/base: Reassign incorrect PHY type as a workaround for a FW issuelib/librte_pmd_i40e/i40e/i40e_common.c+4 -00 replies
27/33i40e/base: add AOC phy types to case statement in get_media_typelib/librte_pmd_i40e/i40e/i40e_common.c+2 -00 replies
28/33i40e/base: support for iSCSI capabilitylib/librte_pmd_i40e/i40e/i40e_common.c lib/librte_pmd_i40e/i40e/i40e_type.h+6 -00 replies
29/33i40e/base: set FLAG_RD when sending driver version to FWlib/librte_pmd_i40e/i40e/i40e_common.c+1 -10 replies
30/33i40e/base: future proof some sizeof callslib/librte_pmd_i40e/i40e/i40e_common.c+22 -220 replies
31/33i40e/base: add more virtual channel operations for future uselib/librte_pmd_i40e/i40e/i40e_virtchnl.h+20 -210 replies
32/33i40e/base: rework of structures and macros for future uselib/librte_pmd_i40e/i40e/i40e_type.h+22 -60 replies
33/33i40e/base: modifications for future uselib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h+80 -90 replies

Reviews trailers per patch

8 of 33 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMin CaoJingjing WuJijiang Liu
SeriesT-b A-b
1/33A-b
2/33A-b
3/33A-b
4/33A-b
5/33A-b
6/33
7/33A-b
8/33
9/33
10/33
11/33
12/33
13/33
14/33
15/33A-b
16/33
17/33
18/33
19/33
20/33
21/33
22/33
23/33
24/33A-b
25/33
26/33
27/33
28/33
29/33
30/33
31/33
32/33
33/33

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/33] i40e base driver update

To support firmware version 'FVL3E', i40e base driver should be updated. Together with necessary modifications to i40e Poll Mode Driver, it mainly includes the base driver update which contains additional enhancements, fixes, changes for future use and so on. The details are listed as follows.

v2 changes:
Removed anything about Fortpark or FPGA as they shouldn't be there. Removed anything specifically for Solaris as they are not needed. Split patches into smaller per fixes as suggested.

Helin Zhang (33):
i40e: copyright update
i40e: disable setting of phy configuration
i40e: adjustment of register definitions and relevant i40e/base: rename 'err' to 'perrno'
i40e/base: support of building both PF and VF driver together i40e/base: support of CEE DCBX on recent firmware versions
i40e: replacement of 'i40e_debug_read_register()' i40e/base: rework of 'i40e_hmc_get_object_va'
i40e/base: update of shadow RAM read/write functions i40e/base: catch NVM write semaphore timeout and retry i40e/base: check for AQ timeout in aq_rc decode
i40e/base: fix up NVM update sm error handling
i40e/base: enhancement of polling NVM semaphore
i40e/base: enhancements of NVM checksum calculation i40e/base: replacement of DEBUGOUT() with i40e_debug() i40e/base: add fw build info to AQ data
i40e/base: define and use i40e_is_vf()
i40e/base: grab NVM devstarter version not image version i40e/base: enhancements on adminq init and sending asq command i40e/base: i40e_aq_get_link_info() should be used directly i40e/base: add new interfaces for future use
i40e/base: update of get/set LED functions
i40e/base: clean up sparse complaint in i40e_debug_aq i40e/base: get pf_id from HW rather than PCI function i40e/base: find partition_id in npar mode, and disable FCOE by default i40e/base: Reassign incorrect PHY type as a workaround for a FW issue i40e/base: add AOC phy types to case statement in get_media_type i40e/base: support for iSCSI capability
i40e/base: set FLAG_RD when sending driver version to FW i40e/base: future proof some sizeof calls
i40e/base: add more virtual channel operations for future use i40e/base: rework of structures and macros for future use i40e/base: modifications for future use

 lib/librte_pmd_i40e/Makefile               |   5 +-
 lib/librte_pmd_i40e/i40e/i40e_adminq.c     |  48 +--
 lib/librte_pmd_i40e/i40e/i40e_adminq.h     |  15 +-
 lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h | 183 +++++++++-
 lib/librte_pmd_i40e/i40e/i40e_alloc.h      |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_common.c     | 535 +++++++++++++++++++++------
 lib/librte_pmd_i40e/i40e/i40e_dcb.c        | 263 +++++++++++++-
 lib/librte_pmd_i40e/i40e/i40e_dcb.h        |  22 +-
 lib/librte_pmd_i40e/i40e/i40e_diag.c       |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_diag.h       |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_hmc.c        |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_hmc.h        |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_lan_hmc.c    |  33 +-
 lib/librte_pmd_i40e/i40e/i40e_lan_hmc.h    |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_nvm.c        | 555 ++++++++++++++++++++++-------
 lib/librte_pmd_i40e/i40e/i40e_osdep.h      |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_prototype.h  |  37 +-
 lib/librte_pmd_i40e/i40e/i40e_register.h   |  54 +--
 lib/librte_pmd_i40e/i40e/i40e_status.h     |   2 +-
 lib/librte_pmd_i40e/i40e/i40e_type.h       |  97 +++--
 lib/librte_pmd_i40e/i40e/i40e_virtchnl.h   |  43 ++-
 lib/librte_pmd_i40e/i40e_ethdev.c          |  31 +-
 lib/librte_pmd_i40e/i40e_ethdev.h          |   2 +-
 lib/librte_pmd_i40e/i40e_ethdev_vf.c       |   2 +-
 lib/librte_pmd_i40e/i40e_fdir.c            |   2 +-
 lib/librte_pmd_i40e/i40e_logs.h            |   2 +-
 lib/librte_pmd_i40e/i40e_pf.c              |   2 +-
 lib/librte_pmd_i40e/i40e_pf.h              |   2 +-
 lib/librte_pmd_i40e/i40e_rxtx.c            |   2 +-
 lib/librte_pmd_i40e/i40e_rxtx.h            |   2 +-
 30 files changed, 1513 insertions(+), 440 deletions(-)
Signature · 1 line
1.8.1.4