Re: [PATCH v2 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

From: Jeff Kirsher
Date: Thu Feb 19 2015 - 23:04:18 EST


On Fri, 2015-02-20 at 00:59 +0000, Hiroshi Shimamoto wrote:
> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
>
> The limitation of the number of multicast address for VF is not enough
> for the large scale server with SR-IOV feature.
> IPv6 requires the multicast MAC address for each IP address to handle
> the Neighbor Solicitation message.
> We couldn't assign over 30 IPv6 addresses to a single VF interface.
>
> The easy way to solve this is enabling multicast promiscuous mode.
> It is good to have a functionality to enable multicast promiscuous
> mode
> for each VF from VF driver.
>
> This patch introduces the new mbox API, IXGBE_VF_SET_MC_PROMISC, to
> enable/disable multicast promiscuous mode in VF. If multicast
> promiscuous
> mode is enabled the VF can receive all multicast packets.
>
> With this patch, the ixgbevf driver automatically enable multicast
> promiscuous mode when the number of multicast addresses is over than
> 30
> if possible.
>
> This also bump the API version up to 1.2 to check whether the API,
> IXGBE_VF_SET_MC_PROMISC is available.
>
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
> Reviewed-by: Hayato Momma <h-momma@xxxxxxxxxxxxx>
> CC: Choi, Sy Jong <sy.jong.choi@xxxxxxxxx>
> ---
>
> This patchset is against Jeff's tree.
>
> cfba326 e1000e: Fix 82574/82583 TimeSync errata handling for SYSTIM
> read
>
> The tree hasn't haven the fix of the IPv6 checksum issue yet,
> but I cherry-picked the commit and tested.
>
> drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 +
> drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h | 4 ++
> drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 88
> ++++++++++++++++++++++-
> drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 13 +++-
> drivers/net/ethernet/intel/ixgbevf/mbx.h | 4 ++
> drivers/net/ethernet/intel/ixgbevf/vf.c | 28 +++++++-
> drivers/net/ethernet/intel/ixgbevf/vf.h | 1 +
> 7 files changed, 135 insertions(+), 4 deletions(-)

I have added this to my queue, thanks!

Attachment: signature.asc
Description: This is a digitally signed message part