Home
last modified time | relevance | path

Searched full:fib (Results 1 – 25 of 99) sorted by relevance

1234

/linux-6.14.4/drivers/scsi/aacraid/
Ddpcsup.c44 struct fib * fib; in aac_response_normal() local
53 * deallocate the Fib here and continue. in aac_response_normal()
60 fib = &dev->fibs[index >> 2]; in aac_response_normal()
61 hwfib = fib->hw_fib_va; in aac_response_normal()
65 * Remove this fib from the Outstanding I/O queue. in aac_response_normal()
68 * If the fib has been timed out already, then just in aac_response_normal()
70 * the fib timed out. in aac_response_normal()
74 if (unlikely(fib->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) { in aac_response_normal()
76 aac_fib_complete(fib); in aac_response_normal()
77 aac_fib_free(fib); in aac_response_normal()
[all …]
Dcommsup.c42 * fib_map_alloc - allocate the fib objects
45 * Allocate and map the shared PCI space for the FIB blocks used to
75 * aac_fib_map_free - free the fib objects
78 * Free the PCI mappings and the memory allocated for FIB blocks
106 struct fib *fibptr = NULL; in aac_fib_vector_assign()
129 * fib area, the unmapped fib data and also the free list
134 struct fib *fibptr; in aac_fib_setup()
172 fibptr->size = sizeof(struct fib); in aac_fib_setup()
204 * Add the fib chain to the free list in aac_fib_setup()
215 * aac_fib_alloc_tag-allocate a fib using tags
[all …]
Dcommctrl.c39 * ioctl_send_fib - send a FIB from userspace
43 * This routine sends a fib to the adapter on behalf of a user level
49 struct fib *fibptr; in ioctl_send_fib()
72 * Since we copy based on the fib header size, make sure that we in ioctl_send_fib()
120 * Since we didn't really send a fib, zero out the state to allow in ioctl_send_fib()
138 * the header) is less than or equal to the size of a fib, so we in ioctl_send_fib()
160 * open_getadapter_fib - Get the next fib
164 * This routine will get the next Fib, if available, from the AdapterFibContext
233 compat_uptr_t fib; member
237 * next_getadapter_fib - get the next fib
[all …]
Daachba.c290 " blocks (FIB) allocated. Valid values are 512 and down. Default is"
295 MODULE_PARM_DESC(acbsize, "Request a specific adapter control block (FIB)"
333 struct fib *fibptr) { in aac_valid_context()
361 struct fib * fibptr; in aac_get_config_status()
428 /* FIB should be freed only after getting the response from the F/W */ in aac_get_config_status()
455 struct fib * fibptr; in aac_get_containers()
484 /* FIB should be freed only after getting the response from the F/W */ in aac_get_containers()
532 static void get_container_name_callback(void *context, struct fib * fibptr) in get_container_name_callback()
584 struct fib * cmd_fibcontext; in aac_get_container_name()
633 static void _aac_probe_container2(void * context, struct fib * fibptr) in _aac_probe_container2()
[all …]
Dlinit.c156 * In the future we should add a fib that reports the number of channels
697 struct fib *fib; in aac_eh_abort() local
708 fib = &aac->fibs[count]; in aac_eh_abort()
709 if (*(u8 *)fib->hw_fib_va != 0 && in aac_eh_abort()
710 (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) && in aac_eh_abort()
711 (fib->callback_data == cmd)) { in aac_eh_abort()
720 fib = aac_fib_alloc(aac); in aac_eh_abort()
721 if (!fib) in aac_eh_abort()
724 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; in aac_eh_abort()
730 address = (u64)fib->hw_error_pa; in aac_eh_abort()
[all …]
Daacraid.h593 __le32 size; /* Size in bytes of Fib which this QE points to */
594 __le32 addr; /* Receiver address of the FIB */
675 /* transport FIB header (PMC) */
677 __le64 HostAddress; /* FIB host address w/o xport header */
678 __le32 Size; /* FIB size excluding xport header */
679 __le32 Handle; /* driver handle to reference the FIB */
686 * Define the FIB. The FIB is the where all the requested data and
693 u8 StructType; /* Type FIB */
695 __le16 Size; /* Size of this FIB in bytes */
696 __le16 SenderSize; /* Size of the FIB in the sender
[all …]
Dsrc.c103 struct fib, in aac_src_intr_message()
479 * @fib: fib to issue
481 * Will send a fib, returning 0 if successful.
483 static int aac_src_deliver_message(struct fib *fib) in aac_src_deliver_message() argument
485 struct aac_dev *dev = fib->dev; in aac_src_deliver_message()
499 native_hba = (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA) ? 1 : 0; in aac_src_deliver_message()
503 (native_hba || fib->hw_fib_va->header.Command != AifRequest)) { in aac_src_deliver_message()
509 vector_no = fib->vector_no; in aac_src_deliver_message()
512 if (fib->flags & FIB_CONTEXT_FLAG_NATIVE_HBA_TMF) { in aac_src_deliver_message()
516 fib->hw_fib_va; in aac_src_deliver_message()
[all …]
Drx.c393 * @fib: fib to issue
395 * Will send a fib, returning 0 if successful.
397 int aac_rx_deliver_producer(struct fib * fib) in aac_rx_deliver_producer() argument
399 struct aac_dev *dev = fib->dev; in aac_rx_deliver_producer()
404 aac_queue_get( dev, &Index, AdapNormCmdQueue, fib->hw_fib_va, 1, fib, &nointr); in aac_rx_deliver_producer()
416 * @fib: fib to issue
418 * Will send a fib, returning 0 if successful.
420 static int aac_rx_deliver_message(struct fib * fib) in aac_rx_deliver_message() argument
422 struct aac_dev *dev = fib->dev; in aac_rx_deliver_message()
443 addr = fib->hw_fib_pa; in aac_rx_deliver_message()
[all …]
Drkt.c39 * FIB Setup has already been done, but we can minimize the in aac_rkt_select_comm()
44 * FIB size. The problem that causes us to add this check is in aac_rkt_select_comm()
46 * hard coded FIB override is being utilized. This special in aac_rkt_select_comm()
/linux-6.14.4/Documentation/netlink/specs/
Drt_rule.yaml8 FIB rule management over rtnetlink.
23 name: fib-rule-hdr
70 name: fib-rule-port-range
80 name: fib-rule-uid-range
92 name: fib-rule-attrs
157 struct: fib-rule-uid-range
167 struct: fib-rule-port-range
171 struct: fib-rule-port-range
188 fixed-header: fib-rule-hdr
192 doc: Add new FIB rule
[all …]
/linux-6.14.4/arch/s390/kvm/
Dpci.c162 struct zpci_fib fib = {}; in kvm_zpci_set_airq() local
165 fib.fmt0.isc = zdev->kzdev->fib.fmt0.isc; in kvm_zpci_set_airq()
166 fib.fmt0.sum = 1; /* enable summary notifications */ in kvm_zpci_set_airq()
167 fib.fmt0.noi = airq_iv_end(zdev->aibv); in kvm_zpci_set_airq()
168 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
169 fib.fmt0.aibvo = 0; in kvm_zpci_set_airq()
170 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_zpci_set_airq()
171 fib.fmt0.aisbo = zdev->aisb & 63; in kvm_zpci_set_airq()
172 fib.gd = zdev->gisa; in kvm_zpci_set_airq()
174 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in kvm_zpci_set_airq()
[all …]
/linux-6.14.4/tools/testing/selftests/drivers/net/netdevsim/
Dfib.sh4 # This test is for checking the FIB offload API. It makes use of netdevsim
5 # which registers a listener to the FIB notification chain.
114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
151 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
158 # of the "IPv4/fib" resource.
167 echo "y" > $DEBUGFS_DIR/fib/fail_route_delete
181 echo "n" > $DEBUGFS_DIR/fib/fail_route_delete
253 devlink -N testns1 resource set $DEVLINK_DEV path IPv6/fib size 10
[all …]
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c110 mp->fib.mfi = fi; in mlx5_lag_fib_set()
111 mp->fib.priority = fi->fib_priority; in mlx5_lag_fib_set()
112 mp->fib.dst = dst; in mlx5_lag_fib_set()
113 mp->fib.dst_len = dst_len; in mlx5_lag_fib_set()
170 if (mp->fib.mfi == fi) in mlx5_lag_fib_route_event()
171 mp->fib.mfi = NULL; in mlx5_lag_fib_route_event()
176 if (mp->fib.mfi && mp->fib.mfi != fi && in mlx5_lag_fib_route_event()
177 (mp->fib.dst != fen_info->dst || mp->fib.dst_len != fen_info->dst_len) && in mlx5_lag_fib_route_event()
178 fi->fib_priority >= mp->fib.priority) in mlx5_lag_fib_route_event()
186 if (mp->fib.dst == fen_info->dst && mp->fib.dst_len == fen_info->dst_len) in mlx5_lag_fib_route_event()
[all …]
/linux-6.14.4/arch/s390/pci/
Dpci_irq.c36 struct zpci_fib fib = {0}; in zpci_set_airq() local
39 fib.fmt0.isc = PCI_ISC; in zpci_set_airq()
40 fib.fmt0.sum = 1; /* enable summary notifications */ in zpci_set_airq()
41 fib.fmt0.noi = airq_iv_end(zdev->aibv); in zpci_set_airq()
42 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in zpci_set_airq()
43 fib.fmt0.aibvo = 0; /* each zdev has its own interrupt vector */ in zpci_set_airq()
44 fib.fmt0.aisb = virt_to_phys(zpci_sbv->vector) + (zdev->aisb / 64) * 8; in zpci_set_airq()
45 fib.fmt0.aisbo = zdev->aisb & 63; in zpci_set_airq()
46 fib.gd = zdev->gisa; in zpci_set_airq()
48 return zpci_mod_fc(req, &fib, &status) ? -EIO : 0; in zpci_set_airq()
[all …]
Dpci.c124 struct zpci_fib fib = {0}; in zpci_register_ioat() local
128 fib.pba = base; in zpci_register_ioat()
131 fib.pal = limit + (1 << 12); in zpci_register_ioat()
133 fib.pal = limit; in zpci_register_ioat()
134 fib.iota = iota | ZPCI_IOTA_RTTO_FLAG; in zpci_register_ioat()
135 fib.gd = zdev->gisa; in zpci_register_ioat()
136 cc = zpci_mod_fc(req, &fib, status); in zpci_register_ioat()
147 struct zpci_fib fib = {0}; in zpci_unregister_ioat() local
150 fib.gd = zdev->gisa; in zpci_unregister_ioat()
152 cc = zpci_mod_fc(req, &fib, &status); in zpci_unregister_ioat()
[all …]
/linux-6.14.4/tools/testing/selftests/net/netfilter/
Dnft_fib.sh3 # This tests the fib expression.
42 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop
55 fib saddr . iif oif gt 0 accept
69 ip daddr 1.1.1.1 fib saddr . iif oif missing counter drop
70 ip6 daddr 1c3::c01d fib saddr . iif oif missing counter drop
91 …if ! ip netns exec "$ns" nft list table inet filter | grep 'fib saddr . iif' | grep "$address" | g…
92 echo "Netns $ns fib counter doesn't match expected packet count of $want for $address" 1>&2
98 echo "PASS: fib expression did drop packets for $address"
166 echo "PASS: fib expression did not cause unwanted packet drops"
215 echo "SKIP: Could not load fib forward ruleset"
[all …]
/linux-6.14.4/Documentation/networking/devlink/
Dnetdevsim.rst48 The ``netdevsim`` driver exposes resources to control the number of FIB
49 entries, FIB rule entries and nexthops that the driver will allow.
53 $ devlink resource set netdevsim/netdevsim0 path /IPv4/fib size 96
54 $ devlink resource set netdevsim/netdevsim0 path /IPv4/fib-rules size 16
55 $ devlink resource set netdevsim/netdevsim0 path /IPv6/fib size 64
56 $ devlink resource set netdevsim/netdevsim0 path /IPv6/fib-rules size 16
Ddevlink-resource.rst14 For example, the ``netdevsim`` driver enables ``/IPv4/fib`` and
15 ``/IPv4/fib-rules`` as resources to limit the number of IPv4 FIB entries and
23 specify the path of the resource. For example ``/IPv4/fib`` is the id for
24 the ``fib`` sub-resource under the ``IPv4`` resource.
/linux-6.14.4/drivers/net/netdevsim/
Dfib.c41 struct nsim_fib_entry fib; member
52 struct mutex fib_lock; /* Protects FIB HT and list */
59 spinlock_t fib_event_queue_lock; /* Protects fib event queue list */
105 struct list_head list; /* node in fib queue */
143 entry = &fib_data->ipv4.fib; in nsim_fib_get_val()
149 entry = &fib_data->ipv6.fib; in nsim_fib_get_val()
171 entry = &fib_data->ipv4.fib; in nsim_fib_set_max()
177 entry = &fib_data->ipv6.fib; in nsim_fib_set_max()
200 NL_SET_ERR_MSG_MOD(extack, "Exceeded number of supported fib rule entries"); in nsim_fib_rule_account()
378 nsim_fib_account(&data->ipv4.fib, false); in nsim_fib4_rt_add()
[all …]
/linux-6.14.4/tools/perf/tests/shell/
Dtest_java_symbol.sh42 int fib(int x) {
43 return x > 1 ? fib(x - 2) + fib(x - 1) : 1;
49 q += fib(i);
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c168 const struct mlxsw_sp_fib *fib,
171 const struct mlxsw_sp_fib *fib);
451 * because that's a type of next hop, not of FIB entry. (There can be
467 struct mlxsw_sp_fib *fib; member
521 u32 tb_id; /* kernel fib table id */
537 struct mlxsw_sp_fib *fib; in mlxsw_sp_fib_create() local
541 fib = kzalloc(sizeof(*fib), GFP_KERNEL); in mlxsw_sp_fib_create()
542 if (!fib) in mlxsw_sp_fib_create()
544 err = rhashtable_init(&fib->ht, &mlxsw_sp_fib_ht_params); in mlxsw_sp_fib_create()
547 INIT_LIST_HEAD(&fib->node_list); in mlxsw_sp_fib_create()
[all …]
/linux-6.14.4/net/netfilter/
Dnft_fib_inet.c57 .name = "fib",
79 MODULE_ALIAS_NFT_AF_EXPR(1, "fib");
80 MODULE_DESCRIPTION("nftables fib inet support");
Dnft_fib_netdev.c66 .name = "fib",
88 MODULE_ALIAS_NFT_AF_EXPR(5, "fib");
89 MODULE_DESCRIPTION("nftables netdev fib lookups support");
Dnft_fib.c170 const struct nft_fib *fib; in nft_fib_reduce() local
193 fib = nft_expr_priv(track->regs[priv->dreg].selector); in nft_fib_reduce()
194 if (priv->result != fib->result || in nft_fib_reduce()
195 priv->flags != fib->flags) { in nft_fib_reduce()
/linux-6.14.4/tools/testing/selftests/net/
Dfib_rule_tests.sh4 # This test is for checking IPv4 and IPv6 FIB rules API
190 echo "IPv6 FIB rule tests $ext_name"
192 # setup the fib rule redirect route
341 echo "IPv6 FIB rule connect tests"
360 # does not match the previously configured FIB rule.
455 echo "IPv4 FIB rule tests $ext_name"
457 # setup the fib rule redirect route
580 echo "IPv4 FIB rule connect tests"
599 # does not match the previously configured FIB rule.

1234