Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_vf_vsi_vlan_ops.c26 struct ice_vsi_vlan_ops *vlan_ops; in ice_port_vlan_on() local
30 vlan_ops = &vsi->outer_vlan_ops; in ice_port_vlan_on()
33 vlan_ops->set_port_vlan = ice_vsi_set_outer_port_vlan; in ice_port_vlan_on()
34 vlan_ops->clear_port_vlan = ice_vsi_clear_outer_port_vlan; in ice_port_vlan_on()
37 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_on()
38 vlan_ops->add_vlan = noop_vlan_arg; in ice_port_vlan_on()
39 vlan_ops->del_vlan = noop_vlan_arg; in ice_port_vlan_on()
40 vlan_ops->ena_stripping = ice_vsi_ena_inner_stripping; in ice_port_vlan_on()
41 vlan_ops->dis_stripping = ice_vsi_dis_inner_stripping; in ice_port_vlan_on()
42 vlan_ops->ena_insertion = ice_vsi_ena_inner_insertion; in ice_port_vlan_on()
[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.c316 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vf_rebuild_host_vlan_cfg() local
321 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
328 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
340 err = vlan_ops->ena_rx_filtering(vsi); in ice_vf_rebuild_host_vlan_cfg()
1109 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_ena_spoofchk() local
1112 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_ena_spoofchk()
1116 err = vlan_ops->ena_tx_filtering(vsi); in ice_vsi_ena_spoofchk()
1130 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_dis_spoofchk() local
1133 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_dis_spoofchk()
1135 err = vlan_ops->dis_tx_filtering(vsi); in ice_vsi_dis_spoofchk()
[all …]
Dice_eswitch.c84 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_setup_env() local
103 vlan_ops = ice_get_compat_vsi_vlan_ops(uplink_vsi); in ice_eswitch_setup_env()
104 if (vlan_ops->dis_rx_filtering(uplink_vsi)) in ice_eswitch_setup_env()
123 vlan_ops->ena_rx_filtering(uplink_vsi); in ice_eswitch_setup_env()
395 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_release_env() local
397 vlan_ops = ice_get_compat_vsi_vlan_ops(uplink_vsi); in ice_eswitch_release_env()
402 vlan_ops->ena_rx_filtering(uplink_vsi); in ice_eswitch_release_env()
Dice_eswitch_br.c610 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_br_clear_pvid() local
612 vlan_ops = ice_get_compat_vsi_vlan_ops(port->vsi); in ice_eswitch_br_clear_pvid()
614 vlan_ops->del_vlan(port->vsi, &port_vlan); in ice_eswitch_br_clear_pvid()
615 vlan_ops->clear_port_vlan(port->vsi); in ice_eswitch_br_clear_pvid()
657 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_br_set_pvid() local
676 vlan_ops = ice_get_compat_vsi_vlan_ops(port->vsi); in ice_eswitch_br_set_pvid()
677 err = vlan_ops->set_port_vlan(port->vsi, &port_vlan); in ice_eswitch_br_set_pvid()
681 err = vlan_ops->add_vlan(port->vsi, &port_vlan); in ice_eswitch_br_set_pvid()
Dice_main.c320 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_sync_fltr() local
422 vlan_ops->dis_rx_filtering(vsi); in ice_vsi_sync_fltr()
447 vlan_ops->ena_rx_filtering(vsi); in ice_vsi_sync_fltr()
3601 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_add_vid() local
3624 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_add_vid()
3630 ret = vlan_ops->add_vlan(vsi, &vlan); in ice_vlan_rx_add_vid()
3664 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_kill_vid() local
3684 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_kill_vid()
3690 ret = vlan_ops->del_vlan(vsi, &vlan); in ice_vlan_rx_kill_vid()
6041 struct ice_vsi_vlan_ops *vlan_ops; in ice_set_vlan_offload_features() local
[all …]
Dice_lib.c3841 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_add_vlan_zero() local
3846 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()
3855 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()
3871 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_del_vlan_zero() local
3876 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()
3885 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()
Dice_virtchnl.c999 struct ice_vsi_vlan_ops *vlan_ops; in ice_vc_cfg_promiscuous_mode_msg() local
1039 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vc_cfg_promiscuous_mode_msg()
1041 ret = vlan_ops->ena_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()
1043 ret = vlan_ops->dis_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()