FreeBSD/sys/dev/ixl/if_ixlv.c
/*
** ixlv_config_rss - setup RSS 
**
** RSS keys and table are cleared on VF reset.
*/
setup RSS
RSS keys and table are cleared on VF reset.
setup RSS RSS keys and table are cleared on VF reset .
static void
ixlv_config_rss(struct ixlv_sc *sc)
{
	if (sc->vf_res->vf_offload_flags & I40E_VIRTCHNL_VF_OFFLOAD_RSS_REG) {
		DDPRINTF(sc->dev, "Setting up RSS using VF registers...");
		ixlv_config_rss_reg(sc);
	} else if (sc->vf_res->vf_offload_flags & I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF) {
		DDPRINTF(sc->dev, "Setting up RSS using messages to PF...");
		ixlv_config_rss_pf(sc);
	} else
		device_printf(sc->dev, "VF does not support RSS capability sent by PF.\n");
}
static void ixlv_config_rss ( struct ixlv_sc * sc ) { if ( sc -> vf_res -> vf_offload_flags & I40E_VIRTCHNL_VF_OFFLOAD_RSS_REG ) { DDPRINTF ( sc -> dev , " " ) ; ixlv_config_rss_reg ( sc ) ; } else if ( sc -> vf_res -> vf_offload_flags & I40E_VIRTCHNL_VF_OFFLOAD_RSS_PF ) { DDPRINTF ( sc -> dev , " " ) ; ixlv_config_rss_pf ( sc ) ; } else device_printf ( sc -> dev , " \n " ) ; }
ixlv_config_rss - setup RSS
RSS keys and table are cleared on VF reset.
ixlv_config_rss - setup RSS RSS keys and table are cleared on VF reset .