cxgb4: Don't return EAGAIN when TCAM is full.
authorVishal Kulkarni <vishal@chelsio.com>
Mon, 8 Apr 2019 12:33:49 +0000 (18:03 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 17:01:50 +0000 (10:01 -0700)
commited514fc5615d7688b7c227a76863e98a92fb0d54
treee450ea562f6ca748df7bf0c628e22c03bd8fdbca
parentfcf9782573eccb6a9a79140ff221898c02923fd0
cxgb4: Don't return EAGAIN when TCAM is full.

During hash filter programming, driver needs to return ENOSPC error
intead of EAGAIN when TCAM is full.

Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c