Home
last modified time | relevance | path

Searched full:prp (Results 1 – 25 of 35) sorted by relevance

12

/linux/tools/testing/selftests/net/hsr/
H A Dhsr_prp_redbox.sh4 # Test a PRP RedBox (PRP-SAN): a SAN that sits behind the interlink port must
5 # reach, and be reached by, a peer DANP on the PRP network with its own MAC
7 # TLV (terminated by an EOT marker) in its PRP supervision frames.
9 # RB PRP RedBox: prp0 over rb_a/rb_b (LAN A/B) + interlink rb_il
44 # Feature gate: PRP interlink (RedBox) creation. A kernel without PRP RedBox
48 echo "SKIP: kernel without PRP RedBox (interlink) support"
63 stop_if_error "PRP RedBox bidirectional unicast failed"
65 # The SAN source MAC must be preserved on the PRP network, not laundered to the
73 stop_if_error "SAN MAC not preserved on the PRP network"
96 stop_if_error "PRP RedBox supervision RedBox-MAC TLV/EOT check failed"
[all …]
/linux/net/hsr/
H A DKconfig7 tristate "High-availability Seamless Redundancy (HSR & PRP)"
10 Redundancy (HSR) and Parallel Redundancy Protocol (PRP).
14 attached node implementing PRP"). For this to work, your Linux box
26 frames sent over the PRP device will be sent to both networks giving
27 a redundant, instant fail-over network. Unlike HSR, PRP networks
33 and PRP standard described in IEC 62439-4:2012 (PRP), but no
45 tristate "PRP duplicate discard KUnit tests" if !KUNIT_ALL_TESTS
49 Covers the PRP duplicate discard algorithm.
H A Dhsr_main.h7 * include file for HSR and PRP.
43 /* PRP V1 life check for Duplicate discard */
45 /* PRP V1 life check for Duplicate Accept */
47 /* PRP V1 life redundancy box MAC address */
90 /* HSR/PRP Supervision Frame data types.
124 /* PRP Redunancy Control Trailor (RCT).
125 * As defined in IEC-62439-4:2012, the PRP RCT is really { sequence Nr,
128 * Field names as defined in the IEC:2012 standard for PRP.
209 u8 net_id; /* for PRP, it occupies most significant 3 bits
253 /* Assume caller has confirmed this skb is PRP suffixed */
H A Dhsr_forward.c7 * Frame router for HSR and PRP.
236 /* Tailroom for PRP rct should have been created before calling this */
385 WARN_ONCE(!trailer, "errored PRP skb"); in prp_create_tagged_frame()
460 /* LAN to interlink: keep PRP-network unicast off the SAN segment. */ in prp_drop_frame()
532 * - if it's a PRP frame: through another PRP slave device (no bridge)
581 /* Check if frame is to be dropped. Eg. for PRP no forward in hsr_forward_do()
673 /* Standard frame or PRP from master port */ in hsr_fill_frame_info()
731 /* PRP RedBox only: classify the unicast destination once so the in fill_frame_info()
H A Dhsr_device.c7 * virtual HSR or PRP devices.
262 /* skb size is same for PRP/HSR frames, only difference in hsr_init_skb()
263 * being, for PRP it is a trailer and for HSR it is a in hsr_init_skb()
391 netdev_warn_once(master->dev, "PRP: Could not send supervision frame\n"); in send_prp_supervision_frame()
765 /* For PRP, lan_id has most significant 3 bits holding in hsr_dev_finalize()
H A Dhsr_framereg.c11 * Same code handles filtering of duplicates for PRP as well.
291 /* Everyone may create a node entry, connected node to a HSR/PRP in hsr_get_node()
298 /* A PRP supervision frame is an untagged ETH_P_PRP frame in hsr_get_node()
586 * While this requirement is explicit for PRP, applying it to HSR does no harm
645 /* PRP duplicate discard: we only consider frames that are received on port A
669 /* For PRP only slave-to-master frames are forwarded. */ in prp_register_frame_out()
H A Dhsr_device.h7 * include file for HSR and PRP.
H A Dhsr_netlink.h7 * include file for HSR and PRP.
H A Dhsr_slave.c7 * Frame handler other utility functions for HSR and PRP.
52 * HSR tag removal), but for PRP there could be non tagged frames as in hsr_handle_frame()
H A Dhsr_slave.h6 * include file for HSR and PRP.
H A Dhsr_forward.h7 * include file for HSR and PRP.
H A Dhsr_framereg.h7 * include file for HSR and PRP.
H A Dhsr_netlink.c7 * Routines for handling Netlink messages for HSR and PRP.
112 NL_SET_ERR_MSG_MOD(extack, "PRP version unsupported"); in hsr_newlink()
/linux/drivers/nvme/target/
H A Dpci-epf.c731 u64 prp) in nvmet_pci_epf_prp_ofst() argument
733 return prp & ctrl->mps_mask; in nvmet_pci_epf_prp_ofst()
737 u64 prp) in nvmet_pci_epf_prp_size() argument
739 return ctrl->mps - nvmet_pci_epf_prp_ofst(ctrl, prp); in nvmet_pci_epf_prp_size()
743 * Transfer a PRP list from the host and return the number of prps.
745 static int nvmet_pci_epf_get_prp_list(struct nvmet_pci_epf_ctrl *ctrl, u64 prp, in nvmet_pci_epf_get_prp_list() argument
755 * with the PRP list pointer specified, only return the space available in nvmet_pci_epf_get_prp_list()
756 * in the memory page, the last PRP in there will be a PRP list pointer in nvmet_pci_epf_get_prp_list()
759 length = min(nvmet_pci_epf_prp_size(ctrl, prp), nr_prps << 3); in nvmet_pci_epf_get_prp_list()
760 ret = nvmet_pci_epf_transfer(ctrl, prps, prp, length, DMA_FROM_DEVICE); in nvmet_pci_epf_get_prp_list()
[all …]
/linux/Documentation/devicetree/bindings/net/dsa/
H A Drenesas,rzn1-a5psw.yaml33 - description: Parallel Redundancy Protocol (PRP) interrupt
41 - const: prp
102 interrupt-names = "dlr", "switch", "prp", "hub", "ptrn";
/linux/Documentation/devicetree/bindings/net/
H A Dintel,ixp46x-ptp-timer.yaml28 PRP timer, usually a GPIO interrupt.
30 PRP timer, usually a GPIO interrupt.
/linux/drivers/media/platform/nxp/
H A DKconfig73 tristate "NXP MX2 eMMa-PrP support"
80 MX2X chips have a PrP that can be used to process buffers from
H A Dmx2_emmaprp.c3 * Support eMMa-PrP through mem2mem framework.
5 * eMMa-PrP is a piece of HW that allows fetching buffers
30 MODULE_DESCRIPTION("Mem-to-mem device which supports eMMa-PrP present in mx2 SoCs");
60 /* EMMA PrP */
254 "eMMa-PrP Registers:\n" in emmaprp_dump_regs()
355 pr_err("PrP bus error occurred, this transfer is probably corrupted\n"); in emmaprp_irq()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_app.c1939 * Return: Data format of the NVMe command (PRP/SGL etc)
2048 * mpi3mr_build_nvme_prp - PRP constructor for NVME
2056 * proper format as PRP entries in the given NVMe encapsulated in mpi3mr_build_nvme_prp()
2117 * without constructing any PRP. in mpi3mr_build_nvme_prp()
2153 * command. Then set the current PRP entry pointer to PRP1. in mpi3mr_build_nvme_prp()
2161 * For the PRP entries, use the specially allocated buffer of in mpi3mr_build_nvme_prp()
2169 * want our first entry to be a PRP List entry. in mpi3mr_build_nvme_prp()
2173 dprint_bsg_err(mrioc, "%s: PRP page is not page aligned\n", in mpi3mr_build_nvme_prp()
2179 * Set PRP physical pointer, which initially points to the current PRP in mpi3mr_build_nvme_prp()
[all...]
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c2230 * a native SGL (NVMe PRP).
2239 * The native SGL is built starting in the first PRP
2243 * describe using the two PRP entriess inside the NVMe message, then PRP1
2244 * describes the first data memory segment, and PRP2 contains a pointer to a PRP
2246 * segments. The PRP list will be contiguous.
2248 * The native SGL for NVMe devices is a Physical Region Page (PRP). A PRP
2249 * consists of a list of PRP entries to describe a number of noncontigous
2253 * non-contiguous SGL into a PRP in this case. All PRPs will describe
2256 * Each NVMe message contains two PRP entries. The first (PRP1) either contains
2257 * a PRP list pointer or a PRP element, depending upon the command. PRP2
[all …]
/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c495 /* init the IC-PRP-->MEM IDMAC channel */ in prp_setup_rotation()
505 /* init the MEM-->IC-PRP ROT IDMAC channel */ in prp_setup_rotation()
517 /* init the destination IC-PRP ROT-->MEM IDMAC channel */ in prp_setup_rotation()
527 /* now link IC-PRP-->MEM to MEM-->IC-PRP ROT */ in prp_setup_rotation()
544 /* and finally enable the IC PRP task */ in prp_setup_rotation()
613 /* init the IC PRP-->MEM IDMAC channel */ in prp_setup_norotation()
698 "imx-ic-prp-nfb4eof", priv); in prp_start()
714 "imx-ic-prp-eof", priv); in prp_start()
H A DMakefile6 imx-ic-common.o imx-ic-prp.o imx-ic-prpencvf.o imx-media-vdic.o \
/linux/include/uapi/linux/
H A Dhsr_netlink.h20 /* attributes for HSR or PRP node */
/linux/drivers/nvme/host/
H A Dapple.c106 * and the TCB PRP pointer to the same memory.
175 * The sg pointer contains the list of PRP chunk allocations in addition
182 int npages; /* In the PRP list. 0 means small pool in use */
735 * Note: we (ab)use the fact that the prp fields survive if no data in apple_nvme_create_cq()
763 * Note: we (ab)use the fact that the prp fields survive if no data in apple_nvme_create_sq()
1563 anv->prp_page_pool = dmam_pool_create("prp list page", anv->dev, in apple_nvme_alloc()
1572 dmam_pool_create("prp list 256", anv->dev, 256, 256, 0); in apple_nvme_alloc()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_mii_rt.h79 /* for HSR and PRP */

12