Thread (21 messages) flat view 21 messages, 6 authors, 2017-01-19

RE: [PATCH net-next 6/9] net/mlx4_en: Adding support of turning off link autonegotiation via ethtool

From: Ariel Levkovich <hidden>
Date: 2017-01-16 23:08:13

+       MLX4_PTYS_AN_DISABLE_CAP   = 1 << 5,

It's there.

Best Regards,

Ariel Levkovich
Staff Engineer, SW
Mellanox Technologies
Beit Mellanox, Yokneam, P.O.Box 586, Israel 20692 
Office: +972-74723-7652, Mobile: +972-52-3947-704 
www.mellanox.com 
Follow us on Facebook and Twitter
-----Original Message-----
From: Or Gerlitz [mailto:gerlitz.or@gmail.com]
Sent: Monday, January 16, 2017 4:48 PM
To: Tariq Toukan <redacted>; Ariel Levkovich
[off-list ref]
Cc: David S. Miller <davem@davemloft.net>; Linux Netdev List
[off-list ref]; Eran Ben Elisha [off-list ref]
Subject: Re: [PATCH net-next 6/9] net/mlx4_en: Adding support of turning
off link autonegotiation via ethtool

On Mon, Jan 16, 2017 at 7:30 PM, Tariq Toukan [off-list ref]
wrote:
0644
quoted
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -1539,8 +1539,13 @@ enum mlx4_ptys_proto {
        MLX4_PTYS_EN = 1<<2,
 };

+enum mlx4_ptys_flags {
+       MLX4_PTYS_AN_DISABLE_CAP   = 1 << 5,
+       MLX4_PTYS_AN_DISABLE_ADMIN = 1 << 6, };
+
 struct mlx4_ptys_reg {
-       u8 resrvd1;
+       u8 flags;
        u8 local_port;
        u8 resrvd2;
        u8 proto_mask;
Hi Ariel,

I didn't see any new dev cap bit, what happens with FW version which don't
support this, is the result well defined? what is it?

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