Home
last modified time | relevance | path

Searched refs:vlan_ops (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_vf_vsi_vlan_ops.c35 struct ice_vsi_vlan_ops *vlan_ops; in ice_vf_vsi_init_vlan_ops() local
43 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 …]
Dice_pf_vsi_vlan_ops.c12 struct ice_vsi_vlan_ops *vlan_ops; in ice_pf_vsi_init_vlan_ops() local
15 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 …]
Dice_vf_lib.c769 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_ena_spoofchk() local
772 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() local
793 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() local
935 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()
Dice_eswitch.c119 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_setup_env() local
122 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()
Dice_main.c323 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_sync_fltr() local
425 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() local
3568 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() local
3628 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 …]
Dice_sriov.c586 struct ice_vsi_vlan_ops *vlan_ops; in ice_init_vf_vsi_res() local
607 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()
Dice_lib.c4075 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_add_vlan_zero() local
4080 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() local
4110 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()
Dice_virtchnl.c998 struct ice_vsi_vlan_ops *vlan_ops; in ice_vc_cfg_promiscuous_mode_msg() local
1038 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()