Message ID | 587FAB7876D85676+20240415110225.75132-1-mengyuanlou@net-swift.com (mailing list archive) |
---|---|
Headers | show |
Series | add sriov support for wangxun NICs | expand |
On Mon, 15 Apr 2024 18:54:27 +0800 Mengyuan Lou wrote: > Do not accept any new implementations of the old SR-IOV API. > So remove ndo_vf_xxx in these patches. But you're not adding support for switchdev mode either, so how are you going to configure them?
> 2024年4月16日 02:27,Jakub Kicinski <kuba@kernel.org> 写道: > > On Mon, 15 Apr 2024 18:54:27 +0800 Mengyuan Lou wrote: >> Do not accept any new implementations of the old SR-IOV API. >> So remove ndo_vf_xxx in these patches. > > But you're not adding support for switchdev mode either, > so how are you going to configure them? Do you mean .sriov_configure? Had implement it in patch2 and add it patch5/6. I have missed any other interfaces? Thanks. Lou >
On Tue, 16 Apr 2024 10:55:16 +0800 mengyuanlou@net-swift.com wrote: > > On Mon, 15 Apr 2024 18:54:27 +0800 Mengyuan Lou wrote: > >> Do not accept any new implementations of the old SR-IOV API. > >> So remove ndo_vf_xxx in these patches. > > > > But you're not adding support for switchdev mode either, > > so how are you going to configure them? > > Do you mean .sriov_configure? > Had implement it in patch2 and add it patch5/6. No, I mean configuring the forwarding, VF MAC addrs, getting stats, etc.
> 2024年4月16日 22:31,Jakub Kicinski <kuba@kernel.org> 写道: > > On Tue, 16 Apr 2024 10:55:16 +0800 mengyuanlou@net-swift.com wrote: >>> On Mon, 15 Apr 2024 18:54:27 +0800 Mengyuan Lou wrote: >>>> Do not accept any new implementations of the old SR-IOV API. >>>> So remove ndo_vf_xxx in these patches. >>> >>> But you're not adding support for switchdev mode either, >>> so how are you going to configure them? >> >> Do you mean .sriov_configure? >> Had implement it in patch2 and add it patch5/6. > > No, I mean configuring the forwarding, VF MAC addrs, getting stats, etc. These Apis will be added in vf driver which will be submitted later.