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

ID 683821
Date 4/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: tls1640130184295

Ixiasoft

Document Table of Contents

8.4.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,                      
};