ice_devlink_nvm_snapshot(9)
π NAME π
ice_devlink_nvm_snapshot β capture a snapshot of the NVM flash contents. This is the Kernel API Manual page for ice_devlink_nvm_snapshot(9), and she is literally here to grab flash contents for you, bestie. π
β¨ SYNOPSIS β¨
okay so hereβs the exact signature, no edits, no cap:
int ice_devlink_nvm_snapshot (struct devlink *devlink , const struct
devlink_region_ops *ops , struct netlink_ext_ack *extack , u8 **data );
π ARGUMENTS π
devlinkβ the devlink instance. Main character pointer energy.opsβ the devlink region to snapshot. This is the region weβre serving.extackβ extended ACK response structure.dataβ on exit points to snapshot data buffer. Yes, itβs the output bestie.
π¦ DESCRIPTION π¦
This function is called in response to a DEVLINK_CMD_REGION_NEW for either the nvm-flash or shadow-ram region.
It captures a snapshot of the NVM or Shadow RAM flash contents. This snapshot can then later be viewed via the DEVLINK_CMD_REGION_READ netlink interface. Obsessed with the whole pipeline. π
It returns zero on success, and updates the data pointer. Returns a non-zero error code on failure. So: success = zero, failure = non-zero. Thatβs the whole vibe check. π
π SEE ALSO π
the whole friend group:
- Kernel file:
./drivers/net/ethernet/intel/ice/devlink/devlink.c ice_devlink_info_get(9)ice_devlink_reload_empr_start(9)ice_devlink_reinit_down(9)ice_devlink_reload_down(9)ice_devlink_reload_empr_finish(9)ice_get_tx_topo_user_sel(9)ice_update_tx_topo_user_sel(9)ice_devlink_tx_sched_layers_get(9)ice_devlink_tx_sched_layers_set(9)ice_devlink_tx_sched_layers_validate(9)ice_tear_down_devlink_rate_tree(9)ice_enable_custom_tx(9)ice_traverse_tx_tree(9)ice_devlink_rate_init_tx_topology(9)ice_devlink_rate_clear_tx_topology(9)ice_set_object_tx_share(9)ice_set_object_tx_max(9)ice_set_object_tx_priority(9)ice_set_object_tx_weight(9)ice_get_pi_from_dev_rate(9)ice_devlink_reinit_up(9)ice_devlink_reload_up(9)ice_devlink_local_fwd_mode_to_str(9)ice_devlink_local_fwd_str_to_mode(9)ice_devlink_local_fwd_get(9)ice_devlink_local_fwd_set(9)ice_devlink_local_fwd_validate(9)ice_allocate_pf(9)ice_allocate_sf(9)ice_devlink_register(9)ice_devlink_unregister(9)ice_devlink_nvm_read(9)ice_devlink_devcaps_snapshot(9)ice_devlink_init_regions(9)ice_devlink_destroy_regions(9)
π Thatβs the page, bestie! This one came from the Kernel API Manual; source/version: ./drivers/net/ethernet/intel/i...; date: October 2026; page: ice_devlink_nvm_snapshot(9). Slay and goodbye. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms