Skip to content

lib/librte_pmd_fm10k : fm10k pmd driver

Chen Jing D(Mark) dpdk-dev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest16 patches 1 replyIn review
  2. v517 patches 14 repliesSuperseded
  3. v415 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v315 patches0 repliesSuperseded
v215 patches0 repliesSuperseded
v118 patches33 repliesSuperseded

Changes in v6 from the cover letter

- Merge ABI patch with fm10k driver regsiter patch.
- Fix typo.
- Rework comments.
- Minor adjustment on commit log.
- Increase error variable after mbuf allocation failed.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16fm10k: add base driverlib/librte_pmd_fm10k/base/fm10k_api.c lib/librte_pmd_fm10k/base/fm10k_api.h lib/librte_pmd_fm10k/base/fm10k_common.c +11 more+8617 -00 replies
2/16eal: add fm10k device idlib/librte_eal/common/include/rte_pci_dev_ids.h+22 -00 replies
3/16fm10k: register fm10k pmd PF driverlib/librte_pmd_fm10k/Makefile lib/librte_pmd_fm10k/fm10k.h lib/librte_pmd_fm10k/fm10k_ethdev.c +2 more+748 -00 replies
4/16config: change config files to add fm10k into compileconfig/common_bsdapp config/common_linuxapp lib/Makefile +1 more+27 -00 replies
5/16fm10k: add reta update/requery functionslib/librte_pmd_fm10k/fm10k_ethdev.c+162 -00 replies
6/16fm10k: add Rx queue setup/release functionlib/librte_pmd_fm10k/fm10k_ethdev.c+254 -00 replies
7/16fm10k: add Tx queue setup/release functionlib/librte_pmd_fm10k/fm10k_ethdev.c+205 -00 replies
8/16fm10k: add Rx/Tx single queue start/stop functionlib/librte_pmd_fm10k/fm10k.h lib/librte_pmd_fm10k/fm10k_ethdev.c+280 -00 replies
9/16fm10k: add dev start/stop functionslib/librte_pmd_fm10k/fm10k_ethdev.c+224 -00 replies
10/16fm10k: add receive and tranmit functionlib/librte_pmd_fm10k/Makefile lib/librte_pmd_fm10k/fm10k.h lib/librte_pmd_fm10k/fm10k_ethdev.c +1 more+327 -00 replies
11/16fm10k: add PF RSS supportlib/librte_pmd_fm10k/fm10k_ethdev.c+156 -00 replies
12/16fm10k: add scatter receive functionlib/librte_pmd_fm10k/fm10k.h lib/librte_pmd_fm10k/fm10k_ethdev.c lib/librte_pmd_fm10k/fm10k_rxtx.c+163 -00 replies
13/16fm10k: add function to set vlanlib/librte_pmd_fm10k/fm10k_ethdev.c+15 -00 replies
14/16fm10k: add SRIOV-VF supportlib/librte_pmd_fm10k/fm10k_ethdev.c+1 -00 replies
15/16fm10k: add PF and VF interrupt handling functionlib/librte_pmd_fm10k/fm10k_ethdev.c+268 -00 replies
16/16maintainers: claim for fm10k reviewMAINTAINERS+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 00/16] lib/librte_pmd_fm10k : fm10k pmd driver

From: "Chen Jing D(Mark)" <[email protected]>

The patch set add poll mode driver for the host interface of Intel Ethernet Switch FM10000 Series of silicons, which integrate NIC and switch functionalities. The patch set include below features:

1. Basic RX/TX functions for PF/VF.
2. Interrupt handling mechanism for PF/VF.
3. per queue start/stop functions for PF/VF.
4. Mailbox handling between PF/VF and PF/Switch Manager.
5. Receive Side Scaling (RSS) for PF/VF.
6. Scatter receive function for PF/VF.
7. reta update/query for PF/VF.
8. VLAN filter set for PF.
9. Link status query for PF/VF.

Change in v6:
- Merge ABI patch with fm10k driver regsiter patch.
- Fix typo.
- Rework comments.
- Minor adjustment on commit log.
- Increase error variable after mbuf allocation failed.

Change in v5:
- Add sanity check for mbuf allocation.
- Add a new patch to claim fm10k driver review
- Change commit log.
- Add unlikely in func rx_desc_to_ol_flags to gain performance
- Add a new patch to add ABI version

Change in v4:
- Change commit log to remove improper words.

Changes in v3:
- Update base driver.
- Define several macros to pass base driver compile.

Changes in v2:
- Merge 3 patches into 1 to configure fm10k compile environment.
- Rework on log code to follow style in ixgbe.
- Rework log message, remove redundant '\n'
- Update Copyright year from "2014" to "2015"
- Change base driver directory name from SHARED to base
- Add more description in log for patch "add PF and VF interrupt"
- Merge 2 patches into 1 to register fm10k driver
- Define macro to replace numeric for lower 32-bit mask.

Chen Jing D(Mark) (1):
maintainers: claim for fm10k review

Jeff Shaw (15):
fm10k: add base driver
eal: add fm10k device id
fm10k: register fm10k pmd PF driver
config: change config files to add fm10k into compile
fm10k: add reta update/requery functions
fm10k: add Rx queue setup/release function
fm10k: add Tx queue setup/release function
fm10k: add Rx/Tx single queue start/stop function
fm10k: add dev start/stop functions
fm10k: add receive and tranmit function
fm10k: add PF RSS support
fm10k: add scatter receive function
fm10k: add function to set vlan
fm10k: add SRIOV-VF support
fm10k: add PF and VF interrupt handling function

 MAINTAINERS                                     |    4 +
 config/common_bsdapp                            |   11 +
 config/common_linuxapp                          |   11 +
 lib/Makefile                                    |    1 +
 lib/librte_eal/common/include/rte_pci_dev_ids.h |   22 +
 lib/librte_pmd_fm10k/Makefile                   |  100 +
 lib/librte_pmd_fm10k/base/fm10k_api.c           |  341 ++++
 lib/librte_pmd_fm10k/base/fm10k_api.h           |   61 +
 lib/librte_pmd_fm10k/base/fm10k_common.c        |  572 ++++++
 lib/librte_pmd_fm10k/base/fm10k_common.h        |   52 +
 lib/librte_pmd_fm10k/base/fm10k_mbx.c           | 2185 +++++++++++++++++++++++
 lib/librte_pmd_fm10k/base/fm10k_mbx.h           |  329 ++++
 lib/librte_pmd_fm10k/base/fm10k_osdep.h         |  148 ++
 lib/librte_pmd_fm10k/base/fm10k_pf.c            | 1992 +++++++++++++++++++++
 lib/librte_pmd_fm10k/base/fm10k_pf.h            |  155 ++
 lib/librte_pmd_fm10k/base/fm10k_tlv.c           |  914 ++++++++++
 lib/librte_pmd_fm10k/base/fm10k_tlv.h           |  199 ++
 lib/librte_pmd_fm10k/base/fm10k_type.h          |  937 ++++++++++
 lib/librte_pmd_fm10k/base/fm10k_vf.c            |  641 +++++++
 lib/librte_pmd_fm10k/base/fm10k_vf.h            |   91 +
 lib/librte_pmd_fm10k/fm10k.h                    |  292 +++
 lib/librte_pmd_fm10k/fm10k_ethdev.c             | 1867 +++++++++++++++++++
 lib/librte_pmd_fm10k/fm10k_logs.h               |   78 +
 lib/librte_pmd_fm10k/fm10k_rxtx.c               |  462 +++++
 lib/librte_pmd_fm10k/rte_pmd_fm10k_version.map  |    4 +
 mk/rte.app.mk                                   |    4 +
 26 files changed, 11473 insertions(+), 0 deletions(-)
 create mode 100644 lib/librte_pmd_fm10k/Makefile
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_api.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_api.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_common.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_common.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_mbx.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_mbx.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_osdep.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_pf.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_pf.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_tlv.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_tlv.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_type.h
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_vf.c
 create mode 100644 lib/librte_pmd_fm10k/base/fm10k_vf.h
 create mode 100644 lib/librte_pmd_fm10k/fm10k.h
 create mode 100644 lib/librte_pmd_fm10k/fm10k_ethdev.c
 create mode 100644 lib/librte_pmd_fm10k/fm10k_logs.h
 create mode 100644 lib/librte_pmd_fm10k/fm10k_rxtx.c
 create mode 100644 lib/librte_pmd_fm10k/rte_pmd_fm10k_version.map
Signature · 1 line
1.7.7.6