Home
last modified time | relevance | path

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

/linux-6.12.1/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->inner_vlan_ops; in ice_port_vlan_on()
33 vlan_ops->add_vlan = noop_vlan_arg; in ice_port_vlan_on()
34 vlan_ops->del_vlan = noop_vlan_arg; in ice_port_vlan_on()
35 vlan_ops->ena_stripping = ice_vsi_ena_inner_stripping; in ice_port_vlan_on()
36 vlan_ops->dis_stripping = ice_vsi_dis_inner_stripping; in ice_port_vlan_on()
37 vlan_ops->ena_insertion = ice_vsi_ena_inner_insertion; in ice_port_vlan_on()
38 vlan_ops->dis_insertion = ice_vsi_dis_inner_insertion; in ice_port_vlan_on()
41 vlan_ops = &vsi->outer_vlan_ops; in ice_port_vlan_on()
42 vlan_ops->set_port_vlan = ice_vsi_set_outer_port_vlan; 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_sf_vsi_vlan_ops.c12 struct ice_vsi_vlan_ops *vlan_ops; in ice_sf_vsi_init_vlan_ops() local
15 vlan_ops = &vsi->outer_vlan_ops; in ice_sf_vsi_init_vlan_ops()
17 vlan_ops = &vsi->inner_vlan_ops; in ice_sf_vsi_init_vlan_ops()
19 vlan_ops->add_vlan = ice_vsi_add_vlan; in ice_sf_vsi_init_vlan_ops()
20 vlan_ops->del_vlan = ice_vsi_del_vlan; in ice_sf_vsi_init_vlan_ops()
Dice_vf_lib.c324 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vf_rebuild_host_vlan_cfg() local
329 err = vlan_ops->set_port_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
336 err = vlan_ops->add_vlan(vsi, &vf->port_vlan_info); in ice_vf_rebuild_host_vlan_cfg()
355 err = vlan_ops->ena_rx_filtering(vsi); in ice_vf_rebuild_host_vlan_cfg()
1126 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_ena_spoofchk() local
1129 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_ena_spoofchk()
1133 err = vlan_ops->ena_tx_filtering(vsi); in ice_vsi_ena_spoofchk()
1147 struct ice_vsi_vlan_ops *vlan_ops; in ice_vsi_dis_spoofchk() local
1150 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_dis_spoofchk()
1152 err = vlan_ops->dis_tx_filtering(vsi); in ice_vsi_dis_spoofchk()
[all …]
Dice_eswitch.c25 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_setup_env() local
49 vlan_ops = ice_get_compat_vsi_vlan_ops(uplink_vsi); in ice_eswitch_setup_env()
50 if (vlan_ops->dis_rx_filtering(uplink_vsi)) in ice_eswitch_setup_env()
69 vlan_ops->ena_rx_filtering(uplink_vsi); in ice_eswitch_setup_env()
274 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_release_env() local
276 vlan_ops = ice_get_compat_vsi_vlan_ops(uplink_vsi); in ice_eswitch_release_env()
280 vlan_ops->ena_rx_filtering(uplink_vsi); in ice_eswitch_release_env()
Dice_eswitch_br.c613 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_br_clear_pvid() local
615 vlan_ops = ice_get_compat_vsi_vlan_ops(port->vsi); in ice_eswitch_br_clear_pvid()
617 vlan_ops->del_vlan(port->vsi, &port_vlan); in ice_eswitch_br_clear_pvid()
618 vlan_ops->clear_port_vlan(port->vsi); in ice_eswitch_br_clear_pvid()
660 struct ice_vsi_vlan_ops *vlan_ops; in ice_eswitch_br_set_pvid() local
679 vlan_ops = ice_get_compat_vsi_vlan_ops(port->vsi); in ice_eswitch_br_set_pvid()
680 err = vlan_ops->set_port_vlan(port->vsi, &port_vlan); in ice_eswitch_br_set_pvid()
684 err = vlan_ops->add_vlan(port->vsi, &port_vlan); in ice_eswitch_br_set_pvid()
Dice_main.c324 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_sync_fltr() local
426 vlan_ops->dis_rx_filtering(vsi); in ice_vsi_sync_fltr()
451 vlan_ops->ena_rx_filtering(vsi); in ice_vsi_sync_fltr()
3763 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_add_vid() local
3786 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_add_vid()
3792 ret = vlan_ops->add_vlan(vsi, &vlan); in ice_vlan_rx_add_vid()
3825 struct ice_vsi_vlan_ops *vlan_ops; in ice_vlan_rx_kill_vid() local
3845 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vlan_rx_kill_vid()
3851 ret = vlan_ops->del_vlan(vsi, &vlan); in ice_vlan_rx_kill_vid()
6314 struct ice_vsi_vlan_ops *vlan_ops; in ice_set_vlan_offload_features() local
[all …]
Dice_lib.c3712 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_add_vlan_zero() local
3717 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()
3726 err = vlan_ops->add_vlan(vsi, &vlan); in ice_vsi_add_vlan_zero()
3742 struct ice_vsi_vlan_ops *vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vsi_del_vlan_zero() local
3747 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()
3756 err = vlan_ops->del_vlan(vsi, &vlan); in ice_vsi_del_vlan_zero()
Dice_virtchnl.c1050 struct ice_vsi_vlan_ops *vlan_ops; in ice_vc_cfg_promiscuous_mode_msg() local
1090 vlan_ops = ice_get_compat_vsi_vlan_ops(vsi); in ice_vc_cfg_promiscuous_mode_msg()
1092 ret = vlan_ops->ena_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()
1094 ret = vlan_ops->dis_rx_filtering(vsi); in ice_vc_cfg_promiscuous_mode_msg()