Home
last modified time | relevance | path

Searched refs:vfc (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_lif.c2478 struct ionic_vf_setattr_cmd vfc = { .attr = IONIC_VF_ATTR_MAC }; in ionic_set_vf_mac() local
2494 ether_addr_copy(vfc.macaddr, mac); in ionic_set_vf_mac()
2496 __func__, vf, vfc.macaddr); in ionic_set_vf_mac()
2498 ret = ionic_set_vf_config(ionic, vf, &vfc); in ionic_set_vf_mac()
2510 struct ionic_vf_setattr_cmd vfc = { .attr = IONIC_VF_ATTR_VLAN }; in ionic_set_vf_vlan() local
2533 vfc.vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
2535 __func__, vf, le16_to_cpu(vfc.vlanid)); in ionic_set_vf_vlan()
2537 ret = ionic_set_vf_config(ionic, vf, &vfc); in ionic_set_vf_vlan()
2549 struct ionic_vf_setattr_cmd vfc = { .attr = IONIC_VF_ATTR_RATE }; in ionic_set_vf_rate() local
2566 vfc.maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
[all …]
Dionic_bus_pci.c112 struct ionic_vf_setattr_cmd vfc = { .attr = IONIC_VF_ATTR_STATSADDR }; in ionic_vf_dealloc_locked() local
123 vfc.stats_pa = 0; in ionic_vf_dealloc_locked()
124 ionic_set_vf_config(ionic, i, &vfc); in ionic_vf_dealloc_locked()
145 struct ionic_vf_setattr_cmd vfc = { .attr = IONIC_VF_ATTR_STATSADDR }; in ionic_vf_alloc() local
171 vfc.stats_pa = cpu_to_le64(v->stats_pa); in ionic_vf_alloc()
172 ionic_set_vf_config(ionic, i, &vfc); in ionic_vf_alloc()
Dionic_dev.c453 struct ionic_vf_setattr_cmd *vfc) in ionic_set_vf_config() argument
457 .vf_setattr.attr = vfc->attr, in ionic_set_vf_config()
462 memcpy(cmd.vf_setattr.pad, vfc->pad, sizeof(vfc->pad)); in ionic_set_vf_config()
Dionic_dev.h342 struct ionic_vf_setattr_cmd *vfc);
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c2926 ice_vc_validate_vlan_filter_list(struct virtchnl_vlan_filtering_caps *vfc, in ice_vc_validate_vlan_filter_list() argument
2936 &vfc->filtering_support; in ice_vc_validate_vlan_filter_list()
3199 struct virtchnl_vlan_filtering_caps *vfc, in ice_vc_validate_add_vlan_filter_list() argument
3205 if (num_requested_filters > vfc->max_filters) in ice_vc_validate_add_vlan_filter_list()
3208 return ice_vc_validate_vlan_filter_list(vfc, vfl); in ice_vc_validate_add_vlan_filter_list()