Home
last modified time | relevance | path

Searched full:nsh (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/include/net/
H A Dnsh.h21 * 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 …]
H A Dtun_proto.h7 /* One byte protocol values as defined by VXLAN-GPE and NSH. These will
/openbmc/linux/drivers/bluetooth/
H A Ddtl1_cs.c97 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 …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dtlb.c19 bool nsh) in __tlb_switch_to_guest() argument
26 * being either ish or nsh, depending on the invalidation in __tlb_switch_to_guest()
31 * registers out of context, for which dsb(nsh) is enough in __tlb_switch_to_guest()
34 * the 'nsh' parameter tracks the distinction between in __tlb_switch_to_guest()
38 if (nsh) in __tlb_switch_to_guest()
39 dsb(nsh); in __tlb_switch_to_guest()
155 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
157 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
238 dsb(nsh); in __kvm_flush_cpu_context()
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c32 u16 nsl, nsh; in hellcreek_ptp_clock_read() local
44 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
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()
50 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read()
103 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local
106 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime()
119 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
H A Dhellcreek_hwtstamp.c202 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()
/openbmc/qemu/scripts/
H A Dnsis.py61 os.path.join(destdir + prefix, "system-emulations.nsh"), "w"
62 ) as nsh, open(
63 os.path.join(destdir + prefix, "system-mui-text.nsh"), "w"
70 nsh.write(
/openbmc/linux/Documentation/netlink/specs/
H A Dovs_flow.yaml576 name: nsh
578 nested-attributes: ovs-nsh-key-attrs
684 name: push-nsh
686 nested-attributes: ovs-nsh-key-attrs
688 Push NSH header to the packet.
690 name: pop-nsh
693 Pop the outermost NSH header off the packet.
842 name: ovs-nsh-key-attrs
843 enum-name: ovs-nsh-key-attr
844 name-prefix: ovs-nsh-key-attr-
/openbmc/linux/net/nsh/
H A Dnsh.c12 #include <net/nsh.h>
29 /* Add the NSH header */ in nsh_push()
152 MODULE_DESCRIPTION("NSH protocol");
H A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
H A DKconfig3 tristate "Network Service Header (NSH) protocol"
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/images/firmware-image-juno/
H A Dimages-r0.txt46 NOR6FILE: \SOFTWARE\startup.nsh ;Image File Name
47 NOR6NAME: startup.nsh
H A Dimages-r2.txt46 NOR6FILE: \SOFTWARE\startup.nsh ;Image File Name
47 NOR6NAME: startup.nsh
H A Dimages-r1.txt46 NOR6FILE: \SOFTWARE\startup.nsh ;Image File Name
47 NOR6NAME: startup.nsh
/openbmc/linux/arch/arm64/kvm/hyp/vhe/
H A Dtlb.c138 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
140 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
199 dsb(nsh); in __kvm_flush_cpu_context()
/openbmc/qemu/
H A Dqemu.nsi46 !include "MUI2.nsh"
153 !include "${BINDIR}\system-emulations.nsh"
233 !include "${BINDIR}\system-mui-text.nsh"
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dlive-vm-common.bbclass48 printf 'fs0:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" >${DEST}/startup.nsh
60 printf 'fs0:%s\%s\n' "$EFIPATH" "${EFI_BOOT_IMAGE}" >${EFIIMGDIR}/startup.nsh
/openbmc/linux/arch/arm64/kernel/
H A Drelocate_kernel.S80 dsb nsh
82 dsb nsh
/openbmc/linux/net/openvswitch/
H A Dflow.c36 #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()
H A Dflow_netlink.c1342 /* nsh header length = NSH_BASE_HDR_LEN + mdlen */ in nsh_hdr_from_nlattr()
1350 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) in nsh_key_from_nlattr() argument
1365 nsh->base = *base; in nsh_key_from_nlattr()
1373 memcpy(nsh->context, md1->context, sizeof(*md1)); in nsh_key_from_nlattr()
1409 OVS_NLERR(log, "nsh attr %d is out of range max %d", in nsh_key_put_from_nlattr()
1418 "nsh attr %d has unexpected len %d expected %d", in nsh_key_put_from_nlattr()
1432 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1434 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1436 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1438 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
[all …]
H A Dactions.c617 /* Make sure the NSH base header is there */ in set_nsh()
624 /* Make sure the whole NSH header is there */ in set_nsh()
634 flow_key->nsh.base.flags = flags; in set_nsh()
637 flow_key->nsh.base.ttl = ttl; in set_nsh()
641 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
649 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
653 memset(flow_key->nsh.context, 0, in set_nsh()
654 sizeof(flow_key->nsh.context)); in set_nsh()
/openbmc/linux/arch/arm64/mm/
H A Dproc.S179 dsb nsh
233 dsb nsh
406 dsb nsh
/openbmc/linux/arch/arm/include/asm/
H A Dtlbflush.h338 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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_protocol_type.h302 * B = NSHoE - Outer L2 header has NSH (ethernet type 0x894f)
345 * I = OAM - VXLAN/Geneve/tunneled NSH packet with the OAM bit set
346 * J = tunneled NSH - Packet has NSHoGRE or NSHoUDP
/openbmc/linux/Documentation/networking/
H A Dbareudp.rst12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel.

123