OSDN Git Service

cxgb4: Check alignment constraint for T6
authorGanesh Goudar <ganeshgr@chelsio.com>
Fri, 29 Dec 2017 07:18:04 +0000 (12:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 19:40:01 +0000 (14:40 -0500)
commit8d93ac003ff7cf49ea0669a3a92528be250179f9
tree79cc6c9d5fd375fdbe135e9a944fa22b1c1186ad
parente3485df4887ae15a8ecdd7ede5927ace31a4041e
cxgb4: Check alignment constraint for T6

Update the check for setting  IPV4 filters and align filter_id
to multiple of 2, only for IPv6 filters in case of T6.

Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c