Re: [E1000-devel] [PATCH net 0/4] Fix checksum error when using stacked vlan

2015-01-30 Thread David Miller
From: Toshiaki Makita Date: Thu, 29 Jan 2015 20:37:06 +0900 > When I was testing 802.1ad, I found several drivers don't take into > account 802.1ad or multiple vlans when retrieving L3 (IP/IPv6) or > L4 (TCP/UDP) protocol for checksum offload. > > It is mainly due to vlan_get_protocol(), which e

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

2015-01-30 Thread Skidmore, Donald C
> -Original Message- > From: Hiroshi Shimamoto [mailto:h-shimam...@ct.jp.nec.com] > Sent: Friday, January 30, 2015 3:37 AM > To: Alexander Duyck; Skidmore, Donald C; Bjørn Mork > Cc: e1000-devel@lists.sourceforge.net; net...@vger.kernel.org; Choi, Sy > Jong; linux-ker...@vger.kernel.org; Da

Re: [E1000-devel] [patch -mainline] fm10k: drop upper bits of VLAN ID

2015-01-30 Thread Vick, Matthew
On 1/30/15, 2:50 AM, "Dan Carpenter" wrote: >On Fri, Jan 30, 2015 at 11:41:27AM +0300, Dan Carpenter wrote: >> Static checkers complain that the shifts in "(vid << 4) >> 4" perfectly >> cancel each other out and the code is a no-op. "vid" is a u16. The >> comment says that the intention here is

[E1000-devel] [PATCH 2/3] if_link: Add VF multicast promiscuous control

2015-01-30 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Add netlink directives and ndo entry to allow VF multicast promiscuous mode. The administrator wants to allow dedicatedly multicast promiscuous per VF. Signed-off-by: Hiroshi Shimamoto Reviewed-by: Hayato Momma CC: Choi, Sy Jong --- include/linux/if_link.h | 1

[E1000-devel] [PATCH 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode

2015-01-30 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Implements the new netdev op to allow VF multicast promiscuous mode. The administrator can allow to VF multicast promiscuous mode for only trusted VM. After allowing multicast promiscuous mode from the host, we can use over 30 IPv6 addresses on VM. # ./ip link set dev et

[E1000-devel] [PATCH 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2015-01-30 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto 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 si

Re: [E1000-devel] [patch -mainline] fm10k: drop upper bits of VLAN ID

2015-01-30 Thread Dan Carpenter
On Fri, Jan 30, 2015 at 11:41:27AM +0300, Dan Carpenter wrote: > Static checkers complain that the shifts in "(vid << 4) >> 4" perfectly > cancel each other out and the code is a no-op. "vid" is a u16. The > comment says that the intention here is to drop the upper bits so I have > added a cast t

[E1000-devel] [patch -mainline] fm10k: drop upper bits of VLAN ID

2015-01-30 Thread Dan Carpenter
Static checkers complain that the shifts in "(vid << 4) >> 4" perfectly cancel each other out and the code is a no-op. "vid" is a u16. The comment says that the intention here is to drop the upper bits so I have added a cast to "u16" to do that. Fixes: 401b5383c6c9 ('fm10k: Add support for confi