FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *	t4_read_rss_pf_config - read PF RSS Configuration Table
 *	@adapter: the adapter
 *	@index: the entry in the PF RSS table to read
 *	@valp: where to store the returned value
 *
 *	Reads the PF RSS Configuration Table at the specified index and returns
 *	the value found there.
 */
read PF RSS Configuration Table
@adapter: the adapter
@index: the entry in the PF RSS table to read
@valp: where to store the returned value

Reads the PF RSS Configuration Table at the specified index and returns
the value found there.
read PF RSS Configuration Table @adapter : the adapter @index : the entry in the PF RSS table to read @valp : where to store the returned value Reads the PF RSS Configuration Table at the specified index and returns the value found there .
void t4_read_rss_pf_config(struct adapter *adapter, unsigned int index,
			   u32 *valp)
{
	if (t4_use_ldst(adapter))
		t4_fw_tp_pio_rw(adapter, valp, 1,
				A_TP_RSS_PF0_CONFIG + index, 1);
	else
		t4_read_indirect(adapter, A_TP_PIO_ADDR, A_TP_PIO_DATA,
				 valp, 1, A_TP_RSS_PF0_CONFIG + index);
}
void t4_read_rss_pf_config ( struct adapter * adapter , unsigned int index , u32 * valp ) { if ( t4_use_ldst ( adapter ) ) t4_fw_tp_pio_rw ( adapter , valp , 1 , A_TP_RSS_PF0_CONFIG + index , 1 ) ; else t4_read_indirect ( adapter , A_TP_PIO_ADDR , A_TP_PIO_DATA , valp , 1 , A_TP_RSS_PF0_CONFIG + index ) ; }
t4_read_rss_pf_config - read PF RSS Configuration Table
      @adapter: the adapter
      @index: the entry in the PF RSS table to read
      @valp: where to store the returned value
t4_read_rss_pf_config - read PF RSS Configuration Table @adapter : the adapter @index : the entry in the PF RSS table to read @valp : where to store the returned value