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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 06 Dec 2014 05:18:59 -0800
From:	Joe Perches <>
To:	Jeff Kirsher <>
	Anjali Singhai Jain <>,,,,
Subject: Re: [net-next v2 07/16] i40e: Define and use i40e_is_vf macro

On Sat, 2014-12-06 at 05:02 -0800, Jeff Kirsher wrote:
> From: Anjali Singhai Jain <>
> This patch is useful for future expansion when new VF MAC types get
> added. It helps with cleaning up VF driver flow.
> diff --git a/drivers/net/ethernet/intel/i40e/i40e_type.h b/drivers/net/ethernet/intel/i40e/i40e_type.h
> +#define i40e_is_vf(_hw)	((_hw)->mac.type == I40E_MAC_VF)
> diff --git a/drivers/net/ethernet/intel/i40evf/i40e_type.h b/drivers/net/ethernet/intel/i40evf/i40e_type.h
> +#define i40e_is_vf(_hw)	((_hw)->mac.type == I40E_MAC_VF)

These are probably better as static inline

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists