src/dpdk/drivers/net/i40e/i40e_ethdev.c
uint64_t
i40e_config_hena(const struct i40e_adapter *adapter, uint64_t flags)
{
	uint64_t hena = 0;
	int i;

	if (!flags)
		return hena;

	for (i = RTE_ETH_FLOW_UNKNOWN + 1; i < I40E_FLOW_TYPE_MAX; i++) {
		if (flags & (1ULL << i))
			hena |= adapter->pctypes_tbl[i];
	}

	return hena;
}
/* Configure hash enable flags for RSS */
Configure hash enable flags for RSS
Configure hash enable flags for RSS
uint64_t
i40e_config_hena(const struct i40e_adapter *adapter, uint64_t flags)
{
	uint64_t hena = 0;
	int i;
	if (!flags)
		return hena;
	for (i = RTE_ETH_FLOW_UNKNOWN + 1; i < I40E_FLOW_TYPE_MAX; i++) {
		if (flags & (1ULL << i))
			hena |= adapter->pctypes_tbl[i];
	}
	return hena;
}
uint64_t i40e_config_hena ( const struct i40e_adapter * adapter , uint64_t flags ) { uint64_t hena = 0 ; int i ; if ( ! flags ) return hena ; for ( i = RTE_ETH_FLOW_UNKNOWN + 1 ; i < I40E_FLOW_TYPE_MAX ; i ++ ) { if ( flags & ( 1ULL << i ) ) hena |= adapter -> pctypes_tbl [ i ] ; } return hena ; }
Configure hash enable flags for RSS
Configure hash enable flags for RSS