Searched refs:vlan_ops (Results 1 – 8 of 8) sorted by relevance
35 struct ice_vsi_vlan_ops *vlan_ops; in ice_vf_vsi_init_vlan_ops() local43 vlan_ops = &vsi->outer_vlan_ops; in ice_vf_vsi_init_vlan_ops()46 vlan_ops->add_vlan = ice_vsi_add_vlan; in ice_vf_vsi_init_vlan_ops()47 vlan_ops->dis_rx_filtering = ice_vsi_dis_rx_vlan_filtering; in ice_vf_vsi_init_vlan_ops()48 vlan_ops->ena_tx_filtering = ice_vsi_ena_tx_vlan_filtering; in ice_vf_vsi_init_vlan_ops()49 vlan_ops->dis_tx_filtering = ice_vsi_dis_tx_vlan_filtering; in ice_vf_vsi_init_vlan_ops()53 vlan_ops->set_port_vlan = ice_vsi_set_outer_port_vlan; in ice_vf_vsi_init_vlan_ops()54 vlan_ops->ena_rx_filtering = in ice_vf_vsi_init_vlan_ops()58 vlan_ops = &vsi->inner_vlan_ops; in ice_vf_vsi_init_vlan_ops()59 vlan_ops->add_vlan = noop_vlan_arg; in ice_vf_vsi_init_vlan_ops()[all …]
12 struct ice_vsi_vlan_ops *vlan_ops; in ice_pf_vsi_init_vlan_ops() local15 vlan_ops = &vsi->outer_vlan_ops; in ice_pf_vsi_init_vlan_ops()17 vlan_ops->add_vlan = ice_vsi_add_vlan; in ice_pf_vsi_init_vlan_ops()18 vlan_ops->del_vlan = ice_vsi_del_vlan; in ice_pf_vsi_init_vlan_ops()19 vlan_ops->ena_stripping = ice_vsi_ena_outer_stripping; in ice_pf_vsi_init_vlan_ops()20 vlan_ops->dis_stripping = ice_vsi_dis_outer_stripping; in ice_pf_vsi_init_vlan_ops()21 vlan_ops->ena_insertion = ice_vsi_ena_outer_insertion; in ice_pf_vsi_init_vlan_ops()22 vlan_ops->dis_insertion = ice_vsi_dis_outer_insertion; in ice_pf_vsi_init_vlan_ops()23 vlan_ops->ena_rx_filtering = ice_vsi_ena_rx_vlan_filtering; in ice_pf_vsi_init_vlan_ops()24 vlan_ops->dis_rx_filtering = ice_vsi_dis_rx_vlan_filtering; in ice_pf_vsi_init_vlan_ops()[all …]
769 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_ena_spoofchk() local772 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_ena_spoofchk()776 err = vlan_ops->ena_tx_filtering(vsi); in ice_vsi_ena_spoofchk()790 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_dis_spoofchk() local793 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_dis_spoofchk()795 err = vlan_ops->dis_tx_filtering(vsi); in ice_vsi_dis_spoofchk()930 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vf_rebuild_host_vlan_cfg() local935 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()942 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()954 err = vlan_ops->ena_rx_filtering(vsi); in ice_vf_rebuild_host_vlan_cfg()
119 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_setup_env() local122 vlan_ops = ice_get_compat_vsi_vlan_ops(ctrl_vsi); in ice_eswitch_setup_env()123 if (vlan_ops->dis_stripping(ctrl_vsi)) in ice_eswitch_setup_env()
323 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_sync_fltr() local425 vlan_ops->dis_rx_filtering(vsi); in ice_vsi_sync_fltr()440 vlan_ops->ena_rx_filtering(vsi); in ice_vsi_sync_fltr()3545 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_add_vid() local3568 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_add_vid()3574 ret = vlan_ops->add_vlan(vsi, &vlan); in ice_vlan_rx_add_vid()3608 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_kill_vid() local3628 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_kill_vid()3634 ret = vlan_ops->del_vlan(vsi, &vlan); in ice_vlan_rx_kill_vid()5898 struct ice_vsi_vlan_ops *vlan_ops; in ice_set_vlan_offload_features() local[all …]
586 struct ice_vsi_vlan_ops *vlan_ops; in ice_init_vf_vsi_res() local607 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_init_vf_vsi_res()608 err = vlan_ops->ena_rx_filtering(vsi); in ice_init_vf_vsi_res()
4075 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_add_vlan_zero() local4080 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()4089 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()4105 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_del_vlan_zero() local4110 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()4119 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()
998 struct ice_vsi_vlan_ops *vlan_ops; in ice_vc_cfg_promiscuous_mode_msg() local1038 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vc_cfg_promiscuous_mode_msg()1040 ret = vlan_ops->ena_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()1042 ret = vlan_ops->dis_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()