Lines Matching refs:vsi
11 op_unsupported_vlan_arg(struct ice_vsi * __always_unused vsi, in op_unsupported_vlan_arg() argument
18 op_unsupported_tpid_arg(struct ice_vsi *__always_unused vsi, in op_unsupported_tpid_arg() argument
24 static int op_unsupported(struct ice_vsi *__always_unused vsi) in op_unsupported() argument
55 static void ice_vsi_init_unsupported_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_unsupported_vlan_ops() argument
57 vsi->outer_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops()
58 vsi->inner_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops()
69 void ice_vsi_init_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_vlan_ops() argument
72 ice_vsi_init_unsupported_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
74 switch (vsi->type) { in ice_vsi_init_vlan_ops()
76 ice_pf_vsi_init_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
79 ice_vf_vsi_init_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
82 ice_sf_vsi_init_vlan_ops(vsi); in ice_vsi_init_vlan_ops()
85 dev_dbg(ice_pf_to_dev(vsi->back), "%s does not support VLAN operations\n", in ice_vsi_init_vlan_ops()
86 ice_vsi_type_str(vsi->type)); in ice_vsi_init_vlan_ops()
100 struct ice_vsi_vlan_ops *ice_get_compat_vsi_vlan_ops(struct ice_vsi *vsi) in ice_get_compat_vsi_vlan_ops() argument
102 if (ice_is_dvm_ena(&vsi->back->hw)) in ice_get_compat_vsi_vlan_ops()
103 return &vsi->outer_vlan_ops; in ice_get_compat_vsi_vlan_ops()
105 return &vsi->inner_vlan_ops; in ice_get_compat_vsi_vlan_ops()