/openbmc/linux/net/llc/ |
H A D | llc_c_ac.c | 29 #include <net/llc.h> 47 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_clear_remote_busy() local 49 if (llc->remote_busy_flag) { in llc_conn_ac_clear_remote_busy() 53 llc->remote_busy_flag = 0; in llc_conn_ac_clear_remote_busy() 54 del_timer(&llc->busy_state_timer.timer); in llc_conn_ac_clear_remote_busy() 134 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_rst_ind() local 154 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind() 191 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() local 193 if (llc->data_flag == 2) in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() 194 del_timer(&llc->rej_sent_timer.timer); in llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() [all …]
|
H A D | llc_conn.c | 17 #include <net/llc.h> 65 struct llc_sock *llc = llc_sk(skb->sk); in llc_conn_state_process() local 132 if (!llc_data_accept_state(llc->state)) in llc_conn_state_process() 135 rc = llc->failed_data_req = 1; in llc_conn_state_process() 216 struct llc_sock *llc; in llc_conn_resend_i_pdu_as_cmd() local 226 llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_cmd() 228 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_cmd() 234 llc->vS = LLC_I_GET_NS(pdu); in llc_conn_resend_i_pdu_as_cmd() 238 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd() 258 struct llc_sock *llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_rsp() local [all …]
|
H A D | llc_proc.c | 2 * proc_llc.c - proc interface for LLC 23 #include <net/llc.h> 83 struct llc_sock *llc; in llc_seq_next() local 97 llc = llc_sk(sk); in llc_seq_next() 98 sap = llc->sap; in llc_seq_next() 99 sk = laddr_hash_next(sap, llc_sk_laddr_hashfn(sap, &llc->laddr)); in llc_seq_next() 118 struct llc_sock *llc = llc_sk(sk); in llc_seq_stop() local 119 struct llc_sap *sap = llc->sap; in llc_seq_stop() 129 struct llc_sock *llc; in llc_seq_socket_show() local 137 llc = llc_sk(sk); in llc_seq_socket_show() [all …]
|
H A D | af_llc.c | 2 * af_llc.c - LLC User Interface SAPs 4 * Functions in this module are implementation of socket based llc 5 * communications for the Linux operating system. Support of llc class 31 #include <net/llc.h> 89 * llc_ui_header_len - return length of llc header based on operation 90 * @sk: Socket which contains a valid llc socket type. 93 * Provide the length of the llc header depending on what kind of 95 * Returns the correct llc header length. 105 * since llc_pdu_init_as_xid_cmd() sets 4,5,6 bytes of LLC header in llc_ui_header_len() 129 struct llc_sock* llc = llc_sk(sk); in llc_ui_send_data() local [all …]
|
H A D | llc_if.c | 2 * llc_if.c - Defines LLC interface to upper layer 39 * LLC has send an I pdu with p bit set to 1 and is waiting for it's 48 struct llc_sock *llc = llc_sk(sk); in llc_build_and_send_pkt() local 50 if (unlikely(llc->state == LLC_CONN_STATE_ADM)) in llc_build_and_send_pkt() 53 if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ in llc_build_and_send_pkt() 54 llc->p_flag)) { in llc_build_and_send_pkt() 55 llc->failed_data_req = 1; in llc_build_and_send_pkt() 62 skb->dev = llc->dev; in llc_build_and_send_pkt() 77 * Upper layer calls this to establish an LLC connection with a remote 88 struct llc_sock *llc = llc_sk(sk); in llc_establish_connection() local [all …]
|
/openbmc/linux/net/nfc/hci/ |
H A D | llc.c | 8 #include <net/nfc/llc.h> 10 #include "llc.h" 96 struct nfc_llc *llc; in nfc_llc_allocate() local 102 llc = kzalloc(sizeof(struct nfc_llc), GFP_KERNEL); in nfc_llc_allocate() 103 if (llc == NULL) in nfc_llc_allocate() 106 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, in nfc_llc_allocate() 108 &llc->rx_headroom, &llc->rx_tailroom, in nfc_llc_allocate() 110 if (llc->data == NULL) { in nfc_llc_allocate() 111 kfree(llc); in nfc_llc_allocate() 114 llc->ops = llc_engine->ops; in nfc_llc_allocate() [all …]
|
H A D | llc_nop.c | 10 #include "llc.h" 45 static void llc_nop_deinit(struct nfc_llc *llc) in llc_nop_deinit() argument 47 kfree(nfc_llc_get_data(llc)); in llc_nop_deinit() 50 static int llc_nop_start(struct nfc_llc *llc) in llc_nop_start() argument 55 static int llc_nop_stop(struct nfc_llc *llc) in llc_nop_stop() argument 60 static void llc_nop_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_rcv_from_drv() argument 62 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_rcv_from_drv() 67 static int llc_nop_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_xmit_from_hci() argument 69 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_xmit_from_hci()
|
H A D | llc.h | 12 #include <net/nfc/llc.h> 20 void (*deinit) (struct nfc_llc *llc); 21 int (*start) (struct nfc_llc *llc); 22 int (*stop) (struct nfc_llc *llc); 23 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); 24 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); 40 void *nfc_llc_get_data(struct nfc_llc *llc);
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sandybridge/ |
H A D | cache.json | 276 "BriefDescription": "L2 or LLC HW prefetches that access L2 cache.", 339 "BriefDescription": "Core-originated cacheable demand requests missed LLC.", 346 "BriefDescription": "Core-originated cacheable demand requests that refer to LLC.", 353 …"BriefDescription": "Retired load uops which data sources were LLC and cross-core snoop hits in on… 362 …on": "Retired load uops which data sources were HitM responses from shared LLC. (Precise Event - P… 371 …"BriefDescription": "Retired load uops which data sources were LLC hit and cross-core snoop missed… 379 …"BriefDescription": "Retired load uops which data sources were hits in LLC without snoops required… 420 …"BriefDescription": "Retired load uops which data sources were data hits in LLC without snoops req… 577 …"BriefDescription": "Counts demand & prefetch code reads that hit in the LLC and the snoop to one … 586 …"BriefDescription": "Counts demand & prefetch code reads that hit in the LLC and sibling core snoo… [all …]
|
H A D | memory.json | 113 …"BriefDescription": "Counts all demand & prefetch code reads that miss the LLC and the data retur… 122 …"BriefDescription": "Counts all demand & prefetch data reads that miss the LLC and the data retur… 131 …"BriefDescription": "Counts all prefetch code reads that miss the LLC and the data returned from … 140 …"BriefDescription": "Counts all prefetch data reads that miss the LLC and the data returned from … 149 …"BriefDescription": "Counts all prefetch RFOs that miss the LLC and the data returned from dram.", 158 …"BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that miss the LLC and the… 167 …"BriefDescription": "Counts all demand & prefetch RFOs that miss the LLC and the data returned fr… 181 …"PublicDescription": "This event counts any requests that miss the LLC where the data was returned… 186 "BriefDescription": "Counts LLC replacements.", 191 …ts (demand/prefetch data reads and demand data writes (RFOs) that miss the LLC where the data is … [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | memory.json | 122 "BriefDescription": "Counts all demand & prefetch code reads that miss the LLC", 131 …"BriefDescription": "Counts all demand & prefetch code reads that miss the LLC and the data retur… 140 …"BriefDescription": "Counts all demand & prefetch code reads that miss the LLC and the data forwa… 149 "BriefDescription": "Counts all demand & prefetch data reads that hits the LLC", 158 "BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that hit the LLC", 167 …"BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that miss the LLC and the… 176 …"BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that miss the LLC the dat… 185 …"BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) that miss the LLC and the… 194 "BriefDescription": "Counts all demand code reads that miss the LLC", 203 …"BriefDescription": "Counts all demand code reads that miss the LLC and the data returned from lo… [all …]
|
H A D | cache.json | 72 "PublicDescription": "Not rejected writebacks that missed LLC.", 261 "BriefDescription": "L2 or LLC HW prefetches that access L2 cache", 264 "PublicDescription": "Any MLC or LLC HW prefetch accessing L2, including rejects.", 333 "BriefDescription": "Core-originated cacheable demand requests missed LLC", 341 "BriefDescription": "Core-originated cacheable demand requests that refer to LLC", 349 …"BriefDescription": "Retired load uops which data sources were LLC and cross-core snoop hits in on… 357 … "BriefDescription": "Retired load uops which data sources were HitM responses from shared LLC.", 365 …"BriefDescription": "Retired load uops which data sources were LLC hit and cross-core snoop missed… 373 …"BriefDescription": "Retired load uops which data sources were hits in LLC without snoops required… 449 …"BriefDescription": "Retired load uops which data sources were data hits in LLC without snoops req… [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_llc.c | 25 static struct intel_gt *llc_to_gt(struct intel_llc *llc) in llc_to_gt() argument 27 return container_of(llc, struct intel_gt, llc); in llc_to_gt() 50 static bool get_ia_constants(struct intel_llc *llc, in get_ia_constants() argument 53 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in get_ia_constants() 54 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() 62 intel_uncore_read(llc_to_gt(llc)->uncore, DCLK) & 0xf; in get_ia_constants() 72 static void calc_ia_freq(struct intel_llc *llc, in calc_ia_freq() argument 78 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in calc_ia_freq() 118 static void gen6_update_ring_freq(struct intel_llc *llc) in gen6_update_ring_freq() argument 123 if (!get_ia_constants(llc, &consts)) in gen6_update_ring_freq() [all …]
|
H A D | selftest_llc.c | 9 static int gen6_verify_ring_freq(struct intel_llc *llc) in gen6_verify_ring_freq() argument 11 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in gen6_verify_ring_freq() 17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq() 19 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq() 25 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() 30 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq() 33 if (snb_pcode_read(llc_to_gt(llc)->uncore, GEN6_PCODE_READ_MIN_FREQ_TABLE, in gen6_verify_ring_freq() 63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq() 67 int st_llc_verify(struct intel_llc *llc) in st_llc_verify() argument 69 return gen6_verify_ring_freq(llc); in st_llc_verify()
|
H A D | intel_mocs.c | 59 /* (e)LLC caching options */ 146 * Thus it is expected to allow LLC cacheability to enable coherent 166 /* Base - L3 + LLC */ \ 178 /* Base - LLC */ \ 182 /* Age 0 - LLC */ \ 186 /* Age 0 - L3 + LLC */ \ 190 /* Age: Don't Chg. - LLC */ \ 194 /* Age: Don't Chg. - L3 + LLC */ \ 198 /* No AOM - LLC */ \ 202 /* No AOM - L3 + LLC */ \ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | memory.json | 113 …"BriefDescription": "This event counts all LLC misses for all demand and L2 prefetches. LLC prefet… 122 …"BriefDescription": "Counts all local dram accesses for all demand and L2 prefetches. LLC prefetch… 131 …ransfers (includes HITM and HIT-Forward) for all demand and L2 prefetches. LLC prefetches are excl… 140 "BriefDescription": "Counts all demand code reads that miss the LLC", 149 …"BriefDescription": "Counts all demand code reads that miss the LLC and the data returned from lo… 158 …"BriefDescription": "Counts all demand code reads that miss the LLC and the data returned from re… 167 …"BriefDescription": "Counts all demand code reads that miss the LLC the data is found in M state … 176 …"BriefDescription": "Counts all demand code reads that miss the LLC and the data forwarded from r… 185 …"BriefDescription": "Counts demand data reads that miss the LLC and the data returned from remote… 194 "BriefDescription": "Counts demand data reads that miss in the LLC", [all …]
|
H A D | cache.json | 276 "BriefDescription": "L2 or LLC HW prefetches that access L2 cache.", 339 "BriefDescription": "Core-originated cacheable demand requests missed LLC.", 346 "BriefDescription": "Core-originated cacheable demand requests that refer to LLC.", 353 …"BriefDescription": "Retired load uops which data sources were LLC and cross-core snoop hits in on… 361 … "BriefDescription": "Retired load uops which data sources were HitM responses from shared LLC.", 369 …"BriefDescription": "Retired load uops which data sources were LLC hit and cross-core snoop missed… 376 …"BriefDescription": "Retired load uops which data sources were hits in LLC without snoops required… 421 …"BriefDescription": "Retired load uops which data sources were data hits in LLC without snoops req… 593 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and the snoop to one … 602 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and the snoops to sib… [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_llc.c | 5 * Link Layer Control (LLC) 205 static void smc_llc_enqueue(struct smc_link *link, union smc_llc_msg *llc); 242 /* drop parallel or already-in-progress llc requests */ in smc_llc_flow_parallel() 245 "LLC msg: msg %d flow %d role %d\n", in smc_llc_flow_parallel() 253 /* try to start a new llc flow, initiated by an incoming llc msg */ 285 /* start a new local llc flow, wait till current flow finished */ 319 /* finish the current llc flow */ 362 pr_warn_once("smc: SMC-R lg %*phN net %llu dropped unexpected LLC msg: " in smc_llc_wait() 379 /* handler for send/transmission completion of an LLC msg */ 388 * smc_llc_add_pending_send() - add LLC control message to pending WQE transmits [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereex/ |
H A D | cache.json | 388 "BriefDescription": "L2 writeback to LLC transactions", 675 "BriefDescription": "Retired loads that miss the LLC cache (Precise Event)", 683 … "BriefDescription": "Retired loads that hit valid versions in the LLC cache (Precise Event)", 882 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 891 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 900 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 909 "BriefDescription": "Offcore data reads satisfied by the LLC", 918 "BriefDescription": "Offcore data reads satisfied by the LLC or local DRAM", 990 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 999 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemex/ |
H A D | cache.json | 493 "BriefDescription": "L2 writeback to LLC transactions", 780 "BriefDescription": "Retired loads that miss the LLC cache (Precise Event)", 788 … "BriefDescription": "Retired loads that hit valid versions in the LLC cache (Precise Event)", 845 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 854 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 863 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 872 "BriefDescription": "Offcore data reads satisfied by the LLC", 881 "BriefDescription": "Offcore data reads satisfied by the LLC or local DRAM", 953 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 962 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemep/ |
H A D | cache.json | 493 "BriefDescription": "L2 writeback to LLC transactions", 780 "BriefDescription": "Retired loads that miss the LLC cache (Precise Event)", 788 … "BriefDescription": "Retired loads that hit valid versions in the LLC cache (Precise Event)", 885 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 894 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 903 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 912 "BriefDescription": "Offcore data reads satisfied by the LLC", 921 "BriefDescription": "Offcore data reads satisfied by the LLC or local DRAM", 993 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1002 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
H A D | uncore-cache.json | 254 …rom the TOR pipe which are the result of remote transaction hitting the SF/LLC and returning data … 326 …"BriefDescription": "Counts Number of Misses in HitMe Cache : No SF/LLC HitS/F and op is RdInvOwn", 342 … "BriefDescription": "Counts Number of Misses in HitMe Cache : SF/LLC HitS/F and op is RdInvOwn", 450 …"PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, … 459 …ups : All transactions from Remote Agents : Counts the number of times the LLC was accessed - this… 468 …LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numero… 476 …LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numero… 485 …LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numero… 493 …LLC was accessed - this includes code, data, prefetches and hints coming from L2. This has numero… 501 …"PublicDescription": "Counts the number of times the LLC was accessed - this includes code, data, … [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-sp/ |
H A D | cache.json | 388 "BriefDescription": "L2 writeback to LLC transactions", 675 "BriefDescription": "Retired loads that miss the LLC cache (Precise Event)", 683 … "BriefDescription": "Retired loads that hit valid versions in the LLC cache (Precise Event)", 889 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 898 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 907 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 916 "BriefDescription": "Offcore data reads satisfied by the LLC", 925 "BriefDescription": "Offcore data reads satisfied by the LLC or local DRAM", 997 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1006 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", [all …]
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_802_3.c | 27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt() 30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt() 32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt() 37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivybridge/ |
H A D | cache.json | 72 "PublicDescription": "Not rejected writebacks that missed LLC.", 261 "BriefDescription": "L2 or LLC HW prefetches that access L2 cache", 264 "PublicDescription": "Any MLC or LLC HW prefetch accessing L2, including rejects.", 333 "BriefDescription": "Core-originated cacheable demand requests missed LLC", 341 "BriefDescription": "Core-originated cacheable demand requests that refer to LLC", 349 …"BriefDescription": "Retired load uops which data sources were LLC and cross-core snoop hits in on… 357 … "BriefDescription": "Retired load uops which data sources were HitM responses from shared LLC.", 365 …"BriefDescription": "Retired load uops which data sources were LLC hit and cross-core snoop missed… 373 …"BriefDescription": "Retired load uops which data sources were hits in LLC without snoops required… 381 …"BriefDescription": "Retired load uops which data sources missed LLC but serviced from local dram.… [all …]
|