Lines Matching refs:vlan_id

158 				      void *addr, u16 vlan_id)  in qlcnic_delete_rx_list_mac()  argument
163 op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD; in qlcnic_delete_rx_list_mac()
164 ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); in qlcnic_delete_rx_list_mac()
168 op = vlan_id ? QLCNIC_MAC_VLAN_DEL : QLCNIC_MAC_DEL; in qlcnic_delete_rx_list_mac()
169 ret = qlcnic_sre_macaddr_change(adapter, addr, vlan_id, op); in qlcnic_delete_rx_list_mac()
177 void *addr, u16 vlan_id) in qlcnic_find_mac_filter() argument
184 tmp_fil->vlan_id == vlan_id) in qlcnic_find_mac_filter()
192 struct sk_buff *skb, int loopback_pkt, u16 vlan_id) in qlcnic_add_lb_filter() argument
202 if (!qlcnic_sriov_pf_check(adapter) || (vlan_id == 0xffff)) in qlcnic_add_lb_filter()
203 vlan_id = 0; in qlcnic_add_lb_filter()
206 hindex = qlcnic_mac_hash(src_addr, vlan_id) & in qlcnic_add_lb_filter()
215 tmp_fil = qlcnic_find_mac_filter(head, &src_addr, vlan_id); in qlcnic_add_lb_filter()
229 fil->vlan_id = vlan_id; in qlcnic_add_lb_filter()
239 tmp_fil = qlcnic_find_mac_filter(head, &src_addr, vlan_id); in qlcnic_add_lb_filter()
241 op = vlan_id ? QLCNIC_MAC_VLAN_DEL : QLCNIC_MAC_DEL; in qlcnic_add_lb_filter()
244 vlan_id, op); in qlcnic_add_lb_filter()
261 tmp_fil = qlcnic_find_mac_filter(head, &src_addr, vlan_id); in qlcnic_add_lb_filter()
264 vlan_id); in qlcnic_add_lb_filter()
271 u16 vlan_id, struct qlcnic_host_tx_ring *tx_ring) in qlcnic_82xx_change_filter() argument
291 mac_req->op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD; in qlcnic_82xx_change_filter()
295 vlan_req->vlan_id = cpu_to_le16(vlan_id); in qlcnic_82xx_change_filter()
313 u16 vlan_id = 0; in qlcnic_send_filter() local
322 vlan_id = ntohs(vh->h_vlan_TCI); in qlcnic_send_filter()
324 vlan_id = skb_vlan_tag_get(skb); in qlcnic_send_filter()
329 hval = qlcnic_mac_hash(src_addr, vlan_id); in qlcnic_send_filter()
335 tmp_fil->vlan_id == vlan_id) { in qlcnic_send_filter()
338 vlan_id, tx_ring); in qlcnic_send_filter()
353 qlcnic_change_filter(adapter, &src_addr, vlan_id, tx_ring); in qlcnic_send_filter()
355 fil->vlan_id = vlan_id; in qlcnic_send_filter()