• Justin Lai's avatar
    rtase: Implement net_device_ops · 07960048
    Justin Lai authored
    1. Implement .ndo_set_rx_mode so that the device can change address
    list filtering.
    2. Implement .ndo_set_mac_address so that mac address can be changed.
    3. Implement .ndo_change_mtu so that mtu can be changed.
    4. Implement .ndo_tx_timeout to perform related processing when the
    transmitter does not make any progress.
    5. Implement .ndo_get_stats64 to provide statistics that are called
    when the user wants to get network device usage.
    6. Implement .ndo_vlan_rx_add_vid to register VLAN ID when the device
    supports VLAN filtering.
    7. Implement .ndo_vlan_rx_kill_vid to unregister VLAN ID when the device
    supports VLAN filtering.
    8. Implement the .ndo_setup_tc to enable setting any "tc" scheduler,
    classifier or action on dev.
    9. Implement .ndo_fix_features enables adjusting requested feature flags
    based on device-specific constraints.
    10. Implement .ndo_set_features enables updating device configuration to
    new features.
    Signed-off-by: default avatarJustin Lai <justinlai0215@realtek.com>
    Link: https://patch.msgid.link/20240904032114.247117-9-justinlai0215@realtek.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    07960048
rtase_main.c 52.5 KB