FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *	t4_read_rss_pf_mask - read PF RSS Mask
 *	@adapter: the adapter
 *
 *	Reads the PF RSS Mask register and returns its value.
 */
read PF RSS Mask
@adapter: the adapter

Reads the PF RSS Mask register and returns its value.
read PF RSS Mask @adapter : the adapter Reads the PF RSS Mask register and returns its value .
u32 t4_read_rss_pf_mask(struct adapter *adapter)
{
	u32 pfmask;
	if (t4_use_ldst(adapter))
		t4_fw_tp_pio_rw(adapter, &pfmask, 1, A_TP_RSS_PF_MSK, 1);
	else
		t4_read_indirect(adapter, A_TP_PIO_ADDR, A_TP_PIO_DATA,
				 &pfmask, 1, A_TP_RSS_PF_MSK);
	return pfmask;
}
u32 t4_read_rss_pf_mask ( struct adapter * adapter ) { u32 pfmask ; if ( t4_use_ldst ( adapter ) ) t4_fw_tp_pio_rw ( adapter , & pfmask , 1 , A_TP_RSS_PF_MSK , 1 ) ; else t4_read_indirect ( adapter , A_TP_PIO_ADDR , A_TP_PIO_DATA , & pfmask , 1 , A_TP_RSS_PF_MSK ) ; return pfmask ; }
t4_read_rss_pf_mask - read PF RSS Mask
      @adapter: the adapter
t4_read_rss_pf_mask - read PF RSS Mask @adapter : the adapter