Thread (7 messages) flat view 7 messages, 3 authors, 2021-10-28

Re: [PATCH ethtool 2/2] netlink: settings: Drop port filter for MDI-X

From: Michal Kubecek <hidden>
Date: 2021-10-27 20:17:34

On Wed, Oct 27, 2021 at 09:59:23PM +0200, Michal Kubecek wrote:
How about replacing "port == PORT_TP" with

  (port == TP || mdix != ETH_TP_MDI_INVALID || mdix_ctrl != ETH_TP_MDI_INVALID)

in both code path and probably moving the check into dump_mdix()?
Looking at the code again, we cannot move the check into dump_mdix()
easily as decision if print_banner(nlctx) should be called depends on
its result.

Michal

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help