ice: add a function comment for ice_cfg_mac_antispoof
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 11 Apr 2022 23:29:06 +0000 (16:29 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 5 May 2022 18:28:36 +0000 (11:28 -0700)
This function definition was missing a comment describing its
implementation. Add one.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_vf_lib.c

index 8f875a17755f625df5b2b9375ba1925376bb9ef4..cd8e6b50968c18d5308d405c88e81b12107c28b8 100644 (file)
@@ -657,6 +657,13 @@ struct ice_port_info *ice_vf_get_port_info(struct ice_vf *vf)
        return vf->pf->hw.port_info;
 }
 
+/**
+ * ice_cfg_mac_antispoof - Configure MAC antispoof checking behavior
+ * @vsi: the VSI to configure
+ * @enable: whether to enable or disable the spoof checking
+ *
+ * Configure a VSI to enable (or disable) spoof checking behavior.
+ */
 static int ice_cfg_mac_antispoof(struct ice_vsi *vsi, bool enable)
 {
        struct ice_vsi_ctx *ctx;