net: wangxun: Implement vlan add and kill functions
authorMengyuan Lou <mengyuanlou@net-swift.com>
Tue, 30 May 2023 02:26:27 +0000 (10:26 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Jun 2023 06:02:26 +0000 (23:02 -0700)
commitf3b03c655f67834cb25174ac6f2b099c9e68c74d
treee30b8ec5f174f332e71fca2ec3e5d08410b52192
parentef4f3c19f912820c15a6de0aedcc0fda67c7dd3a
net: wangxun: Implement vlan add and kill functions

Implement vlan add/kill functions which add and remove
vlan id in hardware.

Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/libwx/wx_hw.c
drivers/net/ethernet/wangxun/libwx/wx_hw.h
drivers/net/ethernet/wangxun/libwx/wx_lib.c
drivers/net/ethernet/wangxun/libwx/wx_type.h