igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
authorPrasad Koya <prasad@arista.com>
Mon, 5 Jun 2023 18:09:01 +0000 (11:09 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 5 Jul 2023 18:18:43 +0000 (11:18 -0700)
commit9ac3fc2f42e5ffa1e927dcbffb71b15fa81459e2
treed9ac6283defd488af85c93e8c0d709e4d879c2c4
parent175c241288c09f81eb7b44d65c1ef6045efa4d1a
igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings

set TP bit in the 'supported' and 'advertising' fields. i225/226 parts
only support twisted pair copper.

Fixes: 8c5ad0dae93c ("igc: Add ethtool support")
Signed-off-by: Prasad Koya <prasad@arista.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_ethtool.c