Multi Channel DMA Intel® FPGA IP for PCI Express* User Guide

ID 683821
Date 7/30/2024
Public
Document Table of Contents

8.3.2.5. ethtool support

Following ethtool operations are supported by netdev kernel mode driver. Implementation added for channel management and ring management.

const struct ethtool_ops ifc_mcdma_ethtool_ops = {                              
        .get_msglevel           = ifc_mcdma_get_msglevel,                       
        .set_msglevel           = ifc_mcdma_set_msglevel,                       
        .get_drvinfo            = ifc_mcdma_get_drvinfo,                        
        .get_ts_info            = ethtool_op_get_ts_info,                       
        .get_link               = ethtool_op_get_link,                          
        .get_channels           = ifc_mcdma_get_channels,                       
        .set_channels           = ifc_mcdma_set_channels,                       
        .get_ringparam          = ifc_mcdma_get_ringparam,                      
        .set_ringparam          = ifc_mcdma_set_ringparam,                      
};