/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_prototype.h | 163 struct i40e_aqc_add_macvlan_element_data *mv_list, 167 struct i40e_aqc_add_macvlan_element_data *mv_list, 171 struct i40e_aqc_remove_macvlan_element_data *mv_list, 175 struct i40e_aqc_remove_macvlan_element_data *mv_list,
|
H A D | i40e_common.c | 2521 * @mv_list: list of macvlans to be added 2530 i40e_prepare_add_macvlan(struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_prepare_add_macvlan() argument 2538 buf_size = count * sizeof(*mv_list); in i40e_prepare_add_macvlan() 2548 if (is_multicast_ether_addr(mv_list[i].mac_addr)) in i40e_prepare_add_macvlan() 2549 mv_list[i].flags |= in i40e_prepare_add_macvlan() 2563 * @mv_list: list of macvlans to be added 2571 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() 2577 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan() 2580 buf_size = i40e_prepare_add_macvlan(mv_list, &desc, count, seid); in i40e_aq_add_macvlan() 2582 return i40e_asq_send_command_atomic(hw, &desc, mv_list, buf_siz in i40e_aq_add_macvlan() 2570 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) i40e_aq_add_macvlan() argument 2602 i40e_aq_add_macvlan_v2(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details, enum i40e_admin_queue_err *aq_status) i40e_aq_add_macvlan_v2() argument 2630 i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_remove_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) i40e_aq_remove_macvlan() argument 2678 i40e_aq_remove_macvlan_v2(struct i40e_hw *hw, u16 seid, struct i40e_aqc_remove_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details, enum i40e_admin_queue_err *aq_status) i40e_aq_remove_macvlan_v2() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 28 struct vf_macvlans *mv_list; in ixgbe_alloc_vf_macvlans() local 39 mv_list = kcalloc(num_vf_macvlans, sizeof(struct vf_macvlans), in ixgbe_alloc_vf_macvlans() 41 if (mv_list) { in ixgbe_alloc_vf_macvlans() 43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans() 44 mv_list[i].free = true; in ixgbe_alloc_vf_macvlans() 45 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans() 47 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans() 232 kfree(adapter->mv_list); in ixgbe_disable_sriov() 233 adapter->mv_list in ixgbe_disable_sriov() [all...] |
H A D | ixgbe.h | 747 struct vf_macvlans *mv_list; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 28 struct vf_macvlans *mv_list; in ixgbe_alloc_vf_macvlans() local 39 mv_list = kcalloc(num_vf_macvlans, sizeof(struct vf_macvlans), in ixgbe_alloc_vf_macvlans() 41 if (mv_list) { in ixgbe_alloc_vf_macvlans() 43 mv_list[i].vf = -1; in ixgbe_alloc_vf_macvlans() 44 mv_list[i].free = true; in ixgbe_alloc_vf_macvlans() 45 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans() 47 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans() 232 kfree(adapter->mv_list); in ixgbe_disable_sriov() 233 adapter->mv_list in ixgbe_disable_sriov() [all...] |
H A D | ixgbe.h | 790 struct vf_macvlans *mv_list; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_prototype.h | 147 struct i40e_aqc_add_macvlan_element_data *mv_list, 150 struct i40e_aqc_remove_macvlan_element_data *mv_list,
|
H A D | i40e_common.c | 2748 * @mv_list: list of macvlans to be added 2755 struct i40e_aqc_add_macvlan_element_data *mv_list, in i40e_aq_add_macvlan() 2765 if (count == 0 || !mv_list || !hw) in i40e_aq_add_macvlan() 2768 buf_size = count * sizeof(*mv_list); in i40e_aq_add_macvlan() 2778 if (is_multicast_ether_addr(mv_list[i].mac_addr)) in i40e_aq_add_macvlan() 2779 mv_list[i].flags |= in i40e_aq_add_macvlan() 2786 status = i40e_asq_send_command(hw, &desc, mv_list, buf_size, in i40e_aq_add_macvlan() 2796 * @mv_list: list of macvlans to be removed 2803 struct i40e_aqc_remove_macvlan_element_data *mv_list, in i40e_aq_remove_macvlan() 2812 if (count == 0 || !mv_list || !h in i40e_aq_remove_macvlan() 2754 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_add_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) i40e_aq_add_macvlan() argument 2802 i40e_aq_remove_macvlan(struct i40e_hw *hw, u16 seid, struct i40e_aqc_remove_macvlan_element_data *mv_list, u16 count, struct i40e_asq_cmd_details *cmd_details) i40e_aq_remove_macvlan() argument [all...] |