/linux-6.6.21/net/ncsi/ |
D | ncsi-manage.c | 33 bool ncsi_channel_is_last(struct ncsi_dev_priv *ndp, in ncsi_channel_is_last() argument 39 NCSI_FOR_EACH_PACKAGE(ndp, np) in ncsi_channel_is_last() 51 static void ncsi_report_link(struct ncsi_dev_priv *ndp, bool force_down) in ncsi_report_link() argument 53 struct ncsi_dev *nd = &ndp->ndev; in ncsi_report_link() 65 NCSI_FOR_EACH_PACKAGE(ndp, np) { in ncsi_report_link() 93 struct ncsi_dev_priv *ndp = np->ndp; in ncsi_channel_monitor() local 116 netdev_warn(ndp->ndev.dev, in ncsi_channel_monitor() 128 nca.ndp = ndp; in ncsi_channel_monitor() 135 netdev_err(ndp->ndev.dev, "Error %d sending GLS\n", in ncsi_channel_monitor() 141 netdev_err(ndp->ndev.dev, "NCSI Channel %d timed out!\n", in ncsi_channel_monitor() [all …]
|
D | ncsi-aen.c | 46 static int ncsi_aen_handler_lsc(struct ncsi_dev_priv *ndp, in ncsi_aen_handler_lsc() argument 60 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_lsc() 77 netdev_dbg(ndp->ndev.dev, "NCSI: LSC AEN - channel %u state %s\n", in ncsi_aen_handler_lsc() 85 netdev_warn(ndp->ndev.dev, in ncsi_aen_handler_lsc() 92 if (!ndp->multi_package && !nc->package->multi_channel) { in ncsi_aen_handler_lsc() 94 ndp->flags |= NCSI_DEV_RESHUFFLE; in ncsi_aen_handler_lsc() 96 spin_lock_irqsave(&ndp->lock, flags); in ncsi_aen_handler_lsc() 97 list_add_tail_rcu(&nc->link, &ndp->channel_queue); in ncsi_aen_handler_lsc() 98 spin_unlock_irqrestore(&ndp->lock, flags); in ncsi_aen_handler_lsc() 99 return ncsi_process_next_channel(ndp); in ncsi_aen_handler_lsc() [all …]
|
D | ncsi-netlink.c | 36 struct ncsi_dev_priv *ndp; in ndp_from_ifindex() local 51 ndp = nd ? TO_NCSI_DEV_PRIV(nd) : NULL; in ndp_from_ifindex() 54 return ndp; in ndp_from_ifindex() 58 struct ncsi_dev_priv *ndp, in ncsi_write_channel_info() argument 95 struct ncsi_dev_priv *ndp, unsigned int id) in ncsi_write_package_info() argument 103 if (id > ndp->package_num - 1) { in ncsi_write_package_info() 104 netdev_info(ndp->ndev.dev, "NCSI: No package with id %u\n", id); in ncsi_write_package_info() 109 NCSI_FOR_EACH_PACKAGE(ndp, np) { in ncsi_write_package_info() 120 if ((0x1 << np->id) == ndp->package_whitelist) in ncsi_write_package_info() 134 rc = ncsi_write_channel_info(skb, ndp, nc); in ncsi_write_package_info() [all …]
|
D | ncsi-rsp.c | 49 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 54 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 62 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 80 netdev_dbg(nr->ndp->ndev.dev, in ncsi_validate_rsp_pkt() 92 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_cis() local 98 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 100 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_cis() 113 struct ncsi_dev_priv *ndp = nr->ndp; in ncsi_rsp_handler_sp() local 121 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, in ncsi_rsp_handler_sp() 124 if (ndp->flags & NCSI_DEV_PROBED) in ncsi_rsp_handler_sp() [all …]
|
D | internal.h | 248 struct ncsi_dev_priv *ndp; /* NCSI device */ member 265 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member 349 struct ncsi_dev_priv *ndp; /* Associated NCSI device */ member 370 #define NCSI_FOR_EACH_DEV(ndp) \ argument 371 list_for_each_entry_rcu(ndp, &ncsi_dev_list, node) 372 #define NCSI_FOR_EACH_PACKAGE(ndp, np) \ argument 373 list_for_each_entry_rcu(np, &ndp->packages, node) 385 struct ncsi_package *ncsi_find_package(struct ncsi_dev_priv *ndp, 387 struct ncsi_package *ncsi_add_package(struct ncsi_dev_priv *ndp, 390 void ncsi_find_package_and_channel(struct ncsi_dev_priv *ndp, [all …]
|
D | ncsi-cmd.c | 278 struct ncsi_dev_priv *ndp = nca->ndp; in ncsi_alloc_command() local 279 struct ncsi_dev *nd = &ndp->ndev; in ncsi_alloc_command() 288 nr = ncsi_alloc_request(ndp, nca->req_flags); in ncsi_alloc_command() 346 netdev_err(nca->ndp->ndev.dev, in ncsi_xmit_cmd() 386 if (nca->ndp->gma_flag == 1) in ncsi_xmit_cmd() 387 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); in ncsi_xmit_cmd()
|
/linux-6.6.21/net/dccp/ccids/lib/ |
D | packet_history.c | 99 const u64 ndp) in tfrc_rx_hist_entry_from_skb() argument 106 entry->tfrchrx_ndp = ndp; in tfrc_rx_hist_entry_from_skb() 112 const u64 ndp) in tfrc_rx_hist_add_packet() argument 116 tfrc_rx_hist_entry_from_skb(entry, skb, ndp); in tfrc_rx_hist_add_packet() 313 struct sk_buff *skb, const u64 ndp, in tfrc_rx_handle_loss() argument 319 __do_track_loss(h, skb, ndp); in tfrc_rx_handle_loss() 321 __one_after_loss(h, skb, ndp); in tfrc_rx_handle_loss() 324 } else if (__two_after_loss(h, skb, ndp)) { in tfrc_rx_handle_loss()
|
D | packet_history.h | 130 const u64 ndp); 136 struct sk_buff *skb, const u64 ndp,
|
/linux-6.6.21/net/dccp/ |
D | options.c | 282 static inline u8 dccp_ndp_len(const u64 ndp) in dccp_ndp_len() argument 284 if (likely(ndp <= 0xFF)) in dccp_ndp_len() 286 return likely(ndp <= USHRT_MAX) ? 2 : (ndp <= UINT_MAX ? 4 : 6); in dccp_ndp_len() 312 u64 ndp = dp->dccps_ndp_count; in dccp_insert_option_ndp() local 319 if (ndp > 0) { in dccp_insert_option_ndp() 321 const int ndp_len = dccp_ndp_len(ndp); in dccp_insert_option_ndp() 332 dccp_encode_value_var(ndp, ptr, ndp_len); in dccp_insert_option_ndp()
|
D | dccp.h | 145 static inline u64 dccp_loss_count(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_count() argument 150 delta -= ndp + 1; in dccp_loss_count() 158 static inline bool dccp_loss_free(const u64 s1, const u64 s2, const u64 ndp) in dccp_loss_free() argument 160 return dccp_loss_count(s1, s2, ndp) == 0; in dccp_loss_free()
|
/linux-6.6.21/drivers/net/usb/ |
D | cdc_ncm.c | 1210 } ndp; in cdc_ncm_fill_tx_frame() local 1310 ndp.ndp16 = cdc_ncm_ndp16(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1312 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame() 1318 if ((ctx->is_ndp16 && !ndp.ndp16) || (!ctx->is_ndp16 && !ndp.ndp32) || in cdc_ncm_fill_tx_frame() 1342 ndplen = le16_to_cpu(ndp.ndp16->wLength); in cdc_ncm_fill_tx_frame() 1346 ndp.ndp16->dpe16[index].wDatagramLength = cpu_to_le16(skb->len); in cdc_ncm_fill_tx_frame() 1347 ndp.ndp16->dpe16[index].wDatagramIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame() 1348 ndp.ndp16->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_fill_tx_frame() 1350 ndplen = le16_to_cpu(ndp.ndp32->wLength); in cdc_ncm_fill_tx_frame() 1353 ndp.ndp32->dpe32[index].dwDatagramLength = cpu_to_le32(skb->len); in cdc_ncm_fill_tx_frame() [all …]
|
/linux-6.6.21/net/dccp/ccids/ |
D | ccid3.c | 711 const u64 ndp = dccp_sk(sk)->dccps_options_received.dccpor_ndp; in ccid3_hc_rx_packet_recv() local 745 skb, ndp, ccid3_first_li, sk)) { in ccid3_hc_rx_packet_recv() 784 tfrc_rx_hist_add_packet(&hc->rx_hist, skb, ndp); in ccid3_hc_rx_packet_recv()
|
/linux-6.6.21/drivers/thunderbolt/ |
D | tunnel.c | 98 size_t ndp; in tb_available_credits() local 118 ndp = (credits - (usb3 + pcie + spare)) / in tb_available_credits() 121 ndp = 0; in tb_available_credits() 123 ndp = 0; in tb_available_credits() 125 credits -= ndp * (sw->min_dp_aux_credits + sw->min_dp_main_credits); in tb_available_credits() 129 *max_dp_streams = ndp; in tb_available_credits()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs.h | 406 int tid, struct ieee80211_tx_info *info, bool ndp);
|
D | rs.c | 377 int tid, bool ndp); 2054 int tid, bool ndp) in rs_rate_scale_perform() argument 2324 if (!ndp) in rs_rate_scale_perform() 3032 bool ndp) in __iwl_mvm_rs_tx_status() argument 3259 rs_rate_scale_perform(mvm, sta, lq_sta, tid, ndp); in __iwl_mvm_rs_tx_status() 3263 int tid, struct ieee80211_tx_info *info, bool ndp) in iwl_mvm_rs_tx_status() argument 3273 __iwl_mvm_rs_tx_status(mvm, sta, tid, info, ndp); in iwl_mvm_rs_tx_status()
|
/linux-6.6.21/Documentation/netlink/specs/ |
D | rt_link.yaml | 452 name: proxy-ndp
|
/linux-6.6.21/Documentation/networking/ |
D | ip-sysctl.rst | 2213 Do proxy ndp.
|