Lines Matching +full:existing +full:- +full:parts

1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
28 return INDIRECT_CALL_2(tx_queue->efx->type->tx_enqueue, in efx_enqueue_skb()
43 if (channel->rx_pkt_n_frags) in efx_rx_flush_packet()
44 INDIRECT_CALL_2(channel->efx->type->rx_packet, in efx_rx_flush_packet()
50 if (efx->type->rx_buf_hash_valid) in efx_rx_buf_hash_valid()
51 return INDIRECT_CALL_1(efx->type->rx_buf_hash_valid, in efx_rx_buf_hash_valid()
57 /* Maximum number of TCP segments we support for soft-TSO */
75 return efx->rss_spread > 1; in efx_rss_enabled()
81 * efx_filter_insert_filter - add or replace a filter
85 * existing filter with equal priority
90 * If existing filters have equal match values to the new filter spec,
94 * 1. If the existing filters have lower priority, or @replace_equal
97 * 2. If the existing filters have higher priority, return -%EPERM.
100 * support delivery to multiple recipients, return -%EEXIST.
109 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter()
113 * efx_filter_remove_id_safe - remove a filter by ID, carefully
118 * This function will range-check @filter_id, so it is safe to call
125 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
129 * efx_filter_get_filter_safe - retrieve a filter by ID, carefully
135 * This function will range-check @filter_id, so it is safe to call
143 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
149 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
153 return efx->type->filter_get_rx_id_limit(efx); in efx_filter_get_rx_id_limit()
159 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
165 return ctx->context_id != EFX_MCDI_RSS_CONTEXT_INVALID; in efx_rss_active()
185 int efx_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
189 return efx->type->mtd_probe(efx); in efx_mtd_probe()
202 return 1 << efx->vi_scale; in efx_vf_size()
208 struct net_device *dev = efx->net_dev; in efx_device_detach_sync()
224 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) { in efx_device_attach_if_not_resetting()
225 netif_device_attach(efx->net_dev); in efx_device_attach_if_not_resetting()
226 if (efx->state == STATE_NET_UP) in efx_device_attach_if_not_resetting()