Commit 71c114e8 authored by Jacob Keller's avatar Jacob Keller Committed by Tony Nguyen
Browse files

ice: add a function comment for ice_cfg_mac_antispoof



This function definition was missing a comment describing its
implementation. Add one.

Signed-off-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent 19c3e1ed
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;