Home
last modified time | relevance | path

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

12

/linux-6.8/include/net/
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 …]
Dtun_proto.h7 /* One byte protocol values as defined by VXLAN-GPE and NSH. These will
/linux-6.8/arch/arm64/kvm/hyp/nvhe/
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()
133 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
135 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
190 dsb(nsh); in __kvm_flush_cpu_context()
Dswitch.c292 dsb(nsh); in __kvm_vcpu_run()
333 dsb(nsh); in __kvm_vcpu_run()
/linux-6.8/drivers/bluetooth/
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 …]
/linux-6.8/drivers/net/dsa/hirschmann/
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()
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()
/linux-6.8/Documentation/netlink/specs/
Dovs_flow.yaml580 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.
846 name: ovs-nsh-key-attrs
847 enum-name: ovs-nsh-key-attr
848 name-prefix: ovs-nsh-key-attr-
/linux-6.8/net/nsh/
Dnsh.c12 #include <net/nsh.h>
29 /* Add the NSH header */ in nsh_push()
150 MODULE_DESCRIPTION("NSH protocol");
DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
DKconfig3 tristate "Network Service Header (NSH) protocol"
/linux-6.8/arch/arm64/kvm/hyp/vhe/
Dtlb.c148 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
150 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh()
209 dsb(nsh); in __kvm_flush_cpu_context()
Dsysreg-sr.c82 dsb(nsh); in __vcpu_load_switch_sysregs()
/linux-6.8/arch/arm64/kernel/
Drelocate_kernel.S80 dsb nsh
82 dsb nsh
/linux-6.8/net/openvswitch/
Dflow.c36 #include <net/nsh.h>
651 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
652 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
653 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
654 key->nsh.base.np = nh->np; in parse_nsh()
655 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
656 switch (key->nsh.base.mdtype) { in parse_nsh()
660 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
664 memset(key->nsh.context, 0, in parse_nsh()
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 …]
Dactions.c624 /* Make sure the NSH base header is there */ in set_nsh()
631 /* Make sure the whole NSH header is there */ in set_nsh()
641 flow_key->nsh.base.flags = flags; in set_nsh()
644 flow_key->nsh.base.ttl = ttl; in set_nsh()
648 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
656 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
660 memset(flow_key->nsh.context, 0, in set_nsh()
661 sizeof(flow_key->nsh.context)); in set_nsh()
Dflow.h24 #include <net/nsh.h>
155 struct ovs_key_nsh nsh; /* network service header */ member
Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
/linux-6.8/arch/arm64/mm/
Dproc.S179 dsb nsh
233 dsb nsh
406 dsb nsh
/linux-6.8/arch/arm/include/asm/
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()
/linux-6.8/drivers/net/ethernet/intel/ice/
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
/linux-6.8/Documentation/networking/
Dbareudp.rst12 tunnelling different L3 protocols like MPLS, IP, NSH etc. inside a UDP tunnel.
/linux-6.8/net/
DMakefile72 obj-$(CONFIG_NET_NSH) += nsh/
/linux-6.8/arch/arm64/include/asm/
Dassembler.h109 dsb nsh
492 dsb nsh
750 dsb nsh

12