nfp: allocate ring SW structs dynamically
To be able to switch rings more easily on config changes allocate them dynamically, separately from nfp_net structure. Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录