Lines Matching defs:data
147 struct ethtool_regs *regs, void *data)
151 fbnic_csr_get_regs(fbn->fbd, data, ®s->version);
342 NL_SET_ERR_MSG_MOD(extack, "Cannot disable TCP data split");
409 static void fbnic_get_rxb_enqueue_strings(u8 **data, unsigned int idx)
416 ethtool_sprintf(data, stat->string, idx);
419 static void fbnic_get_rxb_fifo_strings(u8 **data, unsigned int idx)
426 ethtool_sprintf(data, stat->string, idx);
429 static void fbnic_get_rxb_dequeue_strings(u8 **data, unsigned int idx)
436 ethtool_sprintf(data, stat->string, idx);
439 static void fbnic_get_xdp_queue_strings(u8 **data, unsigned int idx)
446 ethtool_sprintf(data, stat->string, idx);
449 static void fbnic_get_strings(struct net_device *dev, u32 sset, u8 *data)
457 ethtool_puts(&data, fbnic_gstrings_hw_stats[i].string);
460 fbnic_get_rxb_enqueue_strings(&data, i);
463 fbnic_get_rxb_fifo_strings(&data, i);
466 fbnic_get_rxb_dequeue_strings(&data, i);
472 ethtool_sprintf(&data, stat->string, idx);
476 fbnic_get_xdp_queue_strings(&data, i);
482 const void *base, int len, u64 **data)
487 **data = *(u64 *)curr;
490 (*data)++;
494 static void fbnic_get_xdp_queue_stats(struct fbnic_ring *ring, u64 **data)
500 *data += FBNIC_XDP_STATS_LEN;
505 for (i = 0; i < FBNIC_XDP_STATS_LEN; i++, stat++, (*data)++) {
508 **data = *(u64 *)p;
513 struct ethtool_stats *stats, u64 *data)
523 FBNIC_HW_FIXED_STATS_LEN, &data);
531 &data);
540 &data);
549 &data);
556 FBNIC_HW_Q_STATS_LEN, &data);
561 fbnic_get_xdp_queue_stats(fbn->tx[i + FBNIC_MAX_TXQS], &data);
614 cmd->data = FBNIC_RPC_ACT_TBL_NFC_ENTRIES;
656 cmd->data = FBNIC_RPC_ACT_TBL_NFC_ENTRIES;
837 cmd->data = fbn->num_rx_queues;
852 cmd->data |= special;
1377 cmd->data = fbn->rss_flow_hash[hash_opt_idx];
1403 if (cmd->data & ~FBNIC_L4_HASH_OPTIONS ||
1405 cmd->data & ~FBNIC_L3_HASH_OPTIONS) ||
1407 cmd->data & ~FBNIC_L2_HASH_OPTIONS))
1410 fbn->rss_flow_hash[hash_opt_idx] = cmd->data;
1687 memcpy(page_data->data, fw_cmpl->u.qsfp.data, page_data->length);