FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *	t4_write_rss_pf_mask - write PF RSS Mask
 *	@adapter: the adapter
 *	@pfmask: PF RSS Mask value
 *
 *	Writes the specified value to the PF RSS Mask register.
 */
write PF RSS Mask
@adapter: the adapter
@pfmask: PF RSS Mask value

Writes the specified value to the PF RSS Mask register.
write PF RSS Mask @adapter : the adapter @pfmask : PF RSS Mask value Writes the specified value to the PF RSS Mask register .
void t4_write_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, 0);
	else
		t4_write_indirect(adapter, A_TP_PIO_ADDR, A_TP_PIO_DATA,
				  &pfmask, 1, A_TP_RSS_PF_MSK);
}
void t4_write_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 , 0 ) ; else t4_write_indirect ( adapter , A_TP_PIO_ADDR , A_TP_PIO_DATA , & pfmask , 1 , A_TP_RSS_PF_MSK ) ; }
t4_write_rss_pf_mask - write PF RSS Mask
      @adapter: the adapter
      @pfmask: PF RSS Mask value
t4_write_rss_pf_mask - write PF RSS Mask @adapter : the adapter @pfmask : PF RSS Mask value