| /linux/drivers/scsi/aacraid/ |
| H A D | dpcsup.c | 44 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 …]
|
| H A D | commsup.c | 42 * fib_map_alloc - allocate the fib objects 45 * Allocate and map the shared PCI space for the FIB blocks used to 67 * aac_fib_map_free - free the fib objects 70 * Free the PCI mappings and the memory allocated for FIB blocks 98 struct fib *fibptr = NULL; in aac_fib_vector_assign() 121 * fib area, the unmapped fib data and also the free list 126 struct fib *fibptr; in aac_fib_setup() 164 fibptr->size = sizeof(struct fib); in aac_fib_setup() 196 * Add the fib chain to the free list in aac_fib_setup() 207 * aac_fib_alloc_tag-allocate a fib using tags [all …]
|
| H A D | commctrl.c | 39 * 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 …]
|
| H A D | aachba.c | 290 " 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 …]
|
| H A D | linit.c | 156 * 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 …]
|
| H A D | aacraid.h | 592 __le32 size; /* Size in bytes of Fib which this QE points to */ 593 __le32 addr; /* Receiver address of the FIB */ 674 /* transport FIB header (PMC) */ 676 __le64 HostAddress; /* FIB host address w/o xport header */ 677 __le32 Size; /* FIB size excluding xport header */ 678 __le32 Handle; /* driver handle to reference the FIB */ 685 * Define the FIB. The FIB is the where all the requested data and 692 u8 StructType; /* Type FIB */ 694 __le16 Size; /* Size of this FIB in bytes */ 695 __le16 SenderSize; /* Size of the FIB in the sender [all …]
|
| H A D | src.c | 103 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 …]
|
| H A D | rkt.c | 39 * 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/tools/testing/selftests/net/netfilter/ |
| H A D | nft_fib.sh | 3 # This tests the fib expression. 46 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 59 fib saddr . iif oif missing counter log prefix "$netns nft_rpfilter: " drop 72 fib saddr . iif oif gt 0 accept 86 fib daddr type local counter comment "daddr configured on other iface" 87 fib daddr . iif type local counter comment "daddr configured on iif" 88 fib daddr type unicast counter comment "daddr not local" 89 fib daddr . iif type unicast counter comment "daddr not configured on iif" 93 fib daddr type unicast counter 94 fib daddr . oif type unicast counter [all …]
|
| H A D | nft_fib_nexthop.sh | 17 # nf_ok -- `fib daddr . iif oif eq "veth0"` must equal $PKTS 18 # nf_bad -- `fib daddr . iif oif missing` must stay at 0 77 iif "veth0" ip6 daddr dead:dead::/64 fib daddr . iif oif eq "veth0" counter name nf_ok 78 iif "veth0" ip6 daddr dead:dead::/64 fib daddr . iif oif missing counter name nf_bad 110 # ping a daddr inside dead:dead::/64 so fib has to walk the nh set 114 # verify the packets went through the expected fib path
|
| H A D | conntrack_vrf.sh | |
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | fib.sh | 4 # 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 …]
|
| H A D | devlink.sh | 426 local occ=$(res_val_get testns1 IPv4 fib occ) 429 # Set fib size limit to handle one another route only. 431 devlink -N testns1 resource set $DL_HANDLE path IPv4/fib size $limit 432 check_err $? "Failed to set IPv4/fib resource size" 433 local size_new=$(res_val_get testns1 IPv4 fib size_new) 439 local size=$(res_val_get testns1 IPv4 fib size) 471 devlink -N testns2 resource set $DL_HANDLE path IPv4/fib size ' -1' 472 check_err $? "Failed to reset IPv4/fib resource size"
|
| H A D | nexthop.sh | 356 echo 1 > $DEBUGFS_NET_DIR/fib/fail_res_nexthop_group_replace 375 echo 0 > $DEBUGFS_NET_DIR/fib/fail_res_nexthop_group_replace 389 > $DEBUGFS_NET_DIR/fib/nexthop_bucket_activity 850 echo 1 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 870 echo 0 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 953 echo 1 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace 968 echo 0 > $DEBUGFS_NET_DIR/fib/fail_nexthop_bucket_replace
|
| /linux/arch/s390/pci/ |
| H A D | pci_irq.c | 36 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 …]
|
| H A D | pci_insn.c | 59 static inline u8 __mpcifc(u64 req, struct zpci_fib *fib, u8 *status) in __mpcifc() argument 64 " .insn rxy,0xe300000000d0,%[req],%[fib]\n" in __mpcifc() 66 : CC_OUT(cc, cc), [req] "+d" (req), [fib] "+Q" (*fib) in __mpcifc() 73 u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status) in zpci_mod_fc() argument 79 cc = __mpcifc(req, fib, status); in zpci_mod_fc()
|
| /linux/Documentation/networking/devlink/ |
| H A D | netdevsim.rst | 48 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
|
| /linux/tools/perf/tests/shell/ |
| H A D | test_java_symbol.sh | 46 int fib(int x) { 47 return x > 1 ? fib(x - 2) + fib(x - 1) : 1; 53 q += fib(i);
|
| /linux/net/netfilter/ |
| H A D | nft_fib_netdev.c | 92 .name = "fib", 114 MODULE_ALIAS_NFT_AF_EXPR(5, "fib"); 115 MODULE_DESCRIPTION("nftables netdev fib lookups support");
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
| H A D | mp.h | 19 const void *mfi; /* used in tracking fib events */ 23 } fib; member
|
| /linux/Documentation/networking/ |
| H A D | switchdev.rst | 344 Offloading L3 routing requires that device be programmed with FIB entries from 345 the kernel, with the device doing the FIB lookup and forwarding. The device 346 does a longest prefix match (LPM) on FIB entries matching route prefix and 347 forwards the packet to the matching FIB entry's nexthop(s) egress ports. 349 To program the device, the driver has to register a FIB notifier handler 353 FIB_EVENT_ENTRY_ADD used for both adding a new FIB entry to the device, 355 FIB_EVENT_ENTRY_DEL used for removing a FIB entry 357 FIB_EVENT_RULE_DEL used to propagate FIB rule changes 393 The "offload" flag is set in case at least one device offloads the FIB entry. 395 XXX: add/mod/del IPv6 FIB API [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | fib_rule_tests.sh | 4 # 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 395 echo "IPv6 FIB rule connect tests" 414 # does not match the previously configured FIB rule. 509 echo "IPv4 FIB rule tests $ext_name" 511 # setup the fib rule redirect route 685 echo "IPv4 FIB rule connect tests" 704 # does not match the previously configured FIB rule.
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | fib_offload_lib.sh | 3 # Various helpers and tests to verify FIB offload. 647 # deleted from the FIB node. 654 # Test deletion of a single route when it is the only route in the FIB 677 # Test that first route is replaced by next single route in the FIB 692 # Test that first route is replaced by next multipath route in the FIB 733 # deleted from the FIB node. 741 # FIB node. 769 # Test that first route is replaced by next single route in the FIB 786 # Test that first route is replaced by next multipath route in the FIB
|
| /linux/net/ipv6/netfilter/ |
| H A D | Kconfig | 51 tristate "nf_tables fib / ipv6 route lookup support" 54 This module enables IPv6 FIB lookups, e.g. for reverse path filtering. 55 It also allows query of the FIB for the route type, e.g. local, unicast,
|
| /linux/net/ipv4/netfilter/ |
| H A D | Kconfig | 56 tristate "nf_tables fib / ip route lookup support" 58 This module enables IPv4 FIB lookups, e.g. for reverse path filtering. 59 It also allows query of the FIB for the route type, e.g. local, unicast,
|