[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
2015-02-02 02:59, Chen, Jing D: > Hi, > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > 2015-01-30 13:46, Jeff Shaw: > > > On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote: > > > > On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote: > > > > > From: "Chen Jing D(Mark)" > > > > > Jeff Shaw (18): > > > > > fm10k: add base driver > > [...] > > > > > lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 > > [...] > > > > > > > > Why is there a SHARED directory in the driver? Are there other drivers > > that use > > > > the shared fm10k code? > > > > > > No, the other poll-mode drivers do not use the shared fm10k code. The > > > directory is similar to the 'ixgbe' and 'i40e' directories in their > > > respective PMDs, only that it is named 'SHARED' for the fm10k driver. > > > > So shared is a bad name in the context of DPDK. > > Inside Intel, it can be understood that you share it between projects, > > but in DPDK, it's only a base driver. > > > > OK, I'll change "SHARED" to "fm10k". I think that "base" would be more appropriate: fm10K/base instead of fm10k/fm10k. -- Thomas :£ZdâøPçîmu=,"&ôéC~\ëèB DÔ2p/áÑY pø/ÑP;OÕ·*tEÌ~yÂø%úo6yû:táúqpz%Òñ!P2E»îTÿ((&¾<ÝVöCðq2%(TßÁÁOxjÀ3ÜJÏÙHD§#LK¹bJVβÊ%;WLºä6£ÁL¢çIÀ«P©Tb®ê¤UòìûÐk õ9ÿo8Æ¿z r)Ý!²¨;ÎýÁbÊvñÀbîB2!ÈLfin^°Ãݱ·[Û3)*×!;]I¯AÂ65£)VcHVG?ʳR¾roHÖ,èV>¢Ô\¸¨s´ý;¹Ñfù%¼:ÁÃzìÅ;Jçä`8ÈA')ÓÞ«3Øø²]h|Éhʧ?q¸ÀO*à¸ÂoM."'ãá)_Õ3O ¹<¥r¢ñSN&¾è,âõ;uò%iõªËh&:Có@ºZÙËDå Xî_[TÞk8µÆ_JT.*W\vÛ!T|Ýñmè¦Ô0ÏAÙ:Ùßh¢Éøí6a0ªÅÈ r¾ò¾ZPVUõÇ ï~Ø0©÷HËÂ{ºVVÙàHíH>%ÏíH,éÉ>_yS\$Ø¿Â;@äÁf1´ $qHt ¯*ôXìÿ bBÆèRÑϤBSdPÐ`®â`UÕ¤^%7ÊV¯Þ%Møóü¯hÏ`6å"?Ë]B`În&OÅÐåÇÙ÷ƺ 7çlD9ÚûPQÒlãpÒ[ªä$±¥ìZ\*sd©pWªZ*VKÝj>oY%§\òB\©ÕP¥VÃbílåÁ©ëÓÖïÅCM,ŹúI ¿ðÎrØâ¥À líâeæ00A^bHËñ^rE{WqÛÍ{·U÷CHQsñQÀ â}+'<ÕZÖ*"¨EÚËg3³½ ægÞÎø}Á¤NR&5ìsÔps9äqî~<ÎÍåqn)'·!¬LnÈÎd&7`gs>GT/D³1+3º ®ñHhGkÐ-[(Â7Ë Iò ärXª(,I|ŦN¬dõìw.$KXîÿë~çbÑ#$Fñâ n^xÝ!ÝCÛË¡êNÇó¥'*¤õËãh) Y 8Á{!Ä2ªÏRÏ1ìWú%þWµ,§ñ;he´X § ·Áj~AË9ÜG2{áÅc¡úîß;cee£ö"^1dzÁWÃ4åÀ #ÿ(@¥Ù»¹TA%×o¶nîE°p±ÍÃmJÓgûïw['ç§w§æéië´y¾þw)zE`ÿYk¿;?{¢Et!Þ&Þ`;ù»þX7ü=ìʼ)Üc /ú$®v\è°gÖºF÷ÑÀZc²¨H¿?\záóì£yßXRÝå§^À˲z£DþgkðÿíÈá£bVYY~¾Ô»·BåªõG*ÉñùYb¸|~&çg²úüLÒægòØù<ÙüTtôUÕùÑçïB Á¥rõ#¸6O©*ÊaóO=#ga²¥.zd§¢6
[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Saturday, January 31, 2015 6:19 AM > To: Shaw, Jeffrey B > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd > driver > > 2015-01-30 13:46, Jeff Shaw: > > On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote: > > > On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote: > > > > From: "Chen Jing D(Mark)" > > > > Jeff Shaw (18): > > > > fm10k: add base driver > [...] > > > > lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 > [...] > > > > > > Why is there a SHARED directory in the driver? Are there other drivers > that use > > > the shared fm10k code? > > > > No, the other poll-mode drivers do not use the shared fm10k code. The > > directory is similar to the 'ixgbe' and 'i40e' directories in their > > respective PMDs, only that it is named 'SHARED' for the fm10k driver. > > So shared is a bad name in the context of DPDK. > Inside Intel, it can be understood that you share it between projects, > but in DPDK, it's only a base driver. > OK, I'll change "SHARED" to "fm10k". > -- > Thomas
[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
2015-01-30 13:46, Jeff Shaw: > On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote: > > On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote: > > > From: "Chen Jing D(Mark)" > > > Jeff Shaw (18): > > > fm10k: add base driver [...] > > > lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 [...] > > > > Why is there a SHARED directory in the driver? Are there other drivers > > that use > > the shared fm10k code? > > No, the other poll-mode drivers do not use the shared fm10k code. The > directory is similar to the 'ixgbe' and 'i40e' directories in their > respective PMDs, only that it is named 'SHARED' for the fm10k driver. So shared is a bad name in the context of DPDK. Inside Intel, it can be understood that you share it between projects, but in DPDK, it's only a base driver. -- Thomas
[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote: > From: "Chen Jing D(Mark)" > > The patch set add poll mode driver for the host interface of Intel > Red Rock Canyon silicon, which integrates 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. > > Jeff Shaw (18): > fm10k: add base driver > Change config/ files to add macros for fm10k > fm10k: Add empty fm10k files > fm10k: add fm10k device id > fm10k: Add code to register fm10k pmd PF driver > 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 > Change lib/Makefile to add fm10k driver into compile list. > Change mk/rte.app.mk to add fm10k lib into link > > config/common_bsdapp|9 + > config/common_linuxapp |9 + > lib/Makefile|1 + > lib/librte_eal/common/include/rte_pci_dev_ids.h | 22 + > lib/librte_pmd_fm10k/Makefile | 96 + > lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 > lib/librte_pmd_fm10k/SHARED/fm10k_api.h | 60 + > lib/librte_pmd_fm10k/SHARED/fm10k_common.c | 573 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_common.h | 52 + > lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c | 2186 > +++ > lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h | 329 > lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h | 116 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_pf.c | 1877 +++ > lib/librte_pmd_fm10k/SHARED/fm10k_pf.h | 152 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c | 914 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h | 199 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_type.h| 925 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_vf.c | 586 ++ > lib/librte_pmd_fm10k/SHARED/fm10k_vf.h | 91 + > lib/librte_pmd_fm10k/fm10k.h| 293 +++ > lib/librte_pmd_fm10k/fm10k_ethdev.c | 1846 +++ > lib/librte_pmd_fm10k/fm10k_logs.h | 66 + > lib/librte_pmd_fm10k/fm10k_rxtx.c | 427 + > mk/rte.app.mk |4 + > 24 files changed, 11160 insertions(+), 0 deletions(-) > create mode 100644 lib/librte_pmd_fm10k/Makefile > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_type.h > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_vf.c > create mode 100644 lib/librte_pmd_fm10k/SHARED/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 > Why is there a SHARED directory in the driver? Are there other drivers that use the shared fm10k code? Neil
[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
On Fri, Jan 30, 2015 at 04:26:33PM -0500, Neil Horman wrote: > On Fri, Jan 30, 2015 at 01:07:16PM +0800, Chen Jing D(Mark) wrote: > > From: "Chen Jing D(Mark)" > > > > The patch set add poll mode driver for the host interface of Intel > > Red Rock Canyon silicon, which integrates 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. > > > > Jeff Shaw (18): > > fm10k: add base driver > > Change config/ files to add macros for fm10k > > fm10k: Add empty fm10k files > > fm10k: add fm10k device id > > fm10k: Add code to register fm10k pmd PF driver > > 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 > > Change lib/Makefile to add fm10k driver into compile list. > > Change mk/rte.app.mk to add fm10k lib into link > > > > config/common_bsdapp|9 + > > config/common_linuxapp |9 + > > lib/Makefile|1 + > > lib/librte_eal/common/include/rte_pci_dev_ids.h | 22 + > > lib/librte_pmd_fm10k/Makefile | 96 + > > lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 > > lib/librte_pmd_fm10k/SHARED/fm10k_api.h | 60 + > > lib/librte_pmd_fm10k/SHARED/fm10k_common.c | 573 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_common.h | 52 + > > lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c | 2186 > > +++ > > lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h | 329 > > lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h | 116 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_pf.c | 1877 +++ > > lib/librte_pmd_fm10k/SHARED/fm10k_pf.h | 152 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c | 914 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h | 199 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_type.h| 925 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_vf.c | 586 ++ > > lib/librte_pmd_fm10k/SHARED/fm10k_vf.h | 91 + > > lib/librte_pmd_fm10k/fm10k.h| 293 +++ > > lib/librte_pmd_fm10k/fm10k_ethdev.c | 1846 +++ > > lib/librte_pmd_fm10k/fm10k_logs.h | 66 + > > lib/librte_pmd_fm10k/fm10k_rxtx.c | 427 + > > mk/rte.app.mk |4 + > > 24 files changed, 11160 insertions(+), 0 deletions(-) > > create mode 100644 lib/librte_pmd_fm10k/Makefile > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_type.h > > create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_vf.c > > create mode 100644 lib/librte_pmd_fm10k/SHARED/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 > > > > Why is there a SHARED directory in the driver? Are there other drivers that > use > the shared fm10k code? No, the other poll-mode drivers do not use the shared fm10k code. The directory is similar to the 'ixgbe' and 'i40e' directories in their respective PMDs, only that it is named 'SHARED' for the fm10k driver. -Jeff > > Neil >
[dpdk-dev] [PATCH 00/18] lib/librte_pmd_fm10k : fm10k pmd driver
From: "Chen Jing D(Mark)"The patch set add poll mode driver for the host interface of Intel Red Rock Canyon silicon, which integrates 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. Jeff Shaw (18): fm10k: add base driver Change config/ files to add macros for fm10k fm10k: Add empty fm10k files fm10k: add fm10k device id fm10k: Add code to register fm10k pmd PF driver 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 Change lib/Makefile to add fm10k driver into compile list. Change mk/rte.app.mk to add fm10k lib into link config/common_bsdapp|9 + config/common_linuxapp |9 + lib/Makefile|1 + lib/librte_eal/common/include/rte_pci_dev_ids.h | 22 + lib/librte_pmd_fm10k/Makefile | 96 + lib/librte_pmd_fm10k/SHARED/fm10k_api.c | 327 lib/librte_pmd_fm10k/SHARED/fm10k_api.h | 60 + lib/librte_pmd_fm10k/SHARED/fm10k_common.c | 573 ++ lib/librte_pmd_fm10k/SHARED/fm10k_common.h | 52 + lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c | 2186 +++ lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h | 329 lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h | 116 ++ lib/librte_pmd_fm10k/SHARED/fm10k_pf.c | 1877 +++ lib/librte_pmd_fm10k/SHARED/fm10k_pf.h | 152 ++ lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c | 914 ++ lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h | 199 ++ lib/librte_pmd_fm10k/SHARED/fm10k_type.h| 925 ++ lib/librte_pmd_fm10k/SHARED/fm10k_vf.c | 586 ++ lib/librte_pmd_fm10k/SHARED/fm10k_vf.h | 91 + lib/librte_pmd_fm10k/fm10k.h| 293 +++ lib/librte_pmd_fm10k/fm10k_ethdev.c | 1846 +++ lib/librte_pmd_fm10k/fm10k_logs.h | 66 + lib/librte_pmd_fm10k/fm10k_rxtx.c | 427 + mk/rte.app.mk |4 + 24 files changed, 11160 insertions(+), 0 deletions(-) create mode 100644 lib/librte_pmd_fm10k/Makefile create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.c create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_api.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.c create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_common.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.c create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_mbx.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_osdep.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.c create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_pf.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.c create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_tlv.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_type.h create mode 100644 lib/librte_pmd_fm10k/SHARED/fm10k_vf.c create mode 100644 lib/librte_pmd_fm10k/SHARED/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 -- 1.7.7.6