Home
last modified time | relevance | path

Searched refs:EFX_BUG_ON_PARANOID (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/sfc/
Dtx.c140 EFX_BUG_ON_PARANOID(fill_level >= efx->txq_entries); in efx_tx_maybe_stop_queue()
176 EFX_BUG_ON_PARANOID(tx_queue->write_count != tx_queue->insert_count); in efx_enqueue_skb()
186 EFX_BUG_ON_PARANOID(skb->data_len); in efx_enqueue_skb()
213 EFX_BUG_ON_PARANOID(buffer->flags); in efx_enqueue_skb()
214 EFX_BUG_ON_PARANOID(buffer->len); in efx_enqueue_skb()
215 EFX_BUG_ON_PARANOID(buffer->unmap_len); in efx_enqueue_skb()
435 EFX_BUG_ON_PARANOID(index > tx_queue->ptr_mask); in efx_xmit_done()
489 EFX_BUG_ON_PARANOID(entries > EFX_MAX_DMAQ_SIZE); in efx_probe_tx_queue()
673 EFX_BUG_ON_PARANOID(((struct ethhdr *)skb->data)->h_proto != in efx_tso_check_protocol()
681 EFX_BUG_ON_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); in efx_tso_check_protocol()
[all …]
Dnet_driver.h43 #define EFX_BUG_ON_PARANOID(x) BUG_ON(x) macro
46 #define EFX_BUG_ON_PARANOID(x) do {} while (0) macro
1029 EFX_BUG_ON_PARANOID(index >= efx->n_channels); in efx_get_channel()
1050 EFX_BUG_ON_PARANOID(index >= efx->n_tx_channels || in efx_get_tx_queue()
1064 EFX_BUG_ON_PARANOID(!efx_channel_has_tx_queues(channel) || in efx_channel_get_tx_queue()
1102 EFX_BUG_ON_PARANOID(!efx_channel_has_rx_queue(channel)); in efx_channel_get_rx_queue()
Dfilter.c106 EFX_BUG_ON_PARANOID(spec->type == EFX_FILTER_UNSPEC); in efx_filter_spec_table_id()
254 EFX_BUG_ON_PARANOID(!(spec->flags & EFX_FILTER_FLAG_RX)); in efx_filter_set_ipv4_local()
324 EFX_BUG_ON_PARANOID(!(spec->flags & EFX_FILTER_FLAG_RX)); in efx_filter_set_ipv4_full()
376 EFX_BUG_ON_PARANOID(!(spec->flags & in efx_filter_set_eth_local()
402 EFX_BUG_ON_PARANOID(!(spec->flags & in efx_filter_set_uc_def()
419 EFX_BUG_ON_PARANOID(!(spec->flags & in efx_filter_set_mc_def()
1192 EFX_BUG_ON_PARANOID(skb_headlen(skb) < nhoff + sizeof(*ip)); in efx_filter_rfs()
1196 EFX_BUG_ON_PARANOID(skb_headlen(skb) < nhoff + 4 * ip->ihl + 4); in efx_filter_rfs()
Drx.c317 EFX_BUG_ON_PARANOID(fill_level > rx_queue->efx->rxq_entries); in efx_fast_push_rx_descriptors()
329 EFX_BUG_ON_PARANOID(space < batch_size); in efx_fast_push_rx_descriptors()
464 EFX_BUG_ON_PARANOID(rx_buf->len < hdr_len); in efx_rx_mk_skb()
646 EFX_BUG_ON_PARANOID(entries > EFX_MAX_DMAQ_SIZE); in efx_probe_rx_queue()
Dethtool.c406 EFX_BUG_ON_PARANOID(efx->phy_op->test_name == NULL); in efx_ethtool_fill_self_tests()
411 EFX_BUG_ON_PARANOID(i >= EFX_MAX_PHY_TESTS); in efx_ethtool_fill_self_tests()
483 EFX_BUG_ON_PARANOID(stats->n_stats != EFX_ETHTOOL_NUM_STATS); in efx_ethtool_get_stats()
Dmdio_10g.c40 EFX_BUG_ON_PARANOID(spins * spintime >= 5000); in efx_mdio_reset_mmd()
Dnic.h159 EFX_BUG_ON_PARANOID(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi_mon()
Dmcdi_mon.c74 EFX_BUG_ON_PARANOID(state >= ARRAY_SIZE(sensor_status_names)); in efx_mcdi_sensor_event()
Dmcdi.c48 EFX_BUG_ON_PARANOID(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi()
524 EFX_BUG_ON_PARANOID(speed >= ARRAY_SIZE(efx_mcdi_event_link_speed)); in efx_mcdi_process_link_change()
Defx.c387 EFX_BUG_ON_PARANOID(entries > EFX_MAX_EVQ_SIZE); in efx_probe_eventq()
1343 EFX_BUG_ON_PARANOID(rc >= n_channels); in efx_probe_interrupts()
2556 EFX_BUG_ON_PARANOID(efx->type->phys_addr_channels > EFX_MAX_CHANNELS); in efx_init_struct()
Dnic.c198 EFX_BUG_ON_PARANOID(!buffer->addr); in efx_init_special_buffer()