sfc: Use MCDI to set FILTER_OP_IN_TX_DOMAIN
authorShradha Shah <sshah@solarflare.com>
Tue, 5 May 2015 23:56:24 +0000 (00:56 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:16:46 +0000 (16:16 -0400)
The TX_DOMAIN field is currently reserved but its safer to set
it to 0 for future compatibility.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c

index e8450bbd292d6071b61609055df99b6fc4dc493a..ad23018616095514c8582ddad659949021875fc4 100644 (file)
@@ -2292,6 +2292,7 @@ static void efx_ef10_filter_push_prep(struct efx_nic *efx,
                       spec->dmaq_id == EFX_FILTER_RX_DMAQ_ID_DROP ?
                       MC_CMD_FILTER_OP_IN_RX_DEST_DROP :
                       MC_CMD_FILTER_OP_IN_RX_DEST_HOST);
+       MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DOMAIN, 0);
        MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DEST,
                       MC_CMD_FILTER_OP_IN_TX_DEST_DEFAULT);
        MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_QUEUE,