mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qed: Lay infrastructure for vlan filtering offload
Today, interfaces are working in vlan-promisc mode; But once vlan filtering offloaded would be supported, we'll need a method to control it directly [e.g., when setting device to PROMISC, or when running out of vlan credits]. This adds the necessary API for L2 client to manually choose whether to accept all vlans or only those for which filters were configured. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e12a285c9b
commit
3f9b4a6972
2 changed files with 21 additions and 4 deletions
|
|
@ -33,6 +33,8 @@ struct qed_update_vport_params {
|
|||
u8 vport_id;
|
||||
u8 update_vport_active_flg;
|
||||
u8 vport_active_flg;
|
||||
u8 update_accept_any_vlan_flg;
|
||||
u8 accept_any_vlan;
|
||||
u8 update_rss_flg;
|
||||
struct qed_update_vport_rss_params rss_params;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue