netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2024-03-21  8:16 Karthik Sundaravel
  2024-03-21  8:16 ` [PATCH v6] ice: Add get/set hw address for VFs using devlink commands Karthik Sundaravel
  0 siblings, 1 reply; 3+ messages in thread
From: Karthik Sundaravel @ 2024-03-21  8:16 UTC (permalink / raw)
  To: jesse.brandeburg, wojciech.drewek, sumang, jacob.e.keller,
	anthony.l.nguyen, davem, edumazet, kuba, pabeni, intel-wired-lan,
	netdev, linux-kernel
  Cc: pmenzel, jiri, michal.swiatkowski, rjarry, aharivel, vchundur,
	ksundara, cfontain

Dear Maintainers,
    Thanks for the review and suggestions for my patch.
In this patch v6, I have used container_of() instead of
ice_get_vf_by_id(). Also since the ice_set_vf_fn_mac()
is a copy of the existing function ice_set_vf_mac(),
except for the parameters, I didn't absorb the review
comments on that. Please advise if the validation checks
needs to be modified.

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-26 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21  8:16 Karthik Sundaravel
2024-03-21  8:16 ` [PATCH v6] ice: Add get/set hw address for VFs using devlink commands Karthik Sundaravel
2024-03-26 14:08   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).