/linux-6.14.4/include/net/ |
D | nsh.h | 21 * going forward with future NSH specification updates. It MUST be set 22 * to 0x0 by the sender, in this first revision of NSH. Given the 53 * involved in forwarding an NSH packet MUST decrement the TTL value by 54 * 1 prior to NSH forwarding lookup. Decrementing by 1 from an incoming 61 * other NSH supporting elements. Elements which do not understand the 65 * Length: The total length, in 4-byte words, of NSH including the Base 69 * 0x2. The length of the NSH header MUST be an integer multiple of 4 73 * MD Type: Indicates the format of NSH beyond the mandatory Base Header 94 * NSH does not alter the inner payload, and the semantics on the inner 95 * protocol remain unchanged due to NSH service function chaining. [all …]
|
D | tun_proto.h | 7 /* One byte protocol values as defined by VXLAN-GPE and NSH. These will
|
/linux-6.14.4/arch/riscv/kvm/ |
D | vcpu.c | 580 void *nsh; in kvm_arch_vcpu_load() local 585 nsh = nacl_shmem(); in kvm_arch_vcpu_load() 586 nacl_csr_write(nsh, CSR_VSSTATUS, csr->vsstatus); in kvm_arch_vcpu_load() 587 nacl_csr_write(nsh, CSR_VSIE, csr->vsie); in kvm_arch_vcpu_load() 588 nacl_csr_write(nsh, CSR_VSTVEC, csr->vstvec); in kvm_arch_vcpu_load() 589 nacl_csr_write(nsh, CSR_VSSCRATCH, csr->vsscratch); in kvm_arch_vcpu_load() 590 nacl_csr_write(nsh, CSR_VSEPC, csr->vsepc); in kvm_arch_vcpu_load() 591 nacl_csr_write(nsh, CSR_VSCAUSE, csr->vscause); in kvm_arch_vcpu_load() 592 nacl_csr_write(nsh, CSR_VSTVAL, csr->vstval); in kvm_arch_vcpu_load() 593 nacl_csr_write(nsh, CSR_HEDELEG, cfg->hedeleg); in kvm_arch_vcpu_load() [all …]
|
D | aia.c | 140 void *nsh; in kvm_riscv_vcpu_aia_load() local 146 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_load() 147 nacl_csr_write(nsh, CSR_VSISELECT, csr->vsiselect); in kvm_riscv_vcpu_aia_load() 148 nacl_csr_write(nsh, CSR_HVIPRIO1, csr->hviprio1); in kvm_riscv_vcpu_aia_load() 149 nacl_csr_write(nsh, CSR_HVIPRIO2, csr->hviprio2); in kvm_riscv_vcpu_aia_load() 151 nacl_csr_write(nsh, CSR_VSIEH, csr->vsieh); in kvm_riscv_vcpu_aia_load() 152 nacl_csr_write(nsh, CSR_HVIPH, csr->hviph); in kvm_riscv_vcpu_aia_load() 153 nacl_csr_write(nsh, CSR_HVIPRIO1H, csr->hviprio1h); in kvm_riscv_vcpu_aia_load() 154 nacl_csr_write(nsh, CSR_HVIPRIO2H, csr->hviprio2h); in kvm_riscv_vcpu_aia_load() 172 void *nsh; in kvm_riscv_vcpu_aia_put() local [all …]
|
/linux-6.14.4/drivers/bluetooth/ |
D | dtl1_cs.c | 97 struct nsh { struct 205 struct nsh *nsh; in dtl1_receive() local 230 nsh = (struct nsh *)info->rx_skb->data; in dtl1_receive() 239 info->rx_count = nsh->len + (nsh->len & 0x0001); in dtl1_receive() 242 hci_skb_pkt_type(info->rx_skb) = nsh->type; in dtl1_receive() 245 if (nsh->len & 0x0001) { in dtl1_receive() 250 /* remove NSH */ in dtl1_receive() 388 struct nsh nsh; in dtl1_hci_send_frame() local 393 nsh.type = 0x81; in dtl1_hci_send_frame() 397 nsh.type = 0x82; in dtl1_hci_send_frame() [all …]
|
/linux-6.14.4/arch/arm64/kvm/hyp/nvhe/ |
D | tlb.c | 21 bool nsh) in enter_vmid_context() argument 36 * being either ish or nsh, depending on the invalidation in enter_vmid_context() 41 * registers out of context, for which dsb(nsh) is enough in enter_vmid_context() 44 * the 'nsh' parameter tracks the distinction between in enter_vmid_context() 48 if (nsh) in enter_vmid_context() 49 dsb(nsh); in enter_vmid_context() 200 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 202 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 258 dsb(nsh); in __kvm_flush_cpu_context()
|
D | switch.c | 327 dsb(nsh); in __kvm_vcpu_run() 368 dsb(nsh); in __kvm_vcpu_run()
|
/linux-6.14.4/drivers/net/dsa/hirschmann/ |
D | hellcreek_ptp.c | 33 u16 nsl, nsh; in hellcreek_ptp_clock_read() local 45 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() 46 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() 47 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() 48 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read() 53 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read() 108 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local 111 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime() 124 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
|
D | hellcreek_hwtstamp.c | 202 u16 nsl, nsh; in hellcreek_ptp_hwtstamp_read() local 204 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read() 205 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read() 206 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read() 207 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read() 210 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_hwtstamp_read()
|
/linux-6.14.4/Documentation/netlink/specs/ |
D | ovs_flow.yaml | 580 name: nsh 582 nested-attributes: ovs-nsh-key-attrs 688 name: push-nsh 690 nested-attributes: ovs-nsh-key-attrs 692 Push NSH header to the packet. 694 name: pop-nsh 697 Pop the outermost NSH header off the packet. 852 name: ovs-nsh-key-attrs 853 enum-name: ovs-nsh-key-attr 854 name-prefix: ovs-nsh-key-attr-
|
/linux-6.14.4/net/nsh/ |
D | nsh.c | 12 #include <net/nsh.h> 29 /* Add the NSH header */ in nsh_push() 152 MODULE_DESCRIPTION("NSH protocol");
|
D | Makefile | 2 obj-$(CONFIG_NET_NSH) += nsh.o
|
D | Kconfig | 3 tristate "Network Service Header (NSH) protocol"
|
/linux-6.14.4/arch/arm64/kernel/ |
D | relocate_kernel.S | 80 dsb nsh 82 dsb nsh
|
/linux-6.14.4/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 148 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 150 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 210 dsb(nsh); in __kvm_flush_cpu_context()
|
/linux-6.14.4/net/openvswitch/ |
D | flow.c | 36 #include <net/nsh.h> 652 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh() 653 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh() 654 key->nsh.base.mdtype = nh->mdtype; in parse_nsh() 655 key->nsh.base.np = nh->np; in parse_nsh() 656 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh() 657 switch (key->nsh.base.mdtype) { in parse_nsh() 661 memcpy(key->nsh.context, nh->md1.context, in parse_nsh() 665 memset(key->nsh.context, 0, in parse_nsh()
|
D | flow_netlink.c | 1355 /* nsh header length = NSH_BASE_HDR_LEN + mdlen */ in nsh_hdr_from_nlattr() 1363 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) in nsh_key_from_nlattr() argument 1378 nsh->base = *base; in nsh_key_from_nlattr() 1386 memcpy(nsh->context, md1->context, sizeof(*md1)); in nsh_key_from_nlattr() 1422 OVS_NLERR(log, "nsh attr %d is out of range max %d", in nsh_key_put_from_nlattr() 1431 "nsh attr %d has unexpected len %d expected %d", in nsh_key_put_from_nlattr() 1445 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr() 1447 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr() 1449 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr() 1451 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr() [all …]
|
D | actions.c | 633 /* Make sure the NSH base header is there */ in set_nsh() 640 /* Make sure the whole NSH header is there */ in set_nsh() 650 flow_key->nsh.base.flags = flags; in set_nsh() 653 flow_key->nsh.base.ttl = ttl; in set_nsh() 657 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh() 665 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh() 669 memset(flow_key->nsh.context, 0, in set_nsh() 670 sizeof(flow_key->nsh.context)); in set_nsh()
|
D | flow.h | 24 #include <net/nsh.h> 155 struct ovs_key_nsh nsh; /* network service header */ member
|
D | flow_netlink.h | 68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
|
/linux-6.14.4/arch/arm/include/asm/ |
D | tlbflush.h | 338 dsb(nsh); in local_flush_tlb_all() 391 dsb(nsh); in local_flush_tlb_mm() 448 dsb(nsh); in local_flush_tlb_page() 501 dsb(nsh); in local_flush_tlb_kernel_page()
|
/linux-6.14.4/arch/arm64/mm/ |
D | proc.S | 169 dsb nsh 232 dsb nsh 454 dsb nsh
|
/linux-6.14.4/drivers/net/ethernet/intel/ice/ |
D | ice_protocol_type.h | 319 * B = NSHoE - Outer L2 header has NSH (ethernet type 0x894f) 362 * I = OAM - VXLAN/Geneve/tunneled NSH packet with the OAM bit set 363 * J = tunneled NSH - Packet has NSHoGRE or NSHoUDP
|
/linux-6.14.4/Documentation/networking/ |
D | bareudp.rst | 12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel.
|
/linux-6.14.4/net/ |
D | Makefile | 72 obj-$(CONFIG_NET_NSH) += nsh/
|