FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *	t4_write_rss_pf_config - write PF RSS Configuration Table
 *	@adapter: the adapter
 *	@index: the entry in the VF RSS table to read
 *	@val: the value to store
 *
 *	Writes the PF RSS Configuration Table at the specified index with the
 *	specified value.
 */
write PF RSS Configuration Table
@adapter: the adapter
@index: the entry in the VF RSS table to read
@val: the value to store

Writes the PF RSS Configuration Table at the specified index with the
specified value.
write PF RSS Configuration Table @adapter : the adapter @index : the entry in the VF RSS table to read @val : the value to store Writes the PF RSS Configuration Table at the specified index with the specified value .
void t4_write_rss_pf_config(struct adapter *adapter, unsigned int index,
			    u32 val)
{
	if (t4_use_ldst(adapter))
		t4_fw_tp_pio_rw(adapter, &val, 1,
				A_TP_RSS_PF0_CONFIG + index, 0);
	else
		t4_write_indirect(adapter, A_TP_PIO_ADDR, A_TP_PIO_DATA,
				  &val, 1, A_TP_RSS_PF0_CONFIG + index);
}
void t4_write_rss_pf_config ( struct adapter * adapter , unsigned int index , u32 val ) { if ( t4_use_ldst ( adapter ) ) t4_fw_tp_pio_rw ( adapter , & val , 1 , A_TP_RSS_PF0_CONFIG + index , 0 ) ; else t4_write_indirect ( adapter , A_TP_PIO_ADDR , A_TP_PIO_DATA , & val , 1 , A_TP_RSS_PF0_CONFIG + index ) ; }
t4_write_rss_pf_config - write PF RSS Configuration Table
      @adapter: the adapter
      @index: the entry in the VF RSS table to read
      @val: the value to store
t4_write_rss_pf_config - write PF RSS Configuration Table @adapter : the adapter @index : the entry in the VF RSS table to read @val : the value to store