]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: Add support FEC configuration for Fortville 25G
authorDamian Dybek <damian.dybek@intel.com>
Wed, 19 Dec 2018 14:45:38 +0000 (06:45 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Jan 2019 15:38:38 +0000 (07:38 -0800)
commit1d96340196f1ee9e60eb39c828ba1186dfabe08a
treeb85ac8668c196a273a473bb47dfba294cd5b75d9
parent3647cd6eaf83d7f6145a3ccac73f5286496490d2
i40e: Add support FEC configuration for Fortville 25G

This patch adds support for setting/getting FEC configuration
using ethtool options:
       set/show-priv-flags rs-fec/base-r-fec
       set/show-fec off/rs/baser/auto for kernels version >= 4.14

Signed-off-by: Damian Dybek <damian.dybek@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c