[PATCH iwl-next v12] ice: Add get/set hw address for VFs using devlink commands
From: Karthik Sundaravel
Date: Tue May 28 2024 - 11:05:28 EST
Dear Maintainers,
Thanks for the review and suggestions for my patch.
v11 -> v12
----------
- Fix kernel-doc warnings
v10 -> v11
----------
- rename the function ice_set_vf_mac_fn() to __ice_set_vf_mac()
v9 -> v10
--------
- Refactor ice_set_vf_mac() to use reuse the common code blocks
for setting the MAC addresses in both netdev and devlink flow.
v8 -> v9
--------
- Rebasing against dev-queue branch of next-queue tree
v7 -> v8
--------
- Added const keyword for the parameter ``mac`` in ice_set_vf_fn_mac()
v6 -> v7
--------
- Addressed Smatch and checkpatch issues
v5 -> v6
--------
- Changed data type of vf_id to u16
- Used container_of(port, struct ice_vf, devlink_port) to
get the vf instead of ice_get_vf_by_id()/ice_put_vf()
v4 -> v5
--------
- Cloned ice_set_vf_mac() to ice_set_vf_fn_mac() so that the
parameter ice_pf is used instead of net_device of vf
- removed redundant error handling
v3 -> v4
--------
- Released the vf device by calling ice_put_vf()
v2 -> v3
--------
- Fill the extack message instead of dev_err()
v1 -> v2
--------
- called ice_set_vf_mac() directly from the devlink port function
handlers.
RFC -> v1
---------
- Add the function handlers to set and get the HW address for the
VF representor ports.