net: marvell: prestera: add virtual router ABI
Add functions and structures to allocate virtual router. prestera_hw_vr_create() return index of allocated VR so that we can move forward and also add another objects (e.g. router interface), which has link to VR. Co-developed-by: NTaras Chornyi <tchornyi@marvell.com> Signed-off-by: NTaras Chornyi <tchornyi@marvell.com> Co-developed-by: NOleksandr Mazur <oleksandr.mazur@plvision.eu> Signed-off-by: NOleksandr Mazur <oleksandr.mazur@plvision.eu> Signed-off-by: NYevhen Orlov <yevhen.orlov@plvision.eu> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录