FreeBSD/sys/dev/cxgb/common/cxgb_t3_hw.c
/**
 *	t3_disable_filters - disable the HW filters
 *	@adap: the adapter
 *
 *	Disables the HW filters for NIC traffic.
 */
disable the HW filters
@adap: the adapter

Disables the HW filters for NIC traffic.
disable the HW filters @adap : the adapter Disables the HW filters for NIC traffic .
void t3_disable_filters(adapter_t *adap)
{
	t3_set_reg_field(adap, A_MC5_DB_CONFIG, F_FILTEREN, 0);
	t3_set_reg_field(adap, A_TP_GLOBAL_CONFIG,
			 V_FIVETUPLELOOKUP(M_FIVETUPLELOOKUP), 0);
	tp_wr_bits_indirect(adap, A_TP_INGRESS_CONFIG, F_LOOKUPEVERYPKT, 0);
}
void t3_disable_filters ( adapter_t * adap ) { t3_set_reg_field ( adap , A_MC5_DB_CONFIG , F_FILTEREN , 0 ) ; t3_set_reg_field ( adap , A_TP_GLOBAL_CONFIG , V_FIVETUPLELOOKUP ( M_FIVETUPLELOOKUP ) , 0 ) ; tp_wr_bits_indirect ( adap , A_TP_INGRESS_CONFIG , F_LOOKUPEVERYPKT , 0 ) ; }
t3_disable_filters - disable the HW filters
      @adap: the adapter
t3_disable_filters - disable the HW filters @adap : the adapter
/* note that we don't want to revert to NIC-only mode */