lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 26 Sep 2012 15:49:49 +0200
From:	Ben Hutchings <bhutchings@...arflare.com>
To:	Rayagond K <rayagond@...avyalabs.com>
CC:	<netdev@...r.kernel.org>
Subject: Re: flow control handling in network driver

On Wed, 2012-09-26 at 14:48 +0530, Rayagond K wrote:
> Hi All,
> 
> What is the use of two macros SUPPORTED_Pause and SUPPORTED_Asym_Pause
> which are defined in ethtool.h file.
> 
> I have seen amny driver in lxr using above macros, for example tg3
> driver - uses these macros to advertise the phy capabilities.
> 
> Flow control is MAC feature not PHY, hence when can one use above
> macros and what is the use of it. Should we use these macros to
> implement flow control in Ethernet driver ?

Ethernet autonegotiation includes flow control as well as speed and
duplex (and some other parameters).  Any device that supports Ethernet
flow control and autonegotiation should set the supported flags
accordingly and check the advertised flags when programming the PHY for
autonegotiation.  (This is complicated a bit by the separate ethtool
commands for flow control.)

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ